More flexbox implementations

This commit is contained in:
Dennis Eichhorn 2017-01-29 12:35:25 +01:00
parent cd036ca540
commit d0b0b614a2
4 changed files with 117 additions and 102 deletions

View File

@ -23,7 +23,10 @@ $footerView->setPages(20);
$footerView->setPage(1);
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">
<caption><?= $this->getText('Archive') ?></caption>
<thead>
@ -42,4 +45,6 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="4" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>
</div>
</div>

View File

@ -18,11 +18,13 @@
*/
echo $this->getData('nav')->render(); ?>
<section class="wf-75 floatLeft">
<div class="row">
<div class="col-xs-12 col-md-9">
<?php include __DIR__ . '/../../../Editor/Theme/Backend/editor.tpl.php'; ?>
</section>
<section class="wf-25 floatLeft">
<section class="box w-100">
</div>
<div class="col-xs-12 col-md-3">
<section class="box wf-100">
<div class="inner">
<form id="docForm" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/news?csrf={$CSRF}'); ?>">
<table class="layout wf-100">
@ -37,7 +39,7 @@ echo $this->getData('nav')->render(); ?>
</form>
</div>
</section>
<section class="box w-100">
<section class="box wf-100">
<div class="inner">
<table class="layout wf-100">
<tr><td colspan="2"><label><?= $this->getText('Type') ?></label>
@ -47,7 +49,7 @@ echo $this->getData('nav')->render(); ?>
</table>
</div>
</section>
<section class="box w-100">
<section class="box wf-100">
<div class="inner">
<table class="layout wf-100">
<tr><td><label for="permission"><?= $this->getText('Permissions') ?></label>
@ -56,7 +58,7 @@ echo $this->getData('nav')->render(); ?>
</table>
</div>
</section>
<section class="box w-100">
<section class="box wf-100">
<div class="inner">
<table class="layout wf-100">
<tr><td colspan="2"><label for="groups"><?= $this->getText('Groups') ?></label>
@ -65,4 +67,5 @@ echo $this->getData('nav')->render(); ?>
</table>
</div>
</section>
</section>
</div>
</div>

View File

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

View File

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