mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 20:00:15 +00:00
cleanup and fixing some spacing issues
This commit is contained in:
parent
f5f3617e96
commit
5c2a8286d3
@ -6,7 +6,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="downloadMessage"></div>
|
<div id="downloadMessage"></div>
|
||||||
<div id="downloadControl"></div>
|
<div id="downloadControl"></div>
|
||||||
<div class="info-box info-box-3 padding-box">
|
<div class="info-box info-box-3">
|
||||||
<div class="icon-text">
|
<div class="icon-text">
|
||||||
<img id="rescan-icon" onclick="rescanPending()" src="{% static 'img/icon-rescan.svg' %}" alt="rescan-icon">
|
<img id="rescan-icon" onclick="rescanPending()" src="{% static 'img/icon-rescan.svg' %}" alt="rescan-icon">
|
||||||
<p>Rescan subscriptions</p>
|
<p>Rescan subscriptions</p>
|
||||||
|
@ -147,7 +147,8 @@ class DownloadView(View):
|
|||||||
config = AppConfig().config
|
config = AppConfig().config
|
||||||
colors = config["application"]["colors"]
|
colors = config["application"]["colors"]
|
||||||
view_style = config["default_view"]["downloads"]
|
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))
|
page_get = int(request.GET.get("page", 0))
|
||||||
pagination_handler = Pagination(page_get)
|
pagination_handler = Pagination(page_get)
|
||||||
|
@ -243,7 +243,7 @@ button:hover {
|
|||||||
|
|
||||||
/* top of page */
|
/* top of page */
|
||||||
.title-bar {
|
.title-bar {
|
||||||
padding: 25px 0;
|
padding: 20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sort {
|
.sort {
|
||||||
@ -283,13 +283,12 @@ button:hover {
|
|||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
border-bottom: 2px solid;
|
border-bottom: 2px solid;
|
||||||
border-color: var(--accent-font-dark);
|
border-color: var(--accent-font-dark);
|
||||||
margin-bottom: 20px;
|
margin: 15px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-icons {
|
.view-icons {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
margin-top: 15px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-icons img {
|
.view-icons img {
|
||||||
@ -547,6 +546,10 @@ button:hover {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.channel-banner img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.channel-banner.grid {
|
.channel-banner.grid {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
@ -8,24 +8,6 @@ function sortChange(sortValue) {
|
|||||||
}, 500);
|
}, 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) {
|
function isWatched(youtube_id) {
|
||||||
var payload = JSON.stringify({'watched': youtube_id});
|
var payload = JSON.stringify({'watched': youtube_id});
|
||||||
sendPost(payload);
|
sendPost(payload);
|
||||||
|
Loading…
Reference in New Issue
Block a user