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

games page changed to graphical poster/backdrop style

This commit is contained in:
Techywarrior 2013-04-28 13:02:14 -07:00
parent ab2bc00795
commit fdd009f29c
3 changed files with 27 additions and 54 deletions

View file

@ -25,9 +25,22 @@
$('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create');
html += LibraryBrowser.getGameTableHtml(result.Items, {
showGameSystem: true
});
if (view == "Backdrop") {
html += LibraryBrowser.getPosterDetailViewHtml({
items: result.Items,
preferBackdrop: true,
context: "games",
shape: "backdrop"
});
}
else if (view == "Poster") {
html += LibraryBrowser.getPosterDetailViewHtml({
items: result.Items,
useAverageAspectRatio: true,
context: "games",
shape: "poster"
});
}
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);