summaryrefslogtreecommitdiffstats
path: root/templates/users/invoice.html
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-10-02 01:05:51 +0200
committerSebastian Reichel <sre@ring0.de>2012-10-02 01:05:51 +0200
commit186049b3ed33f025eeb87eb34c19a28e1d5ba70a (patch)
tree5d892564001404fe979e18eac0e65dfcad65ed5e /templates/users/invoice.html
parent9713c98dbceb54d8d00c186ba8f41f3a5befcfd1 (diff)
downloadserial-barcode-scanner-186049b3ed33f025eeb87eb34c19a28e1d5ba70a.tar.bz2
restructure code, switch from GTK to Web based UI
- move barcode generation scripts into generation/ - move code to src/ - remove database analysis from invoice/graph - put database creation sql files into sql/ - remove glade builder file - add new templates/ directory, which contains files used by the Web-UI
Diffstat (limited to 'templates/users/invoice.html')
-rw-r--r--templates/users/invoice.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/templates/users/invoice.html b/templates/users/invoice.html
new file mode 100644
index 0000000..9a3c1a3
--- /dev/null
+++ b/templates/users/invoice.html
@@ -0,0 +1,39 @@
+<h2>Invoice</h2>
+
+<div class="navbar">
+ <div class="navbar-inner">
+ <div class="container">
+ <ul class="nav" role="navigation">
+ <a class="brand" href="#">Choose Invoice Period:</a>
+ <li class="dropdown">
+ <a id="year" class="dropdown-toggle" data-toggle="dropdown" href="#">{{{SELECTEDYEAR}}} <span class="caret"></span></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="year" >
+ {{{YEARS}}}
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a id="month" class="dropdown-toggle" data-toggle="dropdown" href="#">{{{SELECTEDMONTH}}} <span class="caret"></span></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="month" >
+ {{{MONTHS}}}
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a id="day" class="dropdown-toggle" data-toggle="dropdown" href="#">{{{SELECTEDDAY}}} <span class="caret"></span></a>
+ <ul class="dropdown-menu two-columns" role="menu" aria-labelledby="day" >
+ {{{DAYS}}}
+ </ul>
+ </li>
+ </ul>
+ </div>
+ </div>
+</div>
+
+<table class="table table-bordered table-striped">
+ <thead>
+ <tr><th>Date</th><th>Time</th><th>Product</th><th>Price</th></tr>
+ </thead>
+ <tbody>
+ {{{DATA}}}
+ <tr><th colspan="3">Sum</th><td>{{{SUM}}}</td></tr>
+ </tbody>
+</table>