aboutsummaryrefslogtreecommitdiff
path: root/src/templates/summary.html
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-10-18 18:16:26 -0500
committerMark Powers <markppowers0@gmail.com>2020-10-18 18:16:26 -0500
commit3e16b66c86b59f7f6045f29ac66e4fae37d99e0d (patch)
tree3de3855f30860952d2f425116dd9112805d795b5 /src/templates/summary.html
parenta1baf96009692aff2ca123b3071d34fdcba0de63 (diff)
Add expected averages and category summary
Diffstat (limited to 'src/templates/summary.html')
-rw-r--r--src/templates/summary.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/templates/summary.html b/src/templates/summary.html
index d78182a..bdc2f44 100644
--- a/src/templates/summary.html
+++ b/src/templates/summary.html
@@ -99,6 +99,36 @@
</tr>
</table>
</div>
+ <div class="summary-panel">
+ <h2>Categories</h2>
+ <table class="table">
+ <tr>
+ <th>Category</th>
+ <th>Total</th>
+ </tr>
+ {{#each categories}}
+ <tr>
+ <td>{{this.category}}</td>
+ <td>{{this.s}}</td>
+ </tr>
+ {{/each}}
+ </table>
+ </div>
+ <div class="summary-panel">
+ <h2>Sub-Categories</h2>
+ <table class="table">
+ <tr>
+ <th>Sub-Category</th>
+ <th>Total</th>
+ </tr>
+ {{#each subcategories}}
+ <tr>
+ <td>{{this.subcategory}}</td>
+ <td>{{this.s}}</td>
+ </tr>
+ {{/each}}
+ </table>
+ </div>
</body>
</html> \ No newline at end of file