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

improve poster sizing

This commit is contained in:
Luke Pulverenti 2014-08-01 22:34:45 -04:00
parent 48ea645cf9
commit cd1e583fa7
58 changed files with 931 additions and 549 deletions

View file

@ -3,7 +3,6 @@
function reload(page) {
Dashboard.showLoadingMsg();
var screenWidth = $(window).width();
apiClient.getLiveTvRecommendedPrograms({
@ -16,15 +15,15 @@
var html = LibraryBrowser.getPosterViewHtml({
items: result.Items,
shape: "auto",
shape: "homePageSquare",
showTitle: true,
showParentTitle: true,
overlayText: screenWidth >= 600,
overlayText: true,
coverImage: true
});
$('.activeProgramItems', page).html(html).createPosterItemMenus();
$('.activeProgramItems', page).html(html).createCardMenus();
});
apiClient.getLiveTvRecommendedPrograms({
@ -39,15 +38,15 @@
var html = LibraryBrowser.getPosterViewHtml({
items: result.Items,
shape: "auto",
shape: "homePageSquare",
showTitle: true,
showParentTitle: true,
overlayText: screenWidth >= 600,
overlayText: true,
coverImage: true
});
$('.upcomingProgramItems', page).html(html).createPosterItemMenus();
$('.upcomingProgramItems', page).html(html).createCardMenus();
});
}