From 3c7bb0fe6830be3425d40f8f1eab069984442be6 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Fri, 26 Aug 2022 22:51:07 +0200 Subject: [PATCH] templates: move stats.htm to stats/main.htm --- server/app.py | 2 +- server/templates/{stats.htm => stats/main.htm} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename server/templates/{stats.htm => stats/main.htm} (100%) diff --git a/server/app.py b/server/app.py index 4c1d6c9..c9e5dbb 100644 --- a/server/app.py +++ b/server/app.py @@ -478,7 +478,7 @@ def show_stats(): elements: List[MediaElement] = MediaElement.select() collections: List[MediaCollection] = MediaCollection.select() return render_template( - "stats.htm", + "stats/main.htm", stats={ "last_updated": orm.max(c.last_updated for c in collections), "media": { diff --git a/server/templates/stats.htm b/server/templates/stats/main.htm similarity index 100% rename from server/templates/stats.htm rename to server/templates/stats/main.htm