diff --git a/files/routes/static.py b/files/routes/static.py index 458ea1dd38..38a3b137ed 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -198,10 +198,10 @@ def cached_chart(kind): today_cutoff = calendar.timegm(midnight_this_morning) if kind == "daily": - file = "/daily_chart.png" + file = f"{SITE}_daily.png" day_cutoffs = [today_cutoff - 86400 * i for i in range(47)][1:] else: - file = "/weekly_chart.png" + file = f"{SITE}_weekly.png" day_cutoffs = [today_cutoff - 86400 * 7 * i for i in range(47)][1:] day_cutoffs.insert(0, calendar.timegm(now)) diff --git a/files/templates/sidebar_WPD.html b/files/templates/sidebar_WPD.html new file mode 100644 index 0000000000..782c9bb15d --- /dev/null +++ b/files/templates/sidebar_WPD.html @@ -0,0 +1,60 @@ + \ No newline at end of file