Simplyfing layout

This commit is contained in:
Dennis Eichhorn 2016-05-17 20:14:04 +02:00
parent 35f63b7f6f
commit 5ac5547b3d
4 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-50 floatLeft">
<h1><?= $this->l11n->lang['Tasks']['Account']; ?></h1>
<header><h1><?= $this->l11n->lang['Tasks']['Account']; ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
@ -36,7 +36,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-50 floatLeft">
<h1><?= $this->l11n->lang['Tasks']['Statistics']; ?></h1>
<header><h1><?= $this->l11n->lang['Tasks']['Statistics']; ?></h1></header>
<div class="inner">
<table class="list wf-100">
<tr><td><?= $this->l11n->lang['Tasks']['Received']; ?><td>0

View File

@ -19,7 +19,7 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-50 floatLeft">
<h1><?= $this->l11n->lang['Tasks']['Task']; ?></h1>
<header><h1><?= $this->l11n->lang['Tasks']['Task']; ?></h1></header>
<div class="inner">
<form id="fTask" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/task/create'); ?>">
@ -42,7 +42,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-50 floatLeft">
<h1><?= $this->l11n->lang['Tasks']['Media']; ?></h1>
<header><h1><?= $this->l11n->lang['Tasks']['Media']; ?></h1></header>
<div class="inner">
<form>

View File

@ -20,7 +20,7 @@
$tasks = $this->getData('tasks');
echo $this->getData('nav')->render(); ?>
<section class="box w-75 floatLeft">
<div class="box w-75 floatLeft">
<table class="table">
<caption><?= $this->l11n->lang['Tasks']['Tasks']; ?></caption>
<thead>
@ -49,11 +49,11 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="6" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
</div>
<section class="w-25 floatLeft">
<section class="box w-100">
<h1><?= $this->l11n->lang['Tasks']['Settings']; ?></h1>
<header><h1><?= $this->l11n->lang['Tasks']['Settings']; ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
@ -71,7 +71,7 @@ echo $this->getData('nav')->render(); ?>
</section>
<section class="box w-100">
<h1><?= $this->l11n->lang['Tasks']['Settings']; ?></h1>
<header><h1><?= $this->l11n->lang['Tasks']['Settings']; ?></h1></header>
<div class="inner">
<table class="list">
<tr><th><?= $this->l11n->lang['Tasks']['Received']; ?><td>0

View File

@ -24,7 +24,7 @@ $cElements = count($elements);
echo $this->getData('nav')->render(); ?>
<section class="box w-50">
<h1><?= $task->getTitle(); ?></h1>
<header><h1><?= $task->getTitle(); ?></h1></header>
<div class="inner">
<div class="floatRight">Due <?= $task->getDue()->format('Y-m-d H:i'); ?></div>
<div>Created <?= $task->getCreatedAt()->format('Y-m-d H:i'); ?></div>