More flexbox implementations

This commit is contained in:
Dennis Eichhorn 2017-01-29 12:35:33 +01:00
parent d0b0b614a2
commit bb791ee8c4
3 changed files with 68 additions and 56 deletions

View File

@ -21,7 +21,9 @@ $newsList = $this->getData('news');
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<div class="box w-100 floatLeft"> <div class="row">
<div class="col-xs-12">
<div class="box wf-100">
<table class="table"> <table class="table">
<caption><?= $this->getText('News') ?></caption> <caption><?= $this->getText('News') ?></caption>
<thead> <thead>
@ -51,3 +53,5 @@ echo $this->getData('nav')->render(); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div> </div>
</div>
</div>

View File

@ -20,8 +20,9 @@
$news = $this->getData('news'); $news = $this->getData('news');
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<div class="row">
<section class="box w-100"> <div class="col-xs-12">
<section class="box wf-100">
<header><h1><?= $news->getTitle(); ?></h1></header> <header><h1><?= $news->getTitle(); ?></h1></header>
<div class="inner"> <div class="inner">
<article> <article>
@ -29,3 +30,5 @@ echo $this->getData('nav')->render(); ?>
</article> </article>
</div> </div>
</section> </section>
</div>
</div>

View File

@ -23,7 +23,10 @@ $footerView->setPages(20);
$footerView->setPage(1); $footerView->setPage(1);
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<div class="row">
<div class="col-xs-12">
<div class="box wf-100">
<table class="table"> <table class="table">
<caption><?= $this->getText('Archive') ?></caption> <caption><?= $this->getText('Archive') ?></caption>
<thead> <thead>
@ -43,3 +46,5 @@ echo $this->getData('nav')->render(); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div> </div>
</div>
</div>