From a1baf96009692aff2ca123b3071d34fdcba0de63 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sun, 18 Oct 2020 16:09:40 -0500 Subject: Add monthly averages, fix login tempalte --- src/templates/login.html | 8 ++++---- src/templates/summary.html | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 4 deletions(-) (limited to 'src/templates') diff --git a/src/templates/login.html b/src/templates/login.html index ec41762..f090108 100644 --- a/src/templates/login.html +++ b/src/templates/login.html @@ -38,10 +38,10 @@

Login

-
- - - +
+ + +
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 @@ {{this.net}} {{/each}} + Avg: + + Avg: + + {{week_avg.in}} + {{week_avg.out}} + {{week_avg.net}} +
@@ -56,6 +64,13 @@ {{this.net}} {{/each}} + + Avg: + + {{month_avg.in}} + {{month_avg.out}} + {{month_avg.net}} +
@@ -75,6 +90,13 @@ {{this.net}} {{/each}} + Avg: + + Avg: + {{year_avg.in}} + {{year_avg.out}} + {{year_avg.net}} +
-- cgit v1.2.3