diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 73728f8549..dc825bfbd0 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -678,10 +678,10 @@ a.itemTag:hover { .alphabetPicker { position: fixed; - right: 0; + right: 2px; bottom: 0; top: 100px; - width: 25px; + width: 27px; z-index: 1000; text-align: center; font-size: 13px; @@ -713,7 +713,7 @@ a.itemTag:hover { } .itemsContainerWithAlphaPicker { - margin-right: 25px; + margin-right: 27px; } } diff --git a/dashboard-ui/moviepeople.html b/dashboard-ui/moviepeople.html index 2b7dccb471..dc762638d5 100644 --- a/dashboard-ui/moviepeople.html +++ b/dashboard-ui/moviepeople.html @@ -16,6 +16,8 @@ Studios +
+
diff --git a/dashboard-ui/musicartists.html b/dashboard-ui/musicartists.html index acda5f5b7b..7096aae53c 100644 --- a/dashboard-ui/musicartists.html +++ b/dashboard-ui/musicartists.html @@ -12,6 +12,9 @@ Artists Genres
+ +
+
diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js index ea51f2e013..c05b95dff2 100644 --- a/dashboard-ui/scripts/Itemdetailpage.js +++ b/dashboard-ui/scripts/Itemdetailpage.js @@ -264,7 +264,7 @@ var html = LibraryBrowser.getPosterViewHtml({ items: result.Items, - useAverageAspectRatio: true, + useAverageAspectRatio: item.MediaType != "Game", showNewIndicator: true, shape: item.Type == "MusicAlbum" ? "square" : "portrait" }); @@ -320,7 +320,6 @@ } function renderChildren(page, item) { - var sortBy = item.Type == "Boxset" ? "ProductionYear,SortName" : "SortName"; ApiClient.getItems(Dashboard.getCurrentUserId(), { diff --git a/dashboard-ui/scripts/moviepeople.js b/dashboard-ui/scripts/moviepeople.js index fe74dccc3c..f2914cf978 100644 --- a/dashboard-ui/scripts/moviepeople.js +++ b/dashboard-ui/scripts/moviepeople.js @@ -108,6 +108,19 @@ reloadItems(page); }); + $('.alphabetPicker', this).on('alphaselect', function (e, character) { + + query.NameStartsWith = character; + + reloadItems(page); + + }).on('alphaclear', function (e) { + + query.NameStartsWith = ''; + + reloadItems(page); + }); + }).on('pagebeforeshow', "#moviePeoplePage", function () { var limit = LibraryBrowser.getDefaultPageSize(); @@ -143,6 +156,8 @@ this.checked = filters.indexOf(',' + filterName) != -1; }).checkboxradio('refresh'); + + $('.alphabetPicker', this).alphaValue(query.NameStartsWith); }); })(jQuery, document); \ No newline at end of file diff --git a/dashboard-ui/scripts/musicartists.js b/dashboard-ui/scripts/musicartists.js index b2e749c99f..25bf2bf2cd 100644 --- a/dashboard-ui/scripts/musicartists.js +++ b/dashboard-ui/scripts/musicartists.js @@ -98,6 +98,19 @@ reloadItems(page); }); + $('.alphabetPicker', this).on('alphaselect', function (e, character) { + + query.NameStartsWith = character; + + reloadItems(page); + + }).on('alphaclear', function (e) { + + query.NameStartsWith = ''; + + reloadItems(page); + }); + }).on('pagebeforeshow', "#musicArtistsPage", function () { var limit = LibraryBrowser.getDefaultPageSize(); @@ -126,6 +139,8 @@ }).checkboxradio('refresh'); $('#chkIsOnTour', this).checked(query.IsOnTour === true).checkboxradio('refresh'); + + $('.alphabetPicker', this).alphaValue(query.NameStartsWith); }); })(jQuery, document); \ No newline at end of file diff --git a/dashboard-ui/scripts/tvpeople.js b/dashboard-ui/scripts/tvpeople.js index 26f0e8405f..2e6bbcd53a 100644 --- a/dashboard-ui/scripts/tvpeople.js +++ b/dashboard-ui/scripts/tvpeople.js @@ -108,6 +108,19 @@ reloadItems(page); }); + $('.alphabetPicker', this).on('alphaselect', function (e, character) { + + query.NameStartsWith = character; + + reloadItems(page); + + }).on('alphaclear', function (e) { + + query.NameStartsWith = ''; + + reloadItems(page); + }); + }).on('pagebeforeshow', "#tvPeoplePage", function () { var limit = LibraryBrowser.getDefaultPageSize(); @@ -152,6 +165,8 @@ this.checked = filters.indexOf(',' + filterName) != -1; }).checkboxradio('refresh'); + + $('.alphabetPicker', this).alphaValue(query.NameStartsWith); }); })(jQuery, document); \ No newline at end of file diff --git a/dashboard-ui/tvpeople.html b/dashboard-ui/tvpeople.html index 4061044dd6..b5dbb20a48 100644 --- a/dashboard-ui/tvpeople.html +++ b/dashboard-ui/tvpeople.html @@ -13,6 +13,9 @@ Actors Networks
+ +
+