aboutsummaryrefslogtreecommitdiffstats
path: root/yt_subscription_manager_template.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-06-10 02:29:55 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-06-10 02:29:55 -0700
commitd637f5b29c2153b0e4fde2f7183230100b2f6309 (patch)
tree36ac58ce20a8176f2a5558b1998a320a434edb1e /yt_subscription_manager_template.html
parentf1cd3eb7519b10e55bb0a9780d34c1493efca176 (diff)
downloadyt-local-d637f5b29c2153b0e4fde2f7183230100b2f6309.tar.lz
yt-local-d637f5b29c2153b0e4fde2f7183230100b2f6309.tar.xz
yt-local-d637f5b29c2153b0e4fde2f7183230100b2f6309.zip
Group by tags feature and improve appearance of sub list items
Diffstat (limited to 'yt_subscription_manager_template.html')
-rw-r--r--yt_subscription_manager_template.html26
1 files changed, 21 insertions, 5 deletions
diff --git a/yt_subscription_manager_template.html b/yt_subscription_manager_template.html
index 76cd864..83a52fa 100644
--- a/yt_subscription_manager_template.html
+++ b/yt_subscription_manager_template.html
@@ -44,6 +44,18 @@
padding:10px;
}
+
+ .tag-group-list{
+ list-style: none;
+ margin-left: 10px;
+ margin-right: 10px;
+ padding: 0px;
+ }
+ .tag-group{
+ border-style: solid;
+ margin-bottom: 10px;
+ }
+
.sub-list{
list-style: none;
padding:10px;
@@ -52,10 +64,16 @@
}
.sub-list > li{
display:flex;
- justify-content: space-between;
margin-bottom: 10px;
background-color: #dadada;
}
+ .tag-list{
+ margin-left:15px;
+ font-weight:bold;
+ }
+ .sub-list-item-name{
+ margin-left:15px;
+ }
.sub-list-checkbox{
height: 1.5em;
width: 1.5em;
@@ -82,7 +100,7 @@ $header
<hr>
<form id="subscription-manager-form" class="sub-list-controls" method="POST">
- <a class="sort-button" href="/youtube.com/subscription_manager?group_by_tags=1">Group by tags</a>
+ <a class="sort-button" href="$sort_link">$sort_name</a>
<input type="text" name="tags">
<button type="submit" name="action" value="add_tags">Add tags</button>
<button type="submit" name="action" value="remove_tags">Remove tags</button>
@@ -90,9 +108,7 @@ $header
<input type="reset" value="Clear Selection">
</form>
- <ol class="sub-list">
-$sub_list
- </ol>
+$main_list
</main>
</body>