diff options
Diffstat (limited to 'data/templates/products/bestbefore.html')
-rw-r--r-- | data/templates/products/bestbefore.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/data/templates/products/bestbefore.html b/data/templates/products/bestbefore.html new file mode 100644 index 0000000..b5451a4 --- /dev/null +++ b/data/templates/products/bestbefore.html @@ -0,0 +1,14 @@ +<table id="producttable" class="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> + +<script type="text/javascript"> +$(document).ready(function() { + $('#producttable').DataTable({"lengthMenu": [ [25, 50, 100, -1], [25, 50, 100, "All"] ] }); +} ); +</script> |