Added graphs and charts; Updated a lot of the collections for security and consistency; Updated all of the page to fix bugs and propagate fixes to all templates; Added the d3 library for graphing; Added a real ui for Measures and Venues.
This commit is contained in:
28
imports/ui/GraphTest.html
Normal file
28
imports/ui/GraphTest.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<template name="GraphTest">
|
||||
<div id="graphTest" style="margin: 20px">
|
||||
<button name="changeData">Change Data</button>
|
||||
|
||||
<svg class="salesGraph"></svg>
|
||||
|
||||
<div class="salesTable">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<!--<th class="month">Month</th>-->
|
||||
<th class="year">Year</th>
|
||||
<th class="total">Total</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each sales}}
|
||||
<tr>
|
||||
<!--<td>{{month}}</td>-->
|
||||
<td>{{year}}</td>
|
||||
<td>{{formatTotal total}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user