diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/products/bestbefore.html | 8 | ||||
-rw-r--r-- | templates/products/index.html | 2 |
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> |