diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 3b67e5eca..9e3239df7 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -61,6 +61,10 @@ text-align: left; } +.libraryGridImage { + width: 50px; +} + @media all and (min-width: 650px) { .libraryPage .ui-content { padding: 15px 30px 100px; @@ -79,13 +83,23 @@ .ehsContent { max-width: 800px; } + + .libraryItemsGridContainer { + padding: 0 10%; + } } @media all and (min-width: 1440px) { + .libraryItemsGridContainer { + padding: 0 20%; + } } @media all and (min-width: 1920px) { .ehsContent { max-width: 1000px; } + .libraryItemsGridContainer { + padding: 0 25%; + } } diff --git a/dashboard-ui/scripts/movies.js b/dashboard-ui/scripts/movies.js index 2f2a6810d..dfa923b24 100644 --- a/dashboard-ui/scripts/movies.js +++ b/dashboard-ui/scripts/movies.js @@ -12,15 +12,17 @@ function getTableHtml(items) { - var html = ''; + var html = '
'; html += ''; html += ''; + html += ''; html += ''; html += ''; html += ''; html += ''; + html += ''; html += ''; html += ''; @@ -34,7 +36,7 @@ html += ''; - html += '
 NameYearOfficial RatingRuntimeCommunity Rating
'; + html += ''; return html; } @@ -43,12 +45,36 @@ var html = ''; - html += '' + (item.Name || "") + ''; + html += ''; + + var url = "itemdetails.html?id=" + item.Id; + + var imageTags = item.ImageTags; + + html += ''; + + if (imageTags.Primary) { + + html += ''; + + } + else { + html += ''; + } + + html += ''; + + html += '' + item.Name + ''; html += '' + (item.ProductionYear || "") + ''; html += '' + (item.OfficialRating || "") + ''; - html += '' + (item.OfficialRating || "") + ''; + html += '' + (item.RunTimeTicks || "") + ''; + html += '' + (item.CommunityRating || "") + ''; html += ''; return html; @@ -65,7 +91,7 @@ items: result.Items, useAverageAspectRatio: true - })).html(getTableHtml(result.Items)).trigger('create'); + }))/*.html(getTableHtml(result.Items)).trigger('create')*/; Dashboard.hideLoadingMsg(); }); diff --git a/dashboard-ui/tvrecommended.html b/dashboard-ui/tvrecommended.html index 9dea30e90..59959eefc 100644 --- a/dashboard-ui/tvrecommended.html +++ b/dashboard-ui/tvrecommended.html @@ -13,7 +13,6 @@ Shows Genres Actors - Favorites

Latest Episodes