mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update schedules direct mapping
This commit is contained in:
parent
bd43e4e167
commit
c97c4ac4e3
10 changed files with 126 additions and 80 deletions
|
@ -363,17 +363,23 @@
|
|||
|
||||
if (items.length) {
|
||||
|
||||
var cssClass = index !== 0 ? 'listHeader' : 'listHeader';
|
||||
var screenWidth = $(window).width();
|
||||
|
||||
html += '<div>';
|
||||
html += '<h1 class="' + cssClass + '">' + Globalize.translate('HeaderMyMedia') + '</h1>';
|
||||
html += '<h1 class="listHeader">' + Globalize.translate('HeaderMyMedia') + '</h1>';
|
||||
|
||||
html += '</div>';
|
||||
|
||||
html += '<div class="homeTopViews">';
|
||||
var scrollX = enableScrollX() && $.browser.safari && screenWidth > 800;
|
||||
|
||||
if (scrollX) {
|
||||
html += '<div class="hiddenScrollX itemsContainer homeTopViews">';
|
||||
} else {
|
||||
html += '<div class="itemsContainer homeTopViews">';
|
||||
}
|
||||
html += LibraryBrowser.getPosterViewHtml({
|
||||
items: items,
|
||||
shape: shape,
|
||||
shape: scrollX ? 'overflowBackdrop' : shape,
|
||||
showTitle: showTitles,
|
||||
centerText: true,
|
||||
lazy: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue