Item template adjustments

This commit is contained in:
Dennis Eichhorn 2017-03-15 19:47:42 +01:00
parent df4d8ba3c6
commit 282dbe7770
2 changed files with 240 additions and 207 deletions

View File

@ -24,15 +24,18 @@ echo $this->getData('nav')->render(); ?>
<ul class="tab-links">
<li><label for="c-tab-1"><?= $this->getText('Invoice') ?></label></li>
<li><label for="c-tab-2"><?= $this->getText('Items') ?></label></li>
<li><label for="c-tab-3"><?= $this->getText('Payment') ?></label></li>
<li><label for="c-tab-4"><?= $this->getText('Media') ?></label></li>
<li><label for="c-tab-5"><?= $this->getText('Logs') ?></label></li>
<li><label for="c-tab-3">Preview</label></li>
<li><label for="c-tab-4"><?= $this->getText('Payment') ?></label></li>
<li><label for="c-tab-5"><?= $this->getText('Media') ?></label></li>
<li><label for="c-tab-6"><?= $this->getText('Logs') ?></label></li>
</ul>
</div>
<div class="tab-content">
<input type="radio" id="c-tab-1" name="tabular-2" checked>
<div class="tab">
<section class="box w-50 floatLeft">
<div class="row">
<div class="col-xs-12 col-md-6 col-lg-4">
<section class="box wf-100">
<header><h1><?= $this->getText('Invoice') ?></h1></header>
<div class="inner">
<form>
@ -68,8 +71,10 @@ echo $this->getData('nav')->render(); ?>
</form>
</div>
</section>
</div>
<section class="box w-50 floatLeft">
<div class="col-xs-12 col-md-6 col-lg-4">
<section class="box wf-100">
<header><h1><?= $this->getText('Invoice') ?></h1></header>
<div class="inner">
<form>
@ -92,8 +97,10 @@ echo $this->getData('nav')->render(); ?>
</form>
</div>
</section>
</div>
<section class="box w-50 floatLeft">
<div class="col-xs-12 col-md-6 col-lg-4">
<section class="box wf-100">
<header><h1><?= $this->getText('Delivery') ?></h1></header>
<div class="inner">
<form>
@ -117,9 +124,13 @@ echo $this->getData('nav')->render(); ?>
</div>
</section>
</div>
</div>
</div>
<input type="radio" id="c-tab-2" name="tabular-2">
<div class="tab">
<div class="box w-100">
<div class="row">
<div class="col-xs-12">
<div class="box wf-100">
<table class="table">
<caption><?= $this->getText('Invoice') ?></caption>
<thead>
@ -156,9 +167,16 @@ echo $this->getData('nav')->render(); ?>
</table>
</div>
</div>
</div>
</div>
<input type="radio" id="c-tab-3" name="tabular-2">
<div class="tab">
<section class="box w-50 floatLeft">
</div>
<input type="radio" id="c-tab-4" name="tabular-2">
<div class="tab">
<div class="row">
<div class="col-xs-12 col-md-6 col-lg-4">
<section class="box wf-100">
<header><h1><?= $this->getText('Payment') ?></h1></header>
<div class="inner">
<form>
@ -191,9 +209,13 @@ echo $this->getData('nav')->render(); ?>
</div>
</section>
</div>
<input type="radio" id="c-tab-4" name="tabular-2">
</div>
</div>
<input type="radio" id="c-tab-5" name="tabular-2">
<div class="tab">
<section class="box w-50 floatLeft">
<div class="row">
<div class="col-xs-12 col-md-6 col-lg-4">
<section class="box wf-100">
<header><h1><?= $this->getText('Media'); ?></h1></header>
<div class="inner">
@ -209,7 +231,9 @@ echo $this->getData('nav')->render(); ?>
</div>
</section>
</div>
<input type="radio" id="c-tab-5" name="tabular-2">
</div>
</div>
<input type="radio" id="c-tab-6" name="tabular-2">
<div class="tab">
<?php
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
@ -217,7 +241,9 @@ echo $this->getData('nav')->render(); ?>
$footerView->setPages(20);
$footerView->setPage(1);
?>
<div class="box w-100">
<div class="row">
<div class="col-xs-12">
<div class="box wf-100">
<table class="table">
<caption><?= $this->getText('Logs') ?></caption>
<thead>
@ -242,4 +268,6 @@ echo $this->getData('nav')->render(); ?>
</div>
</div>
</div>
</div>
</div>

View File

@ -21,7 +21,9 @@ $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('Invoices') ?></caption>
<thead>
@ -45,3 +47,6 @@ echo $this->getData('nav')->render(); ?>
<?php endif; ?>
</table>
</div>
</div>
</div>