mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added HasSyncJob
This commit is contained in:
parent
218e086d94
commit
543d70fdf6
6 changed files with 30 additions and 18 deletions
18
dashboard-ui/css/materialize.css
vendored
18
dashboard-ui/css/materialize.css
vendored
|
@ -59,6 +59,14 @@
|
|||
}
|
||||
|
||||
.btn-floating {
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
text-transform: uppercase;
|
||||
border: none;
|
||||
outline: 0;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
margin-bottom: 15px;
|
||||
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
@ -88,12 +96,12 @@
|
|||
line-height: 37px;
|
||||
}
|
||||
|
||||
.btn-floating.btn-large {
|
||||
.btn-floating.btn-floating-large {
|
||||
width: 55.5px;
|
||||
height: 55.5px;
|
||||
}
|
||||
|
||||
.btn-floating.btn-large i {
|
||||
.btn-floating.btn-floating-large i {
|
||||
line-height: 55.5px;
|
||||
}
|
||||
|
||||
|
@ -120,6 +128,10 @@
|
|||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.btn-floating-large i {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
|
||||
.btn, .btn-large {
|
||||
background-color: #38c;
|
||||
|
@ -167,7 +179,7 @@ button.btn:not(.btn-inline),button.btn-large:not(.btn-inline) {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.btn i, .btn-large i, .btn span, .btn-large span {
|
||||
.btn i, .btn-large i, .btn-floating-large i, .btn span, .btn-large span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
font-family: Roboto;
|
||||
outline: none;
|
||||
vertical-align: middle;
|
||||
width: 200px;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.searchInputIcon {
|
||||
|
@ -194,6 +194,6 @@
|
|||
}
|
||||
|
||||
.btnCloseSearch {
|
||||
margin-left: 5px;
|
||||
padding: 0 5px;
|
||||
outline: 0;
|
||||
}
|
||||
|
|
|
@ -162,7 +162,7 @@
|
|||
<div class="listTopPaging">
|
||||
</div>
|
||||
</div>
|
||||
<div id="items" class="itemsContainer">
|
||||
<div id="items" class="itemsContainer" style="text-align:center;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -223,7 +223,7 @@
|
|||
}
|
||||
|
||||
|
||||
$(elem).html(html).lazyChildren();
|
||||
$(elem).html(html).lazyChildren().createCardMenus();
|
||||
|
||||
handleLibraryLinkNavigations(elem);
|
||||
});
|
||||
|
|
|
@ -477,8 +477,9 @@
|
|||
|
||||
supportsAddingToCollection: function (item) {
|
||||
|
||||
var invalidTypes = ['Person', 'Genre', 'MusicGenre', 'Studio', 'GameGenre', 'BoxSet', 'Playlist', 'UserView', 'CollectionFolder'];
|
||||
|
||||
return item.LocationType == 'FileSystem';
|
||||
return item.LocationType == 'FileSystem' && !item.CollectionType && invalidTypes.indexOf(item.Type) == -1;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -313,7 +313,8 @@
|
|||
shape: "square",
|
||||
lazy: true,
|
||||
overlayText: false,
|
||||
showTitle: true
|
||||
showTitle: true,
|
||||
centerText: true
|
||||
});
|
||||
$('.itemsContainer', elem).html(html).lazyChildren();
|
||||
}
|
||||
|
@ -410,10 +411,12 @@
|
|||
|
||||
});
|
||||
|
||||
$('.btnCloseSearch').on('click', function () {
|
||||
$('.btnCloseSearch').on('click', closeSearchOverlay);
|
||||
}
|
||||
|
||||
function closeSearchOverlay() {
|
||||
$('.headerSearchInput').val('');
|
||||
onHeaderSearchChange('');
|
||||
});
|
||||
}
|
||||
|
||||
$(document).on('pagehide', ".libraryPage", function () {
|
||||
|
@ -421,11 +424,7 @@
|
|||
$('#txtSearch', this).val('');
|
||||
$('#searchHints', this).empty();
|
||||
|
||||
}).on('pagecontainerbeforehide', function () {
|
||||
|
||||
$('.headerSearchInput').val('');
|
||||
getSearchOverlay(false).hide();
|
||||
});
|
||||
}).on('pagecontainerbeforehide', closeSearchOverlay);
|
||||
|
||||
$(document).on('headercreated', function () {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue