mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-02-18 17:38:42 +00:00
More flexbox implementations
This commit is contained in:
parent
cd036ca540
commit
d0b0b614a2
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
Loading…
Reference in New Issue
Block a user