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

use mblogo instead of home

This commit is contained in:
Luke Pulverenti 2013-04-19 00:27:16 -04:00
parent f44861b09b
commit f9fb418c1d
29 changed files with 431 additions and 409 deletions

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="boxsetPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="boxsetPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Movies</h1> <img src="css/images/mblogoicon.png"></a>Movies</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
@ -42,11 +42,11 @@
</div> </div>
<div data-role="collapsible" id="moviesCollapsible" data-mini="true"> <div data-role="collapsible" id="moviesCollapsible" data-mini="true">
<h3>Titles</h3> <h3><span class="collapsibleTitle">Titles</span></h3>
<div id="moviesContent"></div> <div id="moviesContent"></div>
</div> </div>
<div data-role="collapsible" id="trailersCollapsible" class="hide" data-mini="true"> <div data-role="collapsible" id="trailersCollapsible" class="hide" data-mini="true">
<h3>Trailers</h3> <h3><span class="collapsibleTitle">Trailers</span></h3>
<div id="trailersContent"></div> <div id="trailersContent"></div>
</div> </div>
<div data-role="collapsible" id="galleryCollapsible" data-mini="true"> <div data-role="collapsible" id="galleryCollapsible" data-mini="true">

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="boxsetsPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="boxsetsPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Movies</h1> <img src="css/images/mblogoicon.png"></a>Movies</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="moviesrecommended.html" data-role="button">Suggested</a> <a href="moviesrecommended.html" data-role="button">Suggested</a>

View file

@ -12,7 +12,7 @@
} }
.libraryPageHeader a { .libraryPageHeader a {
margin-right: 20px; margin-right: 15px;
} }
.libraryPage .ui-content { .libraryPage .ui-content {
@ -61,7 +61,7 @@
.listPaging { .listPaging {
text-align: center; text-align: center;
margin: .5em 0; margin: .5em 0 .25em;
} }
@media all and (min-width: 650px) { @media all and (min-width: 650px) {
@ -75,6 +75,16 @@
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
} }
.viewSettings {
margin-bottom: 0;
padding-right: 300px;
}
.topListPaging {
padding-left: 300px;
margin-top: -35px;
}
} }
/*@media all and (min-width: 1000px) { /*@media all and (min-width: 1000px) {

View file

@ -279,7 +279,7 @@ form, .readOnlyContent {
} }
.header { .header {
padding-left: 30px; padding-left: 15px;
padding-top: 15px; padding-top: 15px;
padding-bottom: 15px; padding-bottom: 15px;
} }

View file

@ -1,76 +1,76 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Media Browser</title> <title>Media Browser</title>
</head> </head>
<body> <body>
<div id="gameGenresPage" data-role="page" class="page libraryPage noLogoPage listPage" data-theme="a"> <div id="gameGenresPage" data-role="page" class="page libraryPage noLogoPage listPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Games</h1> <img src="css/images/mblogoicon.png"></a>Games</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="gamesrecommended.html" data-role="button">Suggested</a> <a href="gamesrecommended.html" data-role="button">Suggested</a>
<a href="games.html" data-role="button">Games</a> <a href="games.html" data-role="button">Games</a>
<a href="gamesystems.html" data-role="button">Game Systems</a> <a href="gamesystems.html" data-role="button">Game Systems</a>
<a href="gamegenres.html" data-role="button" class="ui-btn-active">Genres</a> <a href="gamegenres.html" data-role="button" class="ui-btn-active">Genres</a>
<a href="gamestudios.html" data-role="button">Studios</a> <a href="gamestudios.html" data-role="button">Studios</a>
</div> </div>
<div class="viewSettings"> <div class="viewSettings">
<button data-mini="true" data-icon="sort" data-inline="true" onclick="$('#sortPanel', $.mobile.activePage).panel( 'toggle' );">Sort</button> <button data-mini="true" data-icon="sort" data-inline="true" onclick="$('#sortPanel', $.mobile.activePage).panel( 'toggle' );">Sort</button>
<button data-mini="true" data-icon="filter" data-inline="true" onclick="$('#filterPanel', $.mobile.activePage).panel( 'toggle' );">Filter</button> <button data-mini="true" data-icon="filter" data-inline="true" onclick="$('#filterPanel', $.mobile.activePage).panel( 'toggle' );">Filter</button>
</div> </div>
<div id="items"></div> <div id="items"></div>
</div> </div>
<div data-role="panel" id="sortPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true"> <div data-role="panel" id="sortPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true">
<form> <form>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Sort By:</strong> <strong>Sort By:</strong>
</legend> </legend>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioSortName" value="on" checked="checked" data-sortby="SortName" data-mini="true"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioSortName" value="on" checked="checked" data-sortby="SortName" data-mini="true">
<label for="radioSortName">Name</label> <label for="radioSortName">Name</label>
</fieldset> </fieldset>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Sort Order:</strong> <strong>Sort Order:</strong>
</legend> </legend>
<input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioAscending" value="on" checked="checked" data-sortorder="Ascending" data-mini="true"> <input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioAscending" value="on" checked="checked" data-sortorder="Ascending" data-mini="true">
<label for="radioAscending">Ascending</label> <label for="radioAscending">Ascending</label>
<input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioDescending" value="off" data-sortorder="Descending" data-mini="true"> <input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioDescending" value="off" data-sortorder="Descending" data-mini="true">
<label for="radioDescending">Descending</label> <label for="radioDescending">Descending</label>
</fieldset> </fieldset>
</form> </form>
</div> </div>
<div data-role="panel" id="filterPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true"> <div data-role="panel" id="filterPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true">
<form> <form>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Filters:</strong> <strong>Filters:</strong>
</legend> </legend>
<input class="chkStandardFilter" type="checkbox" name="chkIsFavorite" id="chkIsFavorite" data-theme="c" data-filter="IsFavorite" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkIsFavorite" id="chkIsFavorite" data-theme="c" data-filter="IsFavorite" data-mini="true">
<label for="chkIsFavorite">Favorite</label> <label for="chkIsFavorite">Favorite</label>
<input class="chkStandardFilter" type="checkbox" name="chkLikes" id="chkLikes" data-theme="c" data-filter="Likes" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkLikes" id="chkLikes" data-theme="c" data-filter="Likes" data-mini="true">
<label for="chkLikes">Likes</label> <label for="chkLikes">Likes</label>
<input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes" data-mini="true">
<label for="chkDislikes">Dislikes</label> <label for="chkDislikes">Dislikes</label>
</fieldset> </fieldset>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Game System:</strong> <strong>Game System:</strong>
</legend> </legend>
</fieldset> </fieldset>
</form> </form>
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -1,116 +1,116 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Media Browser</title> <title>Media Browser</title>
</head> </head>
<body> <body>
<div id="gamesPage" data-role="page" class="page libraryPage noLogoPage listPage" data-theme="a"> <div id="gamesPage" data-role="page" class="page libraryPage noLogoPage listPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Games</h1> <img src="css/images/mblogoicon.png"></a>Games</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="gamesrecommended.html" data-role="button">Suggested</a> <a href="gamesrecommended.html" data-role="button">Suggested</a>
<a href="games.html" data-role="button" class="ui-btn-active">Games</a> <a href="games.html" data-role="button" class="ui-btn-active">Games</a>
<a href="gamesystems.html" data-role="button">Game Systems</a> <a href="gamesystems.html" data-role="button">Game Systems</a>
<a href="gamegenres.html" data-role="button">Genres</a> <a href="gamegenres.html" data-role="button">Genres</a>
<a href="gamestudios.html" data-role="button">Studios</a> <a href="gamestudios.html" data-role="button">Studios</a>
</div> </div>
<div class="viewSettings"> <div class="viewSettings">
<button data-mini="true" data-icon="sort" data-inline="true" onclick="$('#sortPanel', $.mobile.activePage).panel( 'toggle' );">Sort</button> <button data-mini="true" data-icon="sort" data-inline="true" onclick="$('#sortPanel', $.mobile.activePage).panel( 'toggle' );">Sort</button>
<button data-mini="true" data-icon="filter" data-inline="true" onclick="$('#filterPanel', $.mobile.activePage).panel( 'toggle' );">Filter</button> <button data-mini="true" data-icon="filter" data-inline="true" onclick="$('#filterPanel', $.mobile.activePage).panel( 'toggle' );">Filter</button>
</div> </div>
<table> <table>
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Game System</th> <th>Game System</th>
<th>Release Year</th> <th>Release Year</th>
<th>Genre</th> <th>Genre</th>
<th>Studio</th> <th>Studio</th>
<th>Rating</th> <th>Rating</th>
</tr> </tr>
</thead> </thead>
<tfoot> <tfoot>
<tr> <tr>
<td colspan="6"></td> <td colspan="6"></td>
</tr> </tr>
</tfoot> </tfoot>
<tbody id="items"></tbody> <tbody id="items"></tbody>
</table> </table>
</div> </div>
<div data-role="panel" id="sortPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true"> <div data-role="panel" id="sortPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true">
<form> <form>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Sort By:</strong> <strong>Sort By:</strong>
</legend> </legend>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioSortName" value="on" checked="checked" data-sortby="SortName" data-mini="true"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioSortName" value="on" checked="checked" data-sortby="SortName" data-mini="true">
<label for="radioSortName">Name</label> <label for="radioSortName">Name</label>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioCommunityRating" value="off" data-sortby="CommunityRating" data-mini="true"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioCommunityRating" value="off" data-sortby="CommunityRating" data-mini="true">
<label for="radioCommunityRating">Community Rating</label> <label for="radioCommunityRating">Community Rating</label>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioDateCreated" value="off" data-sortby="DateCreated" data-mini="true"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioDateCreated" value="off" data-sortby="DateCreated" data-mini="true">
<label for="radioDateCreated">Date Added</label> <label for="radioDateCreated">Date Added</label>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioDatePlayed" value="off" data-sortby="DatePlayed" data-mini="true"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioDatePlayed" value="off" data-sortby="DatePlayed" data-mini="true">
<label for="radioDatePlayed">Date Played</label> <label for="radioDatePlayed">Date Played</label>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioPremiereDate" value="off" data-sortby="PremiereDate" data-mini="true"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioPremiereDate" value="off" data-sortby="PremiereDate" data-mini="true">
<label for="radioPremiereDate">Date Released</label> <label for="radioPremiereDate">Date Released</label>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioRandom" value="off" data-sortby="Random" data-mini="true"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioRandom" value="off" data-sortby="Random" data-mini="true">
<label for="radioRandom">Random</label> <label for="radioRandom">Random</label>
</fieldset> </fieldset>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Sort Order:</strong> <strong>Sort Order:</strong>
</legend> </legend>
<input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioAscending" value="on" checked="checked" data-sortorder="Ascending" data-mini="true"> <input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioAscending" value="on" checked="checked" data-sortorder="Ascending" data-mini="true">
<label for="radioAscending">Ascending</label> <label for="radioAscending">Ascending</label>
<input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioDescending" value="off" data-sortorder="Descending" data-mini="true"> <input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioDescending" value="off" data-sortorder="Descending" data-mini="true">
<label for="radioDescending">Descending</label> <label for="radioDescending">Descending</label>
</fieldset> </fieldset>
</form> </form>
</div> </div>
<div data-role="panel" id="filterPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true"> <div data-role="panel" id="filterPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true">
<form> <form>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Filters:</strong> <strong>Filters:</strong>
</legend> </legend>
<input class="chkStandardFilter" type="checkbox" name="chkPlayed" id="chkPlayed" data-theme="c" data-filter="IsPlayed" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkPlayed" id="chkPlayed" data-theme="c" data-filter="IsPlayed" data-mini="true">
<label for="chkPlayed">Played</label> <label for="chkPlayed">Played</label>
<input class="chkStandardFilter" type="checkbox" name="chkUnplayed" id="chkUnplayed" data-theme="c" data-filter="IsUnPlayed" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkUnplayed" id="chkUnplayed" data-theme="c" data-filter="IsUnPlayed" data-mini="true">
<label for="chkUnplayed">Unplayed</label> <label for="chkUnplayed">Unplayed</label>
<input class="chkStandardFilter" type="checkbox" name="chkIsFavorite" id="chkIsFavorite" data-theme="c" data-filter="IsFavorite" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkIsFavorite" id="chkIsFavorite" data-theme="c" data-filter="IsFavorite" data-mini="true">
<label for="chkIsFavorite">Favorite</label> <label for="chkIsFavorite">Favorite</label>
<input class="chkStandardFilter" type="checkbox" name="chkLikes" id="chkLikes" data-theme="c" data-filter="Likes" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkLikes" id="chkLikes" data-theme="c" data-filter="Likes" data-mini="true">
<label for="chkLikes">Likes</label> <label for="chkLikes">Likes</label>
<input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes" data-mini="true">
<label for="chkDislikes">Dislikes</label> <label for="chkDislikes">Dislikes</label>
</fieldset> </fieldset>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Game System:</strong> <strong>Game System:</strong>
</legend> </legend>
</fieldset> </fieldset>
</form> </form>
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -1,38 +1,38 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Media Browser</title> <title>Media Browser</title>
</head> </head>
<body> <body>
<div id="gamesRecommendedPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="gamesRecommendedPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Games</h1> <img src="css/images/mblogoicon.png"></a>Games</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="gamesrecommended.html" data-role="button" class="ui-btn-active">Suggested</a> <a href="gamesrecommended.html" data-role="button" class="ui-btn-active">Suggested</a>
<a href="games.html" data-role="button">Games</a> <a href="games.html" data-role="button">Games</a>
<a href="gamesystems.html" data-role="button">Game Systems</a> <a href="gamesystems.html" data-role="button">Game Systems</a>
<a href="gamegenres.html" data-role="button">Genres</a> <a href="gamegenres.html" data-role="button">Genres</a>
<a href="gamestudios.html" data-role="button">Studios</a> <a href="gamestudios.html" data-role="button">Studios</a>
</div> </div>
<div class="ehsContent"> <div class="ehsContent">
<h1 class="listHeader firstListHeader">Latest Unplayed Games</h1> <h1 class="listHeader firstListHeader">Latest Unplayed Games</h1>
<div id="recentlyAddedItems"> <div id="recentlyAddedItems">
</div> </div>
<div id="resumableSection" style="display: none;"> <div id="resumableSection" style="display: none;">
<h1 class="listHeader">Latest Played Games</h1> <h1 class="listHeader">Latest Played Games</h1>
<div id="resumableItems"> <div id="resumableItems">
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -1,75 +1,75 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Media Browser</title> <title>Media Browser</title>
</head> </head>
<body> <body>
<div id="gameStudiosPage" data-role="page" class="page libraryPage noLogoPage listPage" data-theme="a"> <div id="gameStudiosPage" data-role="page" class="page libraryPage noLogoPage listPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Games</h1> <img src="css/images/mblogoicon.png"></a>Games</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="gamesrecommended.html" data-role="button">Suggested</a> <a href="gamesrecommended.html" data-role="button">Suggested</a>
<a href="games.html" data-role="button">Games</a> <a href="games.html" data-role="button">Games</a>
<a href="gamesystems.html" data-role="button">Game Systems</a> <a href="gamesystems.html" data-role="button">Game Systems</a>
<a href="gamegenres.html" data-role="button">Genres</a> <a href="gamegenres.html" data-role="button">Genres</a>
<a href="gamestudios.html" data-role="button" class="ui-btn-active">Studios</a> <a href="gamestudios.html" data-role="button" class="ui-btn-active">Studios</a>
</div> </div>
<div class="viewSettings"> <div class="viewSettings">
<button data-mini="true" data-icon="sort" data-inline="true" onclick="$('#sortPanel', $.mobile.activePage).panel( 'toggle' );">Sort</button> <button data-mini="true" data-icon="sort" data-inline="true" onclick="$('#sortPanel', $.mobile.activePage).panel( 'toggle' );">Sort</button>
<button data-mini="true" data-icon="filter" data-inline="true" onclick="$('#filterPanel', $.mobile.activePage).panel( 'toggle' );">Filter</button> <button data-mini="true" data-icon="filter" data-inline="true" onclick="$('#filterPanel', $.mobile.activePage).panel( 'toggle' );">Filter</button>
</div> </div>
<div id="items"></div> <div id="items"></div>
</div> </div>
<div data-role="panel" id="sortPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true"> <div data-role="panel" id="sortPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true">
<form> <form>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Sort By:</strong> <strong>Sort By:</strong>
</legend> </legend>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioSortName" value="on" checked="checked" data-sortby="SortName" data-mini="true"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioSortName" value="on" checked="checked" data-sortby="SortName" data-mini="true">
<label for="radioSortName">Name</label> <label for="radioSortName">Name</label>
</fieldset> </fieldset>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Sort Order:</strong> <strong>Sort Order:</strong>
</legend> </legend>
<input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioAscending" value="on" checked="checked" data-sortorder="Ascending" data-mini="true"> <input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioAscending" value="on" checked="checked" data-sortorder="Ascending" data-mini="true">
<label for="radioAscending">Ascending</label> <label for="radioAscending">Ascending</label>
<input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioDescending" value="off" data-sortorder="Descending" data-mini="true"> <input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioDescending" value="off" data-sortorder="Descending" data-mini="true">
<label for="radioDescending">Descending</label> <label for="radioDescending">Descending</label>
</fieldset> </fieldset>
</form> </form>
</div> </div>
<div data-role="panel" id="filterPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true"> <div data-role="panel" id="filterPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true">
<form> <form>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Filters:</strong> <strong>Filters:</strong>
</legend> </legend>
<input class="chkStandardFilter" type="checkbox" name="chkIsFavorite" id="chkIsFavorite" data-theme="c" data-filter="IsFavorite" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkIsFavorite" id="chkIsFavorite" data-theme="c" data-filter="IsFavorite" data-mini="true">
<label for="chkIsFavorite">Favorite</label> <label for="chkIsFavorite">Favorite</label>
<input class="chkStandardFilter" type="checkbox" name="chkLikes" id="chkLikes" data-theme="c" data-filter="Likes" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkLikes" id="chkLikes" data-theme="c" data-filter="Likes" data-mini="true">
<label for="chkLikes">Likes</label> <label for="chkLikes">Likes</label>
<input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes" data-mini="true"> <input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes" data-mini="true">
<label for="chkDislikes">Dislikes</label> <label for="chkDislikes">Dislikes</label>
</fieldset> </fieldset>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<strong>Game Systems:</strong> <strong>Game Systems:</strong>
</legend> </legend>
</fieldset> </fieldset>
</form> </form>
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="gamesystemPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="gamesystemPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Games</h1> <img src="css/images/mblogoicon.png"></a>Games</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">

View file

@ -1,76 +1,76 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Media Browser</title> <title>Media Browser</title>
</head> </head>
<body> <body>
<div id="gamesystemsPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="gamesystemsPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Games</h1> <img src="css/images/mblogoicon.png"></a>Games</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="gamesrecommended.html" data-role="button">Suggested</a> <a href="gamesrecommended.html" data-role="button">Suggested</a>
<a href="games.html" data-role="button">Games</a> <a href="games.html" data-role="button">Games</a>
<a href="gamesystems.html" data-role="button" class="ui-btn-active">Game Systems</a> <a href="gamesystems.html" data-role="button" class="ui-btn-active">Game Systems</a>
<a href="gamegenres.html" data-role="button">Genres</a> <a href="gamegenres.html" data-role="button">Genres</a>
<a href="gamestudios.html" data-role="button">Studios</a> <a href="gamestudios.html" data-role="button">Studios</a>
</div> </div>
<div class="viewSettings"> <div class="viewSettings">
<button data-mini="true" data-icon="sort" data-inline="true" onclick="$('#sortPanel', $.mobile.activePage).panel( 'toggle' );">Sort</button> <button data-mini="true" data-icon="sort" data-inline="true" onclick="$('#sortPanel', $.mobile.activePage).panel( 'toggle' );">Sort</button>
<button data-mini="true" data-icon="filter" data-inline="true" onclick="$('#filterPanel', $.mobile.activePage).panel( 'toggle' );">Filter</button> <button data-mini="true" data-icon="filter" data-inline="true" onclick="$('#filterPanel', $.mobile.activePage).panel( 'toggle' );">Filter</button>
</div> </div>
<div id="items"></div> <div id="items"></div>
</div> </div>
<div data-role="panel" id="sortPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true"> <div data-role="panel" id="sortPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true">
<form> <form>
<div id="sortpanel"> <div id="sortpanel">
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<h3>Sort By:</h3> <h3>Sort By:</h3>
</legend> </legend>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioSortName" value="on" checked="checked" data-sortby="SortName"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioSortName" value="on" checked="checked" data-sortby="SortName">
<label for="radioSortName">Name</label> <label for="radioSortName">Name</label>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioCommunityRating" value="off" data-sortby="CommunityRating"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioCommunityRating" value="off" data-sortby="CommunityRating">
<label for="radioCommunityRating">Community Rating</label> <label for="radioCommunityRating">Community Rating</label>
<input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioDateCreated" value="off" data-sortby="DateCreated"> <input class="radioSortBy" data-theme="c" type="radio" name="radioSortBy" id="radioDateCreated" value="off" data-sortby="DateCreated">
<label for="radioDateCreated">Date Added</label> <label for="radioDateCreated">Date Added</label>
</fieldset> </fieldset>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<h3>Sort Order:</h3> <h3>Sort Order:</h3>
</legend> </legend>
<input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioAscending" value="on" checked="checked" data-sortorder="Ascending"> <input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioAscending" value="on" checked="checked" data-sortorder="Ascending">
<label for="radioAscending">Ascending</label> <label for="radioAscending">Ascending</label>
<input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioDescending" value="off" data-sortorder="Descending"> <input class="radioSortOrder" data-theme="c" type="radio" name="radioSortOrder" id="radioDescending" value="off" data-sortorder="Descending">
<label for="radioDescending">Descending</label> <label for="radioDescending">Descending</label>
</fieldset> </fieldset>
</div> </div>
</form> </form>
</div> </div>
<div data-role="panel" id="filterPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true"> <div data-role="panel" id="filterPanel" data-position="right" data-display="overlay" data-theme="b" data-position-fixed="true">
<form> <form>
<fieldset data-role="controlgroup"> <fieldset data-role="controlgroup">
<legend> <legend>
<h3>Filters:</h3> <h3>Filters:</h3>
</legend> </legend>
<input class="chkStandardFilter" type="checkbox" name="chkIsFavorite" id="chkIsFavorite" data-theme="c" data-filter="IsFavorite"> <input class="chkStandardFilter" type="checkbox" name="chkIsFavorite" id="chkIsFavorite" data-theme="c" data-filter="IsFavorite">
<label for="chkIsFavorite">Favorite</label> <label for="chkIsFavorite">Favorite</label>
<input class="chkStandardFilter" type="checkbox" name="chkLikes" id="chkLikes" data-theme="c" data-filter="Likes"> <input class="chkStandardFilter" type="checkbox" name="chkLikes" id="chkLikes" data-theme="c" data-filter="Likes">
<label for="chkLikes">Likes</label> <label for="chkLikes">Likes</label>
<input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes"> <input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes">
<label for="chkDislikes">Dislikes</label> <label for="chkDislikes">Dislikes</label>
</fieldset> </fieldset>
</form> </form>
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="movieGenresPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="movieGenresPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Movies</h1> <img src="css/images/mblogoicon.png"></a>Movies</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="moviesrecommended.html" data-role="button">Suggested</a> <a href="moviesrecommended.html" data-role="button">Suggested</a>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="moviePeoplePage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="moviePeoplePage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Movies</h1> <img src="css/images/mblogoicon.png"></a>Movies</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="moviesrecommended.html" data-role="button">Suggested</a> <a href="moviesrecommended.html" data-role="button">Suggested</a>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="moviesPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="moviesPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Movies</h1> <img src="css/images/mblogoicon.png"></a>Movies</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="moviesrecommended.html" data-role="button">Suggested</a> <a href="moviesrecommended.html" data-role="button">Suggested</a>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="moviesRecommendedPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="moviesRecommendedPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Movies</h1> <img src="css/images/mblogoicon.png"></a>Movies</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="moviesrecommended.html" data-role="button" class="ui-btn-active">Suggested</a> <a href="moviesrecommended.html" data-role="button" class="ui-btn-active">Suggested</a>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="movieStudiosPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="movieStudiosPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Movies</h1> <img src="css/images/mblogoicon.png"></a>Movies</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="moviesrecommended.html" data-role="button">Suggested</a> <a href="moviesrecommended.html" data-role="button">Suggested</a>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="movieTrailersPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="movieTrailersPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Movies</h1> <img src="css/images/mblogoicon.png"></a>Movies</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="moviesrecommended.html" data-role="button">Suggested</a> <a href="moviesrecommended.html" data-role="button">Suggested</a>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="musicRecommendedPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="musicRecommendedPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Music</h1> <img src="css/images/mblogoicon.png"></a>Music</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="musicrecommended.html" data-role="button" class="ui-btn-active">Suggested</a> <a href="musicrecommended.html" data-role="button" class="ui-btn-active">Suggested</a>

View file

@ -1,42 +1,48 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title></title> <title></title>
</head> </head>
<body> <body>
<div id="playlistPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="playlistPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Now Playing</h1> <img src="css/images/mblogoicon.png"></a>Now Playing</h1>
<div data-role="content"> <div data-role="content">
<table id="playlistTable"> <table id="playlistTable">
<thead> <thead>
<tr> <tr>
<th></th> <th></th>
<th>Name</th> <th>Name</th>
<th>Series/Album/Year</th> <th>Series/Album/Year</th>
<th>Time</th> <th>Time</th>
<th>Rating</th> <th>Rating</th>
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
<tfoot> <tfoot>
<tr> <tr>
<td colspan="5"></td> <td colspan="5"></td>
</tr> </tr>
</tfoot> </tfoot>
<tbody id="queueTable"></tbody> <tbody id="queueTable"></tbody>
</table> </table>
</div> </div>
</div> </div>
<!-- temp styling --> <!-- temp styling -->
<style> <style>
#playlistTable {width:80%;margin:auto;} #playlistTable {
#playlistTable th, #playlistTable td {padding:4px 10px;} width: 80%;
</style> margin: auto;
}
#playlistTable th, #playlistTable td {
padding: 4px 10px;
}
</style>
</body> </body>
</html> </html>

View file

@ -28,6 +28,8 @@
$('#galleryCollapsible', page).hide(); $('#galleryCollapsible', page).hide();
} }
$('#moviesCollapsible .collapsibleTitle', page).html('Titles (' + item.ChildCount + ')');
Dashboard.hideLoadingMsg(); Dashboard.hideLoadingMsg();
}); });
} }

View file

@ -719,7 +719,7 @@ var Dashboard = {
var html = '<div class="content-secondary ui-bar-a toolsSidebar">'; var html = '<div class="content-secondary ui-bar-a toolsSidebar">';
html += '<h1><a href="index.html" class="imageLink" style="margin-left: 0;margin-right: 20px;"> <img src="css/images/home.png" /></a>Tools</h1>'; html += '<h1><a href="index.html" class="imageLink" style="margin-left: 0;margin-right: 20px;"> <img src="css/images/mblogoicon.png" /></a>Tools</h1>';
html += '<div class="sidebarLinks">'; html += '<div class="sidebarLinks">';

View file

@ -30,6 +30,8 @@
$('#galleryCollapsible', page).hide(); $('#galleryCollapsible', page).hide();
} }
$('#episodesCollapsible .collapsibleTitle', page).html('Episodes (' + item.ChildCount + ')');
Dashboard.hideLoadingMsg(); Dashboard.hideLoadingMsg();
}); });
} }

View file

@ -1,6 +1,6 @@
(function ($, document, LibraryBrowser, window) { (function ($, document, LibraryBrowser, window) {
var currentItem; var currentItem;
function reload(page) { function reload(page) {
@ -10,9 +10,9 @@
ApiClient.getItem(Dashboard.getCurrentUserId(), id).done(function (item) { ApiClient.getItem(Dashboard.getCurrentUserId(), id).done(function (item) {
currentItem = item; currentItem = item;
var name = item.Name; var name = item.Name;
$('#itemImage', page).html(LibraryBrowser.getDetailImageHtml(item)); $('#itemImage', page).html(LibraryBrowser.getDetailImageHtml(item));
@ -20,30 +20,30 @@
$('#itemName', page).html(name); $('#itemName', page).html(name);
setInitialCollapsibleState(page, item); setInitialCollapsibleState(page, item);
renderDetails(page, item); renderDetails(page, item);
if (LibraryBrowser.shouldDisplayGallery(item)) { if (LibraryBrowser.shouldDisplayGallery(item)) {
$('#galleryCollapsible', page).show(); $('#galleryCollapsible', page).show();
} else { } else {
$('#galleryCollapsible', page).hide(); $('#galleryCollapsible', page).hide();
} }
Dashboard.hideLoadingMsg(); Dashboard.hideLoadingMsg();
}); });
} }
function setInitialCollapsibleState(page, item) { function setInitialCollapsibleState(page, item) {
if (!item.People || !item.People.length) { if (!item.People || !item.People.length) {
$('#castCollapsible', page).hide(); $('#castCollapsible', page).hide();
} else { } else {
$('#castCollapsible', page).show(); $('#castCollapsible', page).show();
} }
} }
function renderDetails(page, item) { function renderDetails(page, item) {
if (item.Taglines && item.Taglines.length) { if (item.Taglines && item.Taglines.length) {
$('#itemTagline', page).html(item.Taglines[0]).show(); $('#itemTagline', page).html(item.Taglines[0]).show();
} else { } else {
@ -69,27 +69,29 @@
$('#itemMiscInfo', page).html(LibraryBrowser.getMiscInfoHtml(item)); $('#itemMiscInfo', page).html(LibraryBrowser.getMiscInfoHtml(item));
$('#seasonsCollapsible .collapsibleTitle', page).html('Seasons (' + item.ChildCount + ')');
LibraryBrowser.renderPremiereDate($('#itemPremiereDate', page), item); LibraryBrowser.renderPremiereDate($('#itemPremiereDate', page), item);
LibraryBrowser.renderGenres($('#itemGenres', page), item); LibraryBrowser.renderGenres($('#itemGenres', page), item);
LibraryBrowser.renderStudios($('#itemStudios', page), item); LibraryBrowser.renderStudios($('#itemStudios', page), item);
renderUserDataIcons(page, item); renderUserDataIcons(page, item);
LibraryBrowser.renderLinks($('#itemLinks', page), item); LibraryBrowser.renderLinks($('#itemLinks', page), item);
} }
function renderUserDataIcons(page, item) { function renderUserDataIcons(page, item) {
$('#itemRatings', page).html(LibraryBrowser.getUserDataIconsHtml(item)); $('#itemRatings', page).html(LibraryBrowser.getUserDataIconsHtml(item));
} }
function renderSeasons(page) { function renderSeasons(page) {
ApiClient.getItems(Dashboard.getCurrentUserId(), { ApiClient.getItems(Dashboard.getCurrentUserId(), {
ParentId: getParameterByName('id'), ParentId: getParameterByName('id'),
SortBy: "SortName", SortBy: "SortName",
Fields: "PrimaryImageAspectRatio,ItemCounts,DisplayMediaType,DateCreated,UserData" Fields: "PrimaryImageAspectRatio,ItemCounts,DisplayMediaType,DateCreated,UserData"
}).done(function(result) { }).done(function (result) {
var html = LibraryBrowser.getPosterDetailViewHtml({ var html = LibraryBrowser.getPosterDetailViewHtml({
items: result.Items, items: result.Items,
useAverageAspectRatio: true useAverageAspectRatio: true
@ -99,62 +101,62 @@
}); });
} }
function renderGallery(page, item) { function renderGallery(page, item) {
var html = LibraryBrowser.getGalleryHtml(item); var html = LibraryBrowser.getGalleryHtml(item);
$('#galleryContent', page).html(html).trigger('create'); $('#galleryContent', page).html(html).trigger('create');
} }
function renderCast(page, item) { function renderCast(page, item) {
var html = ''; var html = '';
var casts = item.People || []; var casts = item.People || [];
for (var i = 0, length = casts.length; i < length; i++) { for (var i = 0, length = casts.length; i < length; i++) {
var cast = casts[i]; var cast = casts[i];
html += LibraryBrowser.createCastImage(cast); html += LibraryBrowser.createCastImage(cast);
} }
$('#castContent', page).html(html); $('#castContent', page).html(html);
} }
$(document).on('pageshow', "#tvSeriesPage", function () { $(document).on('pageshow', "#tvSeriesPage", function () {
var page = this; var page = this;
reload(page); reload(page);
$('#seasonsCollapsible', page).on('expand.lazyload', function () { $('#seasonsCollapsible', page).on('expand.lazyload', function () {
renderSeasons(page); renderSeasons(page);
$(this).off('expand.lazyload'); $(this).off('expand.lazyload');
}); });
$('#castCollapsible', page).on('expand.lazyload', function () { $('#castCollapsible', page).on('expand.lazyload', function () {
renderCast(page, currentItem); renderCast(page, currentItem);
$(this).off('expand.lazyload'); $(this).off('expand.lazyload');
}); });
$('#galleryCollapsible', page).on('expand.lazyload', function () { $('#galleryCollapsible', page).on('expand.lazyload', function () {
renderGallery(page, currentItem); renderGallery(page, currentItem);
$(this).off('expand.lazyload'); $(this).off('expand.lazyload');
}); });
}).on('pagehide', "#tvSeriesPage", function () { }).on('pagehide', "#tvSeriesPage", function () {
currentItem = null; currentItem = null;
var page = this; var page = this;
$('#seasonsCollapsible', page).off('expand.lazyload'); $('#seasonsCollapsible', page).off('expand.lazyload');
$('#castCollapsible', page).off('expand.lazyload'); $('#castCollapsible', page).off('expand.lazyload');
$('#galleryCollapsible', page).off('expand.lazyload'); $('#galleryCollapsible', page).off('expand.lazyload');
}); });
})(jQuery, document, LibraryBrowser, window); })(jQuery, document, LibraryBrowser, window);

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="tvGenresPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="tvGenresPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>TV Shows</h1> <img src="css/images/mblogoicon.png"></a>TV Shows</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="tvrecommended.html" data-role="button">Suggested</a> <a href="tvrecommended.html" data-role="button">Suggested</a>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="tvPeoplePage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="tvPeoplePage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>TV Shows</h1> <img src="css/images/mblogoicon.png"></a>TV Shows</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="tvrecommended.html" data-role="button">Suggested</a> <a href="tvrecommended.html" data-role="button">Suggested</a>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="tvRecommendedPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="tvRecommendedPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>TV Shows</h1> <img src="css/images/mblogoicon.png"></a>TV Shows</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="tvrecommended.html" data-role="button" class="ui-btn-active">Suggested</a> <a href="tvrecommended.html" data-role="button" class="ui-btn-active">Suggested</a>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="tvSeasonPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="tvSeasonPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>TV Shows</h1> <img src="css/images/mblogoicon.png"></a>TV Shows</h1>
<div data-role="content"> <div data-role="content">
@ -44,11 +44,11 @@
</div> </div>
<div data-role="collapsible" id="episodesCollapsible" data-mini="true"> <div data-role="collapsible" id="episodesCollapsible" data-mini="true">
<h3>Episodes</h3> <h3><span class="collapsibleTitle">Episodes</span></h3>
<div id="episodesContent"></div> <div id="episodesContent"></div>
</div> </div>
<div data-role="collapsible" id="trailersCollapsible" class="hide" data-mini="true"> <div data-role="collapsible" id="trailersCollapsible" class="hide" data-mini="true">
<h3>Trailers</h3> <h3><span class="collapsibleTitle">Trailers</span></h3>
<div id="trailersContent"></div> <div id="trailersContent"></div>
</div> </div>
<div data-role="collapsible" id="castCollapsible" class="hide" data-mini="true"> <div data-role="collapsible" id="castCollapsible" class="hide" data-mini="true">

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="tvSeriesPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="tvSeriesPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>TV Shows</h1> <img src="css/images/mblogoicon.png"></a>TV Shows</h1>
<div data-role="content"> <div data-role="content">
@ -43,11 +43,11 @@
</div> </div>
<div data-role="collapsible" id="seasonsCollapsible" data-mini="true"> <div data-role="collapsible" id="seasonsCollapsible" data-mini="true">
<h3>Seasons</h3> <h3><span class="collapsibleTitle">Seasons</span></h3>
<div id="seasonsContent"></div> <div id="seasonsContent"></div>
</div> </div>
<div data-role="collapsible" id="trailersCollapsible" class="hide" data-mini="true"> <div data-role="collapsible" id="trailersCollapsible" class="hide" data-mini="true">
<h3>Trailers</h3> <h3><span class="collapsibleTitle">Trailers</span></h3>
<div id="trailersContent"></div> <div id="trailersContent"></div>
</div> </div>
<div data-role="collapsible" id="castCollapsible" class="hide" data-mini="true"> <div data-role="collapsible" id="castCollapsible" class="hide" data-mini="true">

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="tvShowsPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="tvShowsPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>TV Shows</h1> <img src="css/images/mblogoicon.png"></a>TV Shows</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="tvrecommended.html" data-role="button">Suggested</a> <a href="tvrecommended.html" data-role="button">Suggested</a>

View file

@ -6,7 +6,7 @@
<body> <body>
<div id="tvStudiosPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a"> <div id="tvStudiosPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink"> <h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>TV Shows</h1> <img src="css/images/mblogoicon.png"></a>TV Shows</h1>
<div data-role="content"> <div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="tvrecommended.html" data-role="button">Suggested</a> <a href="tvrecommended.html" data-role="button">Suggested</a>