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

update music tabs

This commit is contained in:
Luke Pulverenti 2016-07-08 14:10:56 -04:00
parent c01a55384e
commit 4ea172b6c5
4 changed files with 14 additions and 20 deletions

View file

@ -1,6 +1,7 @@
<div id="musicRecommendedPage" data-dom-cache="true" data-role="page" class="page libraryPage backdropPage pageWithAbsoluteTabs" data-backdroptype="musicartist">
<div class="libraryViewNav">
<div class="contentScrollSlider">
<button class="pageTabButton is-active" data-index="0">${TabSuggestions}</button>
<button class="pageTabButton" data-index="1">${TabAlbums}</button>
<button class="pageTabButton" data-index="2">${TabAlbumArtists}</button>
@ -9,6 +10,7 @@
<button class="pageTabButton" data-index="5">${TabGenres}</button>
<button class="pageTabButton" data-index="6">${TabFolders}</button>
</div>
</div>
<div class="pageTabContent is-active pageTabContent ehsContent" id="suggestionsTab" data-index="0">
<div class="homePageSection">
<h1 class="listHeader">${HeaderLatestMusic}</h1>

View file

@ -24,7 +24,7 @@
StartIndex: 0,
Limit: pageSize
},
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('Poster', 'Poster')
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('PosterCard', 'PosterCard')
};
pageData.query.ParentId = params.topParentId;

View file

@ -22,7 +22,7 @@
EnableImageTypes: "Primary,Backdrop,Banner,Thumb",
Limit: LibraryBrowser.getDefaultPageSize()
},
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('Poster', 'Poster')
view: libraryBrowser.getSavedView(key) || libraryBrowser.getDefaultItemsView('PosterCard', 'PosterCard')
};
pageData.query.ParentId = params.topParentId;

View file

@ -1180,23 +1180,15 @@ var Dashboard = {
}
if (browserInfo.mobile) {
quality -= 15;
quality -= 20;
}
if (AppInfo.hasLowImageBandwidth) {
// The native app can handle a little bit more than safari
if (AppInfo.isNativeApp) {
if (!AppInfo.isNativeApp) {
if (isBackdrop) {
quality -= 5;
} else {
quality -= 5;
}
} else {
quality -= 25;
quality -= 20;
}
}