From b60257f9e9991d3bdac3ec0ba1aee487a27edf57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Wed, 7 Dec 2022 13:10:36 +0100 Subject: [PATCH] Improve HTML --- discord_rss_bot/templates/add.html | 48 +++++++----- discord_rss_bot/templates/base.html | 34 +++++---- discord_rss_bot/templates/feed.html | 110 ++++++++++++++++++--------- discord_rss_bot/templates/index.html | 9 ++- discord_rss_bot/templates/nav.html | 2 +- 5 files changed, 133 insertions(+), 70 deletions(-) diff --git a/discord_rss_bot/templates/add.html b/discord_rss_bot/templates/add.html index 54d13a8..854592f 100644 --- a/discord_rss_bot/templates/add.html +++ b/discord_rss_bot/templates/add.html @@ -1,24 +1,36 @@ {% extends "base.html" %} {% block title %}Index{% endblock %} {% block content %} -
- +
+ + {# Feed URL #} +
+ +
+ +
+
-
- - -
+ {# Webhook dropdown #} +
+ +
+ +
+
You can add more feeds in the config file.
+
-
- -
- + {# Submit button #} +
+ +
+ + +
{% endblock %} \ No newline at end of file diff --git a/discord_rss_bot/templates/base.html b/discord_rss_bot/templates/base.html index fbf0dab..0801bd9 100644 --- a/discord_rss_bot/templates/base.html +++ b/discord_rss_bot/templates/base.html @@ -10,20 +10,28 @@ RSS - {% block title %}{% endblock %} {% endblock %} - + {% include "nav.html" %} -
- {% block content %}{% endblock %} - +
+
+
+ {% block content %}{% endblock %} + +
+