Start implementing flexbox grid

This commit is contained in:
Dennis Eichhorn 2017-01-28 13:57:23 +01:00
parent 4a20dc931c
commit bad9ece211
2 changed files with 132 additions and 124 deletions

View File

@ -20,7 +20,9 @@
$tasks = $this->getData('tasks');
echo $this->getData('nav')->render(); ?>
<div class="box w-75 floatLeft">
<div class="row">
<div class="col-xs-12 col-md-9">
<div class="box">
<table class="table">
<caption><?= $this->getText('Tasks'); ?></caption>
<thead>
@ -49,10 +51,11 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="6" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>
</div>
</div>
<section class="w-25 floatLeft">
<section class="box w-100">
<div class="col-xs-12 col-md-3">
<section class="box wf-100">
<header><h1><?= $this->getText('Settings'); ?></h1></header>
<div class="inner">
<form>
@ -70,7 +73,7 @@ echo $this->getData('nav')->render(); ?>
</div>
</section>
<section class="box w-100">
<section class="box wf-100">
<header><h1><?= $this->getText('Settings'); ?></h1></header>
<div class="inner">
<table class="list">
@ -83,4 +86,5 @@ echo $this->getData('nav')->render(); ?>
</table>
</div>
</section>
</section>
</div>
</div>

View File

@ -20,7 +20,9 @@
$tasks = $this->getData('tasks');
echo $this->getData('nav')->render(); ?>
<div class="box w-75 floatLeft">
<div class="row">
<div class="col-xs-12 col-md-9">
<div class="box">
<table class="table">
<caption><?= $this->getText('Tasks'); ?></caption>
<thead>
@ -49,10 +51,11 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="6" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>
</div>
</div>
<section class="w-25 floatLeft">
<section class="box w-100">
<div class="col-xs-12 col-md-3">
<section class="box wf-100">
<header><h1><?= $this->getText('Settings'); ?></h1></header>
<div class="inner">
<form>
@ -70,7 +73,7 @@ echo $this->getData('nav')->render(); ?>
</div>
</section>
<section class="box w-100">
<section class="box wf-100">
<header><h1><?= $this->getText('Settings'); ?></h1></header>
<div class="inner">
<table class="list">
@ -83,4 +86,5 @@ echo $this->getData('nav')->render(); ?>
</table>
</div>
</section>
</section>
</div>
</div>