From 0410fd3603f83e5636f769f9d683d59e34d68365 Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 7 Jun 2023 21:06:17 +0200 Subject: [PATCH] Move the footer to the base template. --- source/templates/base.html | 20 +++++++++++ source/templates/index.html | 71 +++++++++++++++---------------------- 2 files changed, 48 insertions(+), 43 deletions(-) diff --git a/source/templates/base.html b/source/templates/base.html index d507fc4..5644808 100644 --- a/source/templates/base.html +++ b/source/templates/base.html @@ -15,6 +15,26 @@ {% block body %}{% endblock %} + + + {{ extra_body_html|safe }} diff --git a/source/templates/index.html b/source/templates/index.html index 278fb32..7cc8eb2 100644 --- a/source/templates/index.html +++ b/source/templates/index.html @@ -21,49 +21,34 @@ User Count Chart - - - - - - - - +
+ Groups Overview -
- {% for group in groups %} - - - - - - {% endfor %} - -
GroupSubscribersDescription
- {{ group.name }} - {{ group.subscribers }} - {% if let Some(description) = group.description %} - {{ description }} - {% endif %} -
+ + + + + + + + + + + {% for group in groups %} + + + + + + {% endfor %} + +
GroupSubscribersDescription
+ {{ group.name }} + {{ group.subscribers }} + {% if let Some(description) = group.description %} + {{ description }} + {% endif %} +
+ - - {% endblock %}