fixes #944 - Add card views

This commit is contained in:
Luke Pulverenti 2014-11-10 22:41:19 -05:00
parent a1535a341b
commit c6064c9e96
27 changed files with 321 additions and 69 deletions

View file

@ -49,8 +49,21 @@
context: 'music',
showTitle: true,
showParentTitle: true,
lazy: true
});
$('.itemsContainer', page).removeClass('timelineItemsContainer');
}
else if (view == "PosterCard") {
html = LibraryBrowser.getPosterViewHtml({
items: result.Items,
shape: "square",
context: 'music',
showTitle: true,
coverImage: true,
showParentTitle: true,
lazy: true,
selectionPanel: true
cardLayout: true
});
$('.itemsContainer', page).removeClass('timelineItemsContainer');
}
@ -71,8 +84,7 @@
showTitle: true,
showParentTitle: true,
timeline: true,
lazy: true,
selectionPanel: true
lazy: true
});
$('.itemsContainer', page).addClass('timelineItemsContainer');
}