Admin tpl flexbox implementation

This commit is contained in:
Dennis Eichhorn 2017-01-28 19:56:03 +01:00
parent 4510dc4a9a
commit b4e1fcdb27
4 changed files with 194 additions and 176 deletions

View File

@ -32,7 +32,9 @@ $details = '* Uri: `' . trim($log['path']) . "`\n"
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-100"> <div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getText('Logs'); ?></h1></header> <header><h1><?= $this->getText('Logs'); ?></h1></header>
<div class="inner"> <div class="inner">
@ -89,3 +91,5 @@ echo $this->getData('nav')->render(); ?>
</table> </table>
</div> </div>
</section> </section>
</div>
</div>

View File

@ -18,7 +18,9 @@ $penetrators = $this->app->logger->getHighestPerpetrator();
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-33 floatLeft"> <div class="row">
<div class="col-xs-12 col-md-4">
<section class="box wf-100">
<header><h1><?= $this->getText('System') ?></h1></header> <header><h1><?= $this->getText('System') ?></h1></header>
<div class="inner"> <div class="inner">
<table class="list wf-100"> <table class="list wf-100">
@ -33,8 +35,10 @@ echo $this->getData('nav')->render(); ?>
</table> </table>
</div> </div>
</section> </section>
</div>
<section class="box w-33 floatLeft"> <div class="col-xs-12 col-md-4">
<section class="box wf-100">
<header><h1><?= $this->getText('Logs') ?></h1></header> <header><h1><?= $this->getText('Logs') ?></h1></header>
<div class="inner"> <div class="inner">
<table class="list wf-100"> <table class="list wf-100">
@ -51,8 +55,10 @@ echo $this->getData('nav')->render(); ?>
</table> </table>
</div> </div>
</section> </section>
</div>
<section class="box w-33 floatLeft"> <div class="col-xs-12 col-md-4">
<section class="box wf-100">
<header><h1><?= $this->getText('Penetrators') ?></h1></header> <header><h1><?= $this->getText('Penetrators') ?></h1></header>
<div class="inner"> <div class="inner">
<table class="list wf-100"> <table class="list wf-100">
@ -63,3 +69,5 @@ echo $this->getData('nav')->render(); ?>
</table> </table>
</div> </div>
</section> </section>
</div>
</div>

View File

@ -32,7 +32,9 @@ $details = '* Uri: `' . trim($log['path']) . "`\n"
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-100"> <div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getText('Logs'); ?></h1></header> <header><h1><?= $this->getText('Logs'); ?></h1></header>
<div class="inner"> <div class="inner">
@ -89,3 +91,5 @@ echo $this->getData('nav')->render(); ?>
</table> </table>
</div> </div>
</section> </section>
</div>
</div>

View File

@ -28,7 +28,8 @@ $logs = array_reverse($this->app->logger->get(25), true);
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<div class="box w-100"> <div class="row">
<div class="box col-xs-12 wf-100">
<table class="table"> <table class="table">
<caption><?= $this->getText('Logs'); ?></caption> <caption><?= $this->getText('Logs'); ?></caption>
<thead> <thead>
@ -55,3 +56,4 @@ echo $this->getData('nav')->render(); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div> </div>
</div>