From 901817409e348c633ca7c33e39c393c86d1ab99b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondr=CC=8Cej=20Ny=CC=81vlt?= Date: Mon, 21 Aug 2023 11:12:33 +0200 Subject: [PATCH] Persit checkbox state --- view/templates/index.html | 98 ++++++++++++++++++++------------------- 1 file changed, 50 insertions(+), 48 deletions(-) diff --git a/view/templates/index.html b/view/templates/index.html index ef699ed..340d0dd 100644 --- a/view/templates/index.html +++ b/view/templates/index.html @@ -36,64 +36,66 @@ {% endif %} -
- {% for diff in diffs %} -
-

- {{ diff.feed_name }} - - - - Display current article - - - - Show change history - -

+
+
+ {% for diff in diffs %} +
+

+ {{ diff.feed_name }} + + + + Display current article + + + + Show change history + +

- {% if expand_diffs %} -
-
-
Before
-
{{ diff.diff_html|safe }}
+ {% if expand_diffs %} +
+
+
Before
+
{{ diff.diff_html|safe }}
+
+
+
After
+
{{ diff.diff_html|safe }}
+
-
-
After
-
{{ diff.diff_html|safe }}
-
-
- - - - - - - - - - - {% else %} -
{{ diff.diff_html|safe }}
- {% endif %} -
- {% endfor %} -
+ + + + + + + + + + + {% else %} +
{{ diff.diff_html|safe }}
+ {% endif %} +
+ {% endfor %} +
-
-
- {{ pagination.links }} +
+
+ {{ pagination.links }} +
+
+
+ {{ pagination.info }}
-
- {{ pagination.info }} -
{% endblock body %}