summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/products/entry.html1
-rw-r--r--templates/products/index.html5
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>