summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2015-09-15 00:42:50 +0200
committerSebastian Reichel <sre@ring0.de>2015-09-15 00:42:50 +0200
commit025fcee561ef9e94580ddf6652bfd1437c3f2524 (patch)
tree53c762edff27872ef13558c19c09d1cf9989fd17 /templates
parent1ea4fdf8072d6be99a13cc796c9775c05f8c9498 (diff)
downloadserial-barcode-scanner-025fcee561ef9e94580ddf6652bfd1437c3f2524.tar.bz2
web: new product list sorted by best before date
Diffstat (limited to 'templates')
-rw-r--r--templates/products/bestbefore.html8
-rw-r--r--templates/products/index.html2
2 files changed, 10 insertions, 0 deletions
diff --git a/templates/products/bestbefore.html b/templates/products/bestbefore.html
new file mode 100644
index 0000000..dbc7f47
--- /dev/null
+++ b/templates/products/bestbefore.html
@@ -0,0 +1,8 @@
+<table class="sortable table table-bordered table-striped table-condensed">
+ <thead>
+ <tr><th>EAN</th></th><th>Name</th><th>Amount</th><th>Best Before Date</th></tr>
+ </thead>
+ <tbody>
+ {{{DATA}}}
+ </tbody>
+</table>
diff --git a/templates/products/index.html b/templates/products/index.html
index 0035f7e..4f9bed3 100644
--- a/templates/products/index.html
+++ b/templates/products/index.html
@@ -1,3 +1,5 @@
+<a href="/products/bestbefore">product list with best before dates</a>
+
<table class="sortable table table-bordered table-striped table-condensed">
<thead>
<tr><th>EAN</th></th><th>Name</th><th>Amount</th><th>Memberprice</th><th>Guestprice</th></tr>