More flexbox implementations

This commit is contained in:
Dennis Eichhorn 2017-01-29 12:35:25 +01:00
parent 1552b4bb51
commit 1dfb1d2b70
3 changed files with 77 additions and 64 deletions

View File

@ -18,7 +18,9 @@
*/
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('Upload'); ?></h1></header>
<div class="inner">
<form method="POST" id="media-uploader" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/media'); ?>">
@ -31,4 +33,6 @@ echo $this->getData('nav')->render(); ?>
</table>
</form>
</div>
</section>
</section>
</div>
</div>

View File

@ -24,7 +24,10 @@ $footerView->setPages(count($media) / 25);
$footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<div class="box">
<div class="row">
<div class="col-xs-12">
<div class="box wf-100">
<table class="table">
<caption><?= $this->getText('Media'); ?></caption>
<thead>
@ -51,4 +54,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

@ -23,7 +23,9 @@ $media = $this->getData('media');
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><?= $media->getName() ?></h1></header>
<div class="inner">
<table class="list w-100">
@ -48,4 +50,6 @@ echo $this->getData('nav')->render();
</pre>
<?php endif; ?>
</div>
</section>
</section>
</div>
</div>