diff --git a/tubearchivist/home/templates/home/downloads.html b/tubearchivist/home/templates/home/downloads.html index 1c33faa..7972828 100644 --- a/tubearchivist/home/templates/home/downloads.html +++ b/tubearchivist/home/templates/home/downloads.html @@ -6,7 +6,7 @@
-
+
rescan-icon

Rescan subscriptions

diff --git a/tubearchivist/home/views.py b/tubearchivist/home/views.py index f9a56f7..6c8abee 100644 --- a/tubearchivist/home/views.py +++ b/tubearchivist/home/views.py @@ -147,7 +147,8 @@ class DownloadView(View): config = AppConfig().config colors = config["application"]["colors"] view_style = config["default_view"]["downloads"] - show_ignored_only = RedisArchivist().get_message("show_ignored_only")["status"] + ignored = RedisArchivist().get_message("show_ignored_only") + show_ignored_only = ignored["status"] page_get = int(request.GET.get("page", 0)) pagination_handler = Pagination(page_get) diff --git a/tubearchivist/static/css/style.css b/tubearchivist/static/css/style.css index b9f6bcb..6e3a0b1 100644 --- a/tubearchivist/static/css/style.css +++ b/tubearchivist/static/css/style.css @@ -243,7 +243,7 @@ button:hover { /* top of page */ .title-bar { - padding: 25px 0; + padding: 20px 0; } .sort { @@ -283,13 +283,12 @@ button:hover { grid-template-columns: 1fr 1fr; border-bottom: 2px solid; border-color: var(--accent-font-dark); - margin-bottom: 20px; + margin: 15px 0; } .view-icons { display: flex; justify-content: end; - margin-top: 15px; } .view-icons img { @@ -547,6 +546,10 @@ button:hover { display: block; } +.channel-banner img { + width: 100%; +} + .channel-banner.grid { overflow: hidden; } diff --git a/tubearchivist/static/script.js b/tubearchivist/static/script.js index d3d3f88..6007b62 100644 --- a/tubearchivist/static/script.js +++ b/tubearchivist/static/script.js @@ -8,24 +8,6 @@ function sortChange(sortValue) { }, 500); } -function hideWatched(hideValue) { - var payload = JSON.stringify({'hide_watched': hideValue}); - sendPost(payload); - setTimeout(function(){ - location.reload(); - return false; - }, 500); -} - -function showSubscribedOnly(showValue) { - var payload = JSON.stringify({'show_subed_only': showValue}); - sendPost(payload); - setTimeout(function(){ - location.reload(); - return false; - }, 500); -} - function isWatched(youtube_id) { var payload = JSON.stringify({'watched': youtube_id}); sendPost(payload);