diff options
author | Holger Cremer <HolgerCremer@gmail.com> | 2018-07-17 20:58:45 +0200 |
---|---|---|
committer | Holger Cremer <HolgerCremer@gmail.com> | 2018-07-17 20:58:45 +0200 |
commit | 567dadcd9d8816b447591c266c9ffd5a1c290390 (patch) | |
tree | bf2eb867f118873fad52bd0b881d0c0fef2d0461 /templates/products | |
parent | b025dc2ba168394d3f8c3f6a550360ebdb2f3ba7 (diff) | |
download | serial-barcode-scanner-567dadcd9d8816b447591c266c9ffd5a1c290390.tar.bz2 |
improves the restock form format/styling
Diffstat (limited to 'templates/products')
-rw-r--r-- | templates/products/entry.html | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/templates/products/entry.html b/templates/products/entry.html index 05c1dce..b5b57e0 100644 --- a/templates/products/entry.html +++ b/templates/products/entry.html @@ -30,14 +30,39 @@ </table> <div id="restock" style="display: {{{ISADMIN}}};"> + <form action="/products/{{{EAN}}}/restock" class="form-horizontal"> - <input class="input-small" name="amount" type="number" min="1" placeholder="Amount" title="Amount" /> - <input class="input-small" name="price" type="number" step="0.01" min="0.00" placeholder="Price" title="Price per Piece" /> - <select name="supplier" title="Supplier"> - {{{SUPPLIERS}}} - </select> - <input class="input-small" name="best_before_date" type="date" title="Best Before Date (YYYY-MM-DD)" /> - <button type="submit" class="btn btn-primary"><i class="icon-plus"></i></button> + <div class="control-group"> + <label class="control-label">Amount</label> + <div class="controls"> + <input name="amount" type="number" min="1" placeholder="Amount" /> + </div> + </div> + <div class="control-group"> + <label class="control-label">Price per Piece</label> + <div class="controls"> + <input name="price" type="number" step="0.01" min="0.00" placeholder="Price" /> + </div> + </div> + <div class="control-group"> + <label class="control-label">Suppplier</label> + <div class="controls"> + <select name="supplier"> + {{{SUPPLIERS}}} + </select> + </div> + </div> + <div class="control-group"> + <label class="control-label">Best Before Date</label> + <div class="controls"> + <input name="best_before_date" type="date" /> + </div> + </div> + <div class="control-group"> + <div class="controls"> + <button type="submit" class="btn btn-primary"><i class="icon-plus"></i> Restock</button> + </div> + </div> </form> </div> |