Simplyfing layout

This commit is contained in:
Dennis Eichhorn 2016-05-17 20:14:04 +02:00
parent 7a0d6c887a
commit 447e3b5926
4 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ $footerView->setPages(20);
$footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['News']['Archive'] ?></caption>
<thead>
@ -42,4 +42,4 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="4" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
</div>

View File

@ -44,7 +44,7 @@ echo $this->getData('nav')->render(); ?>
</div>
</section>
<section class="box w-100">
<div class="box w-100">
<div class="tabular">
<ul class="tab-links">
<li><label for="c-tab-1"><?= $this->l11n->lang['News']['Plain'] ?></label>
@ -62,7 +62,7 @@ echo $this->getData('nav')->render(); ?>
</div>
</div>
</div>
</section>
</div>
</section>
<section class="wf-25 floatLeft">
<section class="box w-100">

View File

@ -21,7 +21,7 @@ $newsList = $this->getData('news');
echo $this->getData('nav')->render(); ?>
<section class="box w-100 floatLeft">
<div class="box w-100 floatLeft">
<table class="table">
<caption><?= $this->l11n->lang['News']['News'] ?></caption>
<thead>
@ -50,4 +50,4 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="3" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
</div>

View File

@ -22,7 +22,7 @@ $news = $this->getData('news');
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<h1><?= $news->getTitle(); ?></h1>
<header><h1><?= $news->getTitle(); ?></h1></header>
<div class="inner">
<article>
<?= $news->getContent(); ?>