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>
@ -50,4 +52,6 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5" class="empty"><?= $this->getText('Empty', 0, 0); ?> <tr><td colspan="5" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div>
</div>
</div> </div>

View File

@ -20,12 +20,15 @@
$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>
<?= $news->getContent(); ?> <?= $news->getContent(); ?>
</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>
@ -42,4 +45,6 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="4" class="empty"><?= $this->getText('Empty', 0, 0); ?> <tr><td colspan="4" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div>
</div>
</div> </div>