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

games list

This commit is contained in:
Techywarrior 2013-04-28 11:48:32 -07:00
parent 5b432f8c83
commit 353ea30d63
3 changed files with 55 additions and 34 deletions

View file

@ -25,19 +25,9 @@
$('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create');
for (var i = 0, length = result.Items.length; i < length; i++) {
var item = result.Items[i];
//console.log(item);
html += '<tr>';
html += '<td><a href="itemdetails.html?id='+item.Id+'">' + item.Name + '</a></td>';
html += '<td>' + item.DisplayMediaType + '</td>';
html += '<td>' + item.ReleaseYear + '</td>';
html += '<td>' + /*LibraryBrowser.renderGenres('', item, "games")*/ + '</td>';
html += '<td>' + /*LibraryBrowser.renderStudios('', item, "games")*/ + '</td>';
html += '<td>' + /* */ + '</td>';
html += '</tr>';
}
html += LibraryBrowser.getGameTableHtml(result.Items, {
showGameSystem: true
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);