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/stats/index.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/stats/index.html')
-rw-r--r-- | data/templates/stats/index.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/data/templates/stats/index.html b/data/templates/stats/index.html new file mode 100644 index 0000000..987c90f --- /dev/null +++ b/data/templates/stats/index.html @@ -0,0 +1,19 @@ +<h2>Statistics</h2> + +<div style="display:block"> + <table class="table table-bordered table-striped"> + <tr><th>Number of Articles</th><td>{{{NUMBER_OF_ARTICLES}}}</td></tr> + <tr><th>Number of Users</th><td>{{{NUMBER_OF_USERS}}}</td></tr> + <tr><th>Stock Value</th><td>{{{STOCK_VALUE}}}</td></tr> + <tr><th>Total Sales</th><td>{{{TOTAL_SALES}}}</td></tr> + <tr><th>Total Profit</th><td>{{{TOTAL_PROFIT}}}</td></tr> + <tr><th>Sales Today</th><td>{{{SALES_TODAY}}}</td></tr> + <tr><th>Profit Today</th><td>{{{PROFIT_TODAY}}}</td></tr> + <tr><th>Sales this Month</th><td>{{{SALES_THIS_MONTH}}}</td></tr> + <tr><th>Profit this Month</th><td>{{{PROFIT_THIS_MONTH}}}</td></tr> + <tr><th>Avg. Sales/Day</th><td>{{{SALES_PER_DAY}}}</td></tr> + <tr><th>Avg. Profit/Day</th><td>{{{PROFIT_PER_DAY}}}</td></tr> + <tr><th>Avg. Sales/Month</th><td>{{{SALES_PER_MONTH}}}</td></tr> + <tr><th>Avg. Profit/Month</th><td>{{{PROFIT_PER_MONTH}}}</td></tr> + </table> +</div> |