aboutsummaryrefslogtreecommitdiff
path: root/src/templates/summary.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/summary.html')
-rw-r--r--src/templates/summary.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/templates/summary.html b/src/templates/summary.html
index bffd46b..d78182a 100644
--- a/src/templates/summary.html
+++ b/src/templates/summary.html
@@ -35,6 +35,14 @@
<td class="{{this.classes}}">{{this.net}}</td>
</tr>
{{/each}}
+ Avg:
+ <tr>
+ <td>Avg:</td>
+ <td></td>
+ <td>{{week_avg.in}}</td>
+ <td>{{week_avg.out}}</td>
+ <td class="{{week_avg.classes}}">{{week_avg.net}}</td>
+ </tr>
</table>
</div>
<div class="summary-panel">
@@ -56,6 +64,13 @@
<td class="{{this.classes}}">{{this.net}}</td>
</tr>
{{/each}}
+ <tr>
+ <td>Avg:</td>
+ <td></td>
+ <td>{{month_avg.in}}</td>
+ <td>{{month_avg.out}}</td>
+ <td class="{{month_avg.classes}}">{{month_avg.net}}</td>
+ </tr>
</table>
</div>
<div class="summary-panel">
@@ -75,6 +90,13 @@
<td class="{{this.classes}}">{{this.net}}</td>
</tr>
{{/each}}
+ Avg:
+ <tr>
+ <td>Avg:</td>
+ <td>{{year_avg.in}}</td>
+ <td>{{year_avg.out}}</td>
+ <td class="{{year_avg.classes}}">{{year_avg.net}}</td>
+ </tr>
</table>
</div>
</body>