More flexbox implementations

This commit is contained in:
Dennis Eichhorn 2017-01-29 19:59:42 +01:00
parent 4acfadca92
commit 96cd2fa136
4 changed files with 104 additions and 88 deletions

View File

@ -19,7 +19,9 @@
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-50"> <div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getText('Promotion') ?></h1></header> <header><h1><?= $this->getText('Promotion') ?></h1></header>
<div class="inner"> <div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/reporter/template'); ?>" method="post"> <form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/reporter/template'); ?>" method="post">
@ -41,4 +43,6 @@ echo $this->getData('nav')->render(); ?>
</table> </table>
</form> </form>
</div> </div>
</section> </section>
</div>
</div>

View File

@ -21,7 +21,9 @@ $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('Events') ?></caption> <caption><?= $this->getText('Events') ?></caption>
<thead> <thead>
@ -43,4 +45,6 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="7" class="empty"><?= $this->getText('Empty', 0, 0); ?> <tr><td colspan="7" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div>
</div>
</div> </div>

View File

@ -19,7 +19,9 @@
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-50"> <div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getText('Event') ?></h1></header> <header><h1><?= $this->getText('Event') ?></h1></header>
<div class="inner"> <div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/reporter/template'); ?>" method="post"> <form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/reporter/template'); ?>" method="post">
@ -38,4 +40,6 @@ echo $this->getData('nav')->render(); ?>
</table> </table>
</form> </form>
</div> </div>
</section> </section>
</div>
</div>

View File

@ -21,7 +21,9 @@ $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('Events') ?></caption> <caption><?= $this->getText('Events') ?></caption>
<thead> <thead>
@ -45,4 +47,6 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="9" class="empty"><?= $this->getText('Empty', 0, 0); ?> <tr><td colspan="9" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div>
</div>
</div> </div>