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"> <ul class="tab-links">
<li><label for="c-tab-1"><?= $this->getText('Invoice') ?></label></li> <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-2"><?= $this->getText('Items') ?></label></li>
<li><label for="c-tab-3"><?= $this->getText('Payment') ?></label></li> <li><label for="c-tab-3">Preview</label></li>
<li><label for="c-tab-4"><?= $this->getText('Media') ?></label></li> <li><label for="c-tab-4"><?= $this->getText('Payment') ?></label></li>
<li><label for="c-tab-5"><?= $this->getText('Logs') ?></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> </ul>
</div> </div>
<div class="tab-content"> <div class="tab-content">
<input type="radio" id="c-tab-1" name="tabular-2" checked> <input type="radio" id="c-tab-1" name="tabular-2" checked>
<div class="tab"> <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> <header><h1><?= $this->getText('Invoice') ?></h1></header>
<div class="inner"> <div class="inner">
<form> <form>
@ -68,8 +71,10 @@ echo $this->getData('nav')->render(); ?>
</form> </form>
</div> </div>
</section> </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> <header><h1><?= $this->getText('Invoice') ?></h1></header>
<div class="inner"> <div class="inner">
<form> <form>
@ -92,8 +97,10 @@ echo $this->getData('nav')->render(); ?>
</form> </form>
</div> </div>
</section> </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> <header><h1><?= $this->getText('Delivery') ?></h1></header>
<div class="inner"> <div class="inner">
<form> <form>
@ -117,9 +124,13 @@ echo $this->getData('nav')->render(); ?>
</div> </div>
</section> </section>
</div> </div>
</div>
</div>
<input type="radio" id="c-tab-2" name="tabular-2"> <input type="radio" id="c-tab-2" name="tabular-2">
<div class="tab"> <div class="tab">
<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('Invoice') ?></caption> <caption><?= $this->getText('Invoice') ?></caption>
<thead> <thead>
@ -156,9 +167,16 @@ echo $this->getData('nav')->render(); ?>
</table> </table>
</div> </div>
</div> </div>
</div>
</div>
<input type="radio" id="c-tab-3" name="tabular-2"> <input type="radio" id="c-tab-3" name="tabular-2">
<div class="tab"> <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> <header><h1><?= $this->getText('Payment') ?></h1></header>
<div class="inner"> <div class="inner">
<form> <form>
@ -191,9 +209,13 @@ echo $this->getData('nav')->render(); ?>
</div> </div>
</section> </section>
</div> </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"> <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> <header><h1><?= $this->getText('Media'); ?></h1></header>
<div class="inner"> <div class="inner">
@ -209,7 +231,9 @@ echo $this->getData('nav')->render(); ?>
</div> </div>
</section> </section>
</div> </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"> <div class="tab">
<?php <?php
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); $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->setPages(20);
$footerView->setPage(1); $footerView->setPage(1);
?> ?>
<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('Logs') ?></caption> <caption><?= $this->getText('Logs') ?></caption>
<thead> <thead>
@ -241,5 +267,7 @@ echo $this->getData('nav')->render(); ?>
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
</div> </div>

View File

@ -21,7 +21,9 @@ $footerView->setPage(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('Invoices') ?></caption> <caption><?= $this->getText('Invoices') ?></caption>
<thead> <thead>
@ -44,4 +46,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?> <tr><td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div>
</div>
</div> </div>