diff options
author | Sebastian Reichel <sre@ring0.de> | 2018-06-29 00:58:19 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2018-07-15 22:59:57 +0200 |
commit | 22df08c29f6e4566d418e2a80a8279303406a733 (patch) | |
tree | decb3029284b966635855e1684bc07ef9d3c1a6f /data/templates/products/restock.html | |
parent | 17560f8bf49a0be2e0b490159e29f4894fe12cba (diff) | |
download | serial-barcode-scanner-22df08c29f6e4566d418e2a80a8279303406a733.tar.bz2 |
build: switch to meson buildsystem
We build the project with 'meson' now instead of using custom
configure script + GNU Makefiles. To build the project, go to
the project root directory and use the following commands:
Building:
meson build
cd build
ninja
Update Language Files:
ninja shopsystem-pot
ninja shopsystem-update-po
Install:
DESTDIR=./tmp ninja install
Diffstat (limited to 'data/templates/products/restock.html')
-rw-r--r-- | data/templates/products/restock.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/data/templates/products/restock.html b/data/templates/products/restock.html new file mode 100644 index 0000000..70926c5 --- /dev/null +++ b/data/templates/products/restock.html @@ -0,0 +1,22 @@ +<h2>Restock: {{{NAME}}}</h2> + +<div id="restock-successful" class="alert" style="display: {{{RESTOCK.OK}}};"> + <p>Successfully restocked:</p> + + <table class="table table-hover"> + <tr><th>Name</th><td>{{{NAME}}}</td></tr> + <tr><th>Amount</th><td>{{{AMOUNT}}}</td></tr> + <tr><th>Price</th><td>{{{PRICE}}}</td></tr> + <tr><th>Supplier</th><td>{{{SUPPLIER}}}</td></tr> + <tr><th>Best Before Date</th><td>{{{BESTBEFORE}}}</td></tr> + </table> +</div> + +<div id="restock-failed" class="alert alert-error" style="display: {{{RESTOCK.FAIL}}};"> + <h4>Error</h4> + Restocking <b>{{{NAME}}}</b> failed. Please make sure you + have sufficient permissions and gave valid values + for amount and price. +</div> + +<a href=".">Back to {{{NAME}}}</a> |