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

improve series recording images

This commit is contained in:
Luke Pulverenti 2016-11-17 13:18:19 -05:00
parent bed569ffa6
commit 736d56fcc4
3 changed files with 10 additions and 9 deletions

View file

@ -188,7 +188,7 @@
html += '<h1 class="listHeader">';
html += item.Name;
html += '</h1>';
html += '<button is="emby-button" type="button" class="raised more mini noIcon hide btnMoreFromGenre btnMoreFromGenre' + item.Id + '" data-id="' + item.Id + '">';
html += '<button is="emby-button" type="button" class="raised more mini hide btnMoreFromGenre btnMoreFromGenre' + item.Id + '" data-id="' + item.Id + '">';
html += '<span>' + globalize.translate('ButtonMore') + '</span>';
html += '</button>';
html += '</div>';

View file

@ -3,7 +3,7 @@
return function (view, params, tabContent) {
var self = this;
var self = this;
var data = {};
function getPageData() {
@ -44,7 +44,7 @@
var query = getQuery();
return ApiClient.getGenres(Dashboard.getCurrentUserId(), query);
}
}
function enableScrollX() {
return browserInfo.mobile && AppInfo.enableAppLayouts;
@ -73,8 +73,8 @@
}, {
passive: true
});
});
function fillItemsContainer(elem) {
var id = elem.getAttribute('data-id');
@ -188,7 +188,7 @@
html += '<h1 class="listHeader">';
html += item.Name;
html += '</h1>';
html += '<button is="emby-button" type="button" class="raised more mini noIcon hide btnMoreFromGenre btnMoreFromGenre' + item.Id + '" data-id="' + item.Id + '">';
html += '<button is="emby-button" type="button" class="raised more mini hide btnMoreFromGenre btnMoreFromGenre' + item.Id + '" data-id="' + item.Id + '">';
html += '<span>' + globalize.translate('ButtonMore') + '</span>';
html += '</button>';
html += '</div>';
@ -211,8 +211,9 @@
Dashboard.hideLoadingMsg();
});
}
self.getViewStyles = function () {
}
self.getViewStyles = function () {
return 'Poster,PosterCard,Thumb,ThumbCard'.split(',');
};