1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

added HasSyncJob

This commit is contained in:
Luke Pulverenti 2015-01-24 14:03:55 -05:00
parent 218e086d94
commit 543d70fdf6
6 changed files with 30 additions and 18 deletions

View file

@ -59,6 +59,14 @@
} }
.btn-floating { .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; display: inline-block;
position: relative; position: relative;
z-index: 1; z-index: 1;
@ -88,12 +96,12 @@
line-height: 37px; line-height: 37px;
} }
.btn-floating.btn-large { .btn-floating.btn-floating-large {
width: 55.5px; width: 55.5px;
height: 55.5px; height: 55.5px;
} }
.btn-floating.btn-large i { .btn-floating.btn-floating-large i {
line-height: 55.5px; line-height: 55.5px;
} }
@ -120,6 +128,10 @@
font-size: 1.6rem; font-size: 1.6rem;
} }
.btn-floating-large i {
font-size: 1.6rem;
}
.btn, .btn-large { .btn, .btn-large {
background-color: #38c; background-color: #38c;
@ -167,7 +179,7 @@ button.btn:not(.btn-inline),button.btn-large:not(.btn-inline) {
width: 100%; 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; vertical-align: middle;
} }

View file

@ -150,7 +150,7 @@
font-family: Roboto; font-family: Roboto;
outline: none; outline: none;
vertical-align: middle; vertical-align: middle;
width: 200px; width: 180px;
} }
.searchInputIcon { .searchInputIcon {
@ -194,6 +194,6 @@
} }
.btnCloseSearch { .btnCloseSearch {
margin-left: 5px; padding: 0 5px;
outline: 0; outline: 0;
} }

View file

@ -162,7 +162,7 @@
<div class="listTopPaging"> <div class="listTopPaging">
</div> </div>
</div> </div>
<div id="items" class="itemsContainer"> <div id="items" class="itemsContainer" style="text-align:center;">
</div> </div>
</div> </div>
</div> </div>

View file

@ -223,7 +223,7 @@
} }
$(elem).html(html).lazyChildren(); $(elem).html(html).lazyChildren().createCardMenus();
handleLibraryLinkNavigations(elem); handleLibraryLinkNavigations(elem);
}); });

View file

@ -477,8 +477,9 @@
supportsAddingToCollection: function (item) { 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;
} }
}; };

View file

@ -313,7 +313,8 @@
shape: "square", shape: "square",
lazy: true, lazy: true,
overlayText: false, overlayText: false,
showTitle: true showTitle: true,
centerText: true
}); });
$('.itemsContainer', elem).html(html).lazyChildren(); $('.itemsContainer', elem).html(html).lazyChildren();
} }
@ -410,10 +411,12 @@
}); });
$('.btnCloseSearch').on('click', function () { $('.btnCloseSearch').on('click', closeSearchOverlay);
$('.headerSearchInput').val(''); }
onHeaderSearchChange('');
}); function closeSearchOverlay() {
$('.headerSearchInput').val('');
onHeaderSearchChange('');
} }
$(document).on('pagehide', ".libraryPage", function () { $(document).on('pagehide', ".libraryPage", function () {
@ -421,11 +424,7 @@
$('#txtSearch', this).val(''); $('#txtSearch', this).val('');
$('#searchHints', this).empty(); $('#searchHints', this).empty();
}).on('pagecontainerbeforehide', function () { }).on('pagecontainerbeforehide', closeSearchOverlay);
$('.headerSearchInput').val('');
getSearchOverlay(false).hide();
});
$(document).on('headercreated', function () { $(document).on('headercreated', function () {