From a45bcb74dde80ee576bfcbc2f3efb719e8f6b2d9 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Thu, 3 Aug 2023 17:38:50 -0400 Subject: Allow setting custom title on /add_feed, improve form layout --- views/add_feed.tpl | 20 ++++++++++---------- views/manage_feed.tpl | 16 +++++++++------- views/tag_input.tpl | 5 ++--- 3 files changed, 21 insertions(+), 20 deletions(-) (limited to 'views') diff --git a/views/add_feed.tpl b/views/add_feed.tpl index 4b139d3..04a1008 100644 --- a/views/add_feed.tpl +++ b/views/add_feed.tpl @@ -8,20 +8,20 @@ < home - % if not get("already_present", False): - % if get("after_add", False): -

Added feed {{feed_source}}

- % end - % else: -

Feed {{feed_source}} was already added; no changes made.

+ % if get("after_add", False): +

Added feed {{feed_source}}

% end

Add a feed

- -
+
+ + +
% include("tag_input.tpl", input_name="tags") +
+ + +
% include("footer.tpl") diff --git a/views/manage_feed.tpl b/views/manage_feed.tpl index dce9dc5..a26c6bc 100644 --- a/views/manage_feed.tpl +++ b/views/manage_feed.tpl @@ -35,13 +35,15 @@
- - - + +
+ + +
+
+ + +
% include("tag_input.tpl", input_name="tags", input_value=feed["serialised_tags"])
diff --git a/views/tag_input.tpl b/views/tag_input.tpl index 99145e9..409360f 100644 --- a/views/tag_input.tpl +++ b/views/tag_input.tpl @@ -1,6 +1,5 @@
- + + % include("hover_help.tpl", text="Space-separated. Backslashes escape spaces.")
-- cgit v1.2.3-57-g22cb