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,13 +1,15 @@
<div id="musicRecommendedPage" data-dom-cache="true" data-role="page" class="page libraryPage backdropPage pageWithAbsoluteTabs" data-backdroptype="musicartist"> <div id="musicRecommendedPage" data-dom-cache="true" data-role="page" class="page libraryPage backdropPage pageWithAbsoluteTabs" data-backdroptype="musicartist">
<div class="libraryViewNav"> <div class="libraryViewNav">
<button class="pageTabButton is-active" data-index="0">${TabSuggestions}</button> <div class="contentScrollSlider">
<button class="pageTabButton" data-index="1">${TabAlbums}</button> <button class="pageTabButton is-active" data-index="0">${TabSuggestions}</button>
<button class="pageTabButton" data-index="2">${TabAlbumArtists}</button> <button class="pageTabButton" data-index="1">${TabAlbums}</button>
<button class="pageTabButton" data-index="3">${TabArtists}</button> <button class="pageTabButton" data-index="2">${TabAlbumArtists}</button>
<button class="pageTabButton" data-index="4">${TabSongs}</button> <button class="pageTabButton" data-index="3">${TabArtists}</button>
<button class="pageTabButton" data-index="5">${TabGenres}</button> <button class="pageTabButton" data-index="4">${TabSongs}</button>
<button class="pageTabButton" data-index="6">${TabFolders}</button> <button class="pageTabButton" data-index="5">${TabGenres}</button>
<button class="pageTabButton" data-index="6">${TabFolders}</button>
</div>
</div> </div>
<div class="pageTabContent is-active pageTabContent ehsContent" id="suggestionsTab" data-index="0"> <div class="pageTabContent is-active pageTabContent ehsContent" id="suggestionsTab" data-index="0">
<div class="homePageSection"> <div class="homePageSection">

View file

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

View file

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

View file

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