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

fixes #943 - Add web client filtering by genres, parental ratings, tags and years

This commit is contained in:
Luke Pulverenti 2014-11-09 23:20:11 -05:00
parent 31c16972b0
commit a1535a341b
30 changed files with 592 additions and 394 deletions

View file

@ -1241,7 +1241,12 @@
dataSrc = ' data-src="' + imgUrl + '"';
}
html += '<div class="cardBox">';
var cardboxCssClass = 'cardBox';
if (options.cardLayout) {
cardboxCssClass += ' visualCardBox visualCardBox-b';
}
html += '<div class="' + cardboxCssClass + '">';
html += '<div class="cardScalable">';
html += '<div class="cardPadder"></div>';
@ -1267,13 +1272,6 @@
html += '<div class="unidentifiedIndicator"><div class="ui-icon-alert ui-btn-icon-notext"></div></div>';
}
if (options.selectionPanel) {
var chkItemSelectId = 'chkItemSelect' + i;
// Render this pre-enhanced to save on jquery mobile dom manipulation
html += '<div class="itemSelectionPanel" onclick="return false;" style="display:none;"><div class="ui-checkbox ui-mini"><label class="ui-btn ui-corner-all ui-btn-inherit ui-btn-icon-left ui-checkbox-off" for="' + chkItemSelectId + '">Select</label><input id="' + chkItemSelectId + '" type="checkbox" class="chkItemSelect" data-enhanced="true" /></div></div>';
}
var progressHtml = options.showProgress === false || item.IsFolder ? '' : LibraryBrowser.getItemProgressBarHtml((item.Type == 'Recording' ? item : item.UserData));
var footerOverlayed = false;