diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-10-02 01:05:51 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-10-02 01:05:51 +0200 |
commit | 186049b3ed33f025eeb87eb34c19a28e1d5ba70a (patch) | |
tree | 5d892564001404fe979e18eac0e65dfcad65ed5e /templates/products/entry.html | |
parent | 9713c98dbceb54d8d00c186ba8f41f3a5befcfd1 (diff) | |
download | serial-barcode-scanner-186049b3ed33f025eeb87eb34c19a28e1d5ba70a.tar.bz2 |
restructure code, switch from GTK to Web based UI
- move barcode generation scripts into generation/
- move code to src/
- remove database analysis from invoice/graph
- put database creation sql files into sql/
- remove glade builder file
- add new templates/ directory, which contains files
used by the Web-UI
Diffstat (limited to 'templates/products/entry.html')
-rw-r--r-- | templates/products/entry.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/products/entry.html b/templates/products/entry.html new file mode 100644 index 0000000..e6f4f38 --- /dev/null +++ b/templates/products/entry.html @@ -0,0 +1,28 @@ +<h2>Product Information</h2> +<p> + <table class="table table-bordered table-nonfluid"> + <th>EAN</th><td>{{{EAN}}}</td></tr> + <th>Name</th><td>{{{NAME}}}</td></tr> + <th>Amount</th><td>{{{AMOUNT}}}</td></tr> + </table> +</p></p> + +<h2>Price History</h2> +<table class="table table-bordered table-nonfluid"> + <tr><th>Valid Since</th><th>Memberprice</th><th>Guestprice</th></tr> + {{{PRICES}}} +</table> + +<h2>Restock</h2> +<table class="table table-bordered table-nonfluid"> + <tr><th>Date</th><th>Amount</th><th>Unit Price</th></tr> + {{{RESTOCKS}}} +</table> + +<div id="restock" style="display: {{{RESTOCK}}};"> + <form action="/products/{{{EAN}}}/restock" class="form-horizontal"> + <input class="input-small" name="amount" type="number" min="1" placeholder="Amount" /> + <input class="input-small" name="price" type="number" min="1" placeholder="Price" /> + <button type="submit" class="btn btn-primary"><i class="icon-plus"></i></button> + </form> +</div> |