From e610bb3ee3eca0baa63552ded6c177122d19522d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Wed, 2 Dec 2020 23:16:12 +0100 Subject: [PATCH] fix: html footer rendering chore: update chartjs --- static/assets/app.js | 3 ++- version.txt | 2 +- views/foot.tpl.html | 16 ++-------------- views/summary.tpl.html | 13 +++++++++++++ 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/static/assets/app.js b/static/assets/app.js index 1e9ccb9..1036122 100644 --- a/static/assets/app.js +++ b/static/assets/app.js @@ -47,7 +47,8 @@ function draw() { let idx = type === 'pie' ? item.index : item.datasetIndex let d = wakapiData[key][idx] return `${d.key}: ${d.total.toString().toHHMMSS()}` - } + }, + title: () => 'Total Time' } } } diff --git a/version.txt b/version.txt index 511a76e..06fb41b 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.17.1 +1.17.2 diff --git a/views/foot.tpl.html b/views/foot.tpl.html index 906ab16..06959a9 100644 --- a/views/foot.tpl.html +++ b/views/foot.tpl.html @@ -1,14 +1,2 @@ - - - - - \ No newline at end of file + + \ No newline at end of file diff --git a/views/summary.tpl.html b/views/summary.tpl.html index 19205a3..b7114dd 100644 --- a/views/summary.tpl.html +++ b/views/summary.tpl.html @@ -135,6 +135,19 @@ {{ template "footer.tpl.html" . }} {{ template "foot.tpl.html" . }} + + + + \ No newline at end of file