Organization tpl flexbox integration

This commit is contained in:
Dennis Eichhorn 2017-01-29 10:29:35 +01:00
parent 2de2b27a1c
commit c1cbc56c9c
8 changed files with 197 additions and 165 deletions

View File

@ -19,7 +19,9 @@
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-33"> <div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getText('Department'); ?></h1></header> <header><h1><?= $this->getText('Department'); ?></h1></header>
<div class="inner"> <div class="inner">
<form id="fDepartmentCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/base}{/rootPath}{/lang}/api/organization/department'); ?>"> <form id="fDepartmentCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/base}{/rootPath}{/lang}/api/organization/department'); ?>">
@ -38,3 +40,5 @@ echo $this->getData('nav')->render(); ?>
</form> </form>
</div> </div>
</section> </section>
</div>
</div>

View File

@ -26,7 +26,9 @@ $footerView->setResults(1);
echo $this->getData('nav')->render(); ?> 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"> <table class="table">
<caption><?= $this->getText('Departments'); ?></caption> <caption><?= $this->getText('Departments'); ?></caption>
<thead> <thead>
@ -52,3 +54,5 @@ echo $this->getData('nav')->render(); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div> </div>
</div>
</div>

View File

@ -21,7 +21,9 @@ $department = $this->getData('department');
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-33"> <div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getText('Department'); ?></h1></header> <header><h1><?= $this->getText('Department'); ?></h1></header>
<div class="inner"> <div class="inner">
<form> <form>
@ -42,3 +44,5 @@ echo $this->getData('nav')->render(); ?>
</form> </form>
</div> </div>
</section> </section>
</div>
</div>

View File

@ -19,7 +19,9 @@
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-33"> <div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getText('Position'); ?></h1></header> <header><h1><?= $this->getText('Position'); ?></h1></header>
<div class="inner"> <div class="inner">
<form id="fPositionCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/base}{/rootPath}{/lang}/api/organization/position'); ?>"> <form id="fPositionCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/base}{/rootPath}{/lang}/api/organization/position'); ?>">
@ -40,3 +42,5 @@ echo $this->getData('nav')->render(); ?>
</form> </form>
</div> </div>
</section> </section>
</div>
</div>

View File

@ -28,7 +28,9 @@ $listElements = $this->getData('list:elements') ?? [];
echo $this->getData('nav')->render(); ?> 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"> <table class="table">
<caption><?= $this->getText('Positions'); ?></caption> <caption><?= $this->getText('Positions'); ?></caption>
<thead> <thead>
@ -51,3 +53,5 @@ echo $this->getData('nav')->render(); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div> </div>
</div>
</div>

View File

@ -19,7 +19,9 @@
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-33"> <div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getText('Unit'); ?></h1></header> <header><h1><?= $this->getText('Unit'); ?></h1></header>
<div class="inner"> <div class="inner">
<form id="fUnitCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/base}{/rootPath}{/lang}/api/organization/unit'); ?>"> <form id="fUnitCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/base}{/rootPath}{/lang}/api/organization/unit'); ?>">
@ -40,3 +42,5 @@ echo $this->getData('nav')->render(); ?>
</form> </form>
</div> </div>
</section> </section>
</div>
</div>

View File

@ -26,7 +26,9 @@ $footerView->setResults(1);
echo $this->getData('nav')->render(); ?> 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"> <table class="table">
<caption><?= $this->getText('Units'); ?></caption> <caption><?= $this->getText('Units'); ?></caption>
<thead> <thead>
@ -46,3 +48,5 @@ echo $this->getData('nav')->render(); ?>
<?php endforeach; ?> <?php endforeach; ?>
</table> </table>
</div> </div>
</div>
</div>

View File

@ -21,7 +21,9 @@ $unit = $this->getData('unit');
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-33"> <div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getText('Unit'); ?></h1></header> <header><h1><?= $this->getText('Unit'); ?></h1></header>
<div class="inner"> <div class="inner">
<form> <form>
@ -42,3 +44,5 @@ echo $this->getData('nav')->render(); ?>
</form> </form>
</div> </div>
</section> </section>
</div>
</div>