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 id="downloadMessage"></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">
|
||||
<img id="rescan-icon" onclick="rescanPending()" src="{% static 'img/icon-rescan.svg' %}" alt="rescan-icon">
|
||||
<p>Rescan subscriptions</p>
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user