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

progress on channels api

This commit is contained in:
Luke Pulverenti 2014-03-17 21:45:41 -04:00
parent fdda8549ba
commit 7a6bae9783
13 changed files with 152 additions and 41 deletions

View file

@ -37,7 +37,8 @@
items: result.Items,
shape: "backdrop",
preferThumb: true,
context: 'movies'
context: 'movies',
selectionPanel: true
});
$('.itemsContainer', page).removeClass('timelineItemsContainer');
}
@ -48,7 +49,8 @@
context: 'movies',
useAverageAspectRatio: true,
showTitle: true,
centerText: true
centerText: true,
selectionPanel: true
});
$('.itemsContainer', page).removeClass('timelineItemsContainer');
}
@ -60,14 +62,15 @@
useAverageAspectRatio: true,
showTitle: true,
timeline: true,
centerText: true
centerText: true,
selectionPanel: true
});
$('.itemsContainer', page).addClass('timelineItemsContainer');
}
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
$('#items', page).html(html).trigger('create').createPosterItemMenus();
$('#items', page).html(html).trigger('create').createPosterItemMenus().trigger('listrender');
$('.btnNextPage', page).on('click', function () {
query.StartIndex += query.Limit;