diff options
author | Sebastian Reichel <sre@ring0.de> | 2015-10-28 05:16:52 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2015-10-28 05:44:43 +0100 |
commit | dbcace5e7de23a48e8686171c7a412a950acc764 (patch) | |
tree | 4fe561f643f5b405c0621123b053590305363106 /templates | |
parent | a98e611b8a2e86255a5e4cf971260a1d93326b7d (diff) | |
download | serial-barcode-scanner-dbcace5e7de23a48e8686171c7a412a950acc764.tar.bz2 |
add product category
Diffstat (limited to 'templates')
-rw-r--r-- | templates/products/entry.html | 1 | ||||
-rw-r--r-- | templates/products/index.html | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/templates/products/entry.html b/templates/products/entry.html index 80c1535..83d98b8 100644 --- a/templates/products/entry.html +++ b/templates/products/entry.html @@ -3,6 +3,7 @@ <table class="table table-bordered table-nonfluid"> <th>EAN</th><td>{{{EAN}}}</td></tr> <th>Name</th><td>{{{NAME}}}</td></tr> + <th>Category</th><td>{{{CATEGORY}}}</td></tr> <th>Amount</th><td>{{{AMOUNT}}}</td></tr> <th>State</th><td><button id="statebutton" type="button" class="btn {{{BTNSTATE}}}" {{{ISADMIN2}}}>{{{STATE}}}</button></td></tr> </table> diff --git a/templates/products/index.html b/templates/products/index.html index 4f9bed3..d80adbd 100644 --- a/templates/products/index.html +++ b/templates/products/index.html @@ -2,7 +2,7 @@ <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> + <tr><th>EAN</th></th><th>Name</th><th>Category</th><th>Amount</th><th>Memberprice</th><th>Guestprice</th></tr> </thead> <tbody> {{{DATA}}} @@ -14,6 +14,9 @@ <legend>New Product</legend> <input class="input-medium" name="id" type="number" min="0" placeholder="EAN" /> <input class="input-medium" name="name" type="text" placeholder="Name" /> + <select name="category" title="Category"> + {{{CATEGORIES}}} + </select> <input class="input-medium" name="memberprice" type="number" step="0.01" min="0.01" placeholder="Memberprice" /> <input class="input-medium" name="guestprice" type="number" step="0.01" min="0.01" placeholder="Guestprice" /> <button type="submit" class="btn btn-primary"><i class="icon-plus"></i></button> |