From ccc8a658b7530cb52f3cdd34fb72b60fa558cead Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 3 Oct 2021 18:44:44 +0700 Subject: [PATCH] implement toggle view to show subscribed only --- .../home/templates/home/channel.html | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/tubearchivist/home/templates/home/channel.html b/tubearchivist/home/templates/home/channel.html index 366b113..1b5f32d 100644 --- a/tubearchivist/home/templates/home/channel.html +++ b/tubearchivist/home/templates/home/channel.html @@ -30,19 +30,26 @@ -
- grid view - list view -
-
-

Total matching channels: {{ max_hits }}

- Change show / hide subscribed only {{ show_subed_only }} - +
+
+ Show only subscribed channels: +
+ + + +
+
+
+ grid view + list view +
+

Total matching channels: {{ max_hits }}

{% if channels %} {% for channel in channels %}