added studio and people placeholder pages

This commit is contained in:
Luke Pulverenti 2013-04-11 18:09:08 -04:00
parent 6f3b88353e
commit b90eabc00a
17 changed files with 98 additions and 19 deletions

View File

@ -14,14 +14,12 @@
<a href="movies.html" data-role="button">Movies</a>
<a href="boxsets.html" data-role="button" class="ui-btn-active">Box Sets</a>
<a href="moviegenres.html" data-role="button">Genres</a>
<a href="#" data-role="button">Actors</a>
<a href="#" data-role="button">Directors</a>
<a href="moviepeople.html" data-role="button">People</a>
<a href="moviestudios.html" data-role="button">Studios</a>
</div>
<h1 id="seriesName" style="padding-left: 10px; margin: 0;" class="hide"></h1>
<h1 id="itemName" style="padding-left: 10px; margin: 0;"></h1>
<div class="detailPagePrimaryInfo">
<h1 id="itemName" class="detailPageName"></h1>
<div class="itemImageBlock">
<div id="itemMedia" style="position: relative;">
<div id="itemImage"></div>

View File

@ -13,8 +13,8 @@
<a href="movies.html" data-role="button">Movies</a>
<a href="boxsets.html" data-role="button" class="ui-btn-active">Box Sets</a>
<a href="moviegenres.html" data-role="button">Genres</a>
<a href="#" data-role="button">Actors</a>
<a href="#" data-role="button">Directors</a>
<a href="moviepeople.html" data-role="button">People</a>
<a href="moviestudios.html" data-role="button">Studios</a>
</div>
<div class="viewSettings">
<button data-mini="true" data-icon="sort" data-inline="true" onclick="$('#sortPanel', $.mobile.activePage).panel( 'toggle' );">Sort</button>

View File

@ -106,6 +106,10 @@
}
}
.detailPageName {
margin: 0 0 5px;
}
.detailPagePrimaryInfo {
padding: 0 10px;
}

View File

@ -8,6 +8,8 @@
<div data-role="content">
<div class="detailPagePrimaryInfo">
<h1 id="itemName" class="detailPageName"></h1>
<div class="itemImageBlock">
<div id="itemMedia" style="position: relative;">
<div id="itemImage"></div>

View File

@ -7,10 +7,10 @@
<div id="itemDetailPage" data-role="page" class="page libraryPage" data-theme="a">
<div data-role="content">
<h1 id="seriesName" style="padding-left: 10px; margin: 0;" class="hide"></h1>
<h1 id="itemName" style="padding-left: 10px; margin: 0;"></h1>
<div class="detailPagePrimaryInfo">
<h1 id="seriesName" class="detailPageName hide"></h1>
<h1 id="itemName" class="detailPageName"></h1>
<div class="itemImageBlock">
<div id="itemMedia" style="position: relative;">
<div id="itemImage"></div>

View File

@ -13,8 +13,8 @@
<a href="movies.html" data-role="button">Movies</a>
<a href="boxsets.html" data-role="button">Box Sets</a>
<a href="moviegenres.html" data-role="button" class="ui-btn-active">Genres</a>
<a href="#" data-role="button">Actors</a>
<a href="#" data-role="button">Directors</a>
<a href="moviepeople.html" data-role="button">People</a>
<a href="moviestudios.html" data-role="button">Studios</a>
</div>
<div class="viewSettings">
</div>

View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title>Media Browser</title>
</head>
<body>
<div id="moviePeoplePage" data-role="page" class="page libraryPage noLogoPage listPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Movies</h1>
<div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="moviesrecommended.html" data-role="button">Suggested</a>
<a href="movies.html" data-role="button">Movies</a>
<a href="boxsets.html" data-role="button">Box Sets</a>
<a href="moviegenres.html" data-role="button">Genres</a>
<a href="moviepeople.html" data-role="button" class="ui-btn-active">People</a>
<a href="moviestudios.html" data-role="button">Studios</a>
</div>
<div class="viewSettings">
</div>
<div id="items"></div>
</div>
</div>
</body>
</html>

View File

@ -13,8 +13,8 @@
<a href="movies.html" data-role="button" class="ui-btn-active">Movies</a>
<a href="boxsets.html" data-role="button">Box Sets</a>
<a href="moviegenres.html" data-role="button">Genres</a>
<a href="#" data-role="button">Actors</a>
<a href="#" data-role="button">Directors</a>
<a href="moviepeople.html" data-role="button">People</a>
<a href="moviestudios.html" data-role="button">Studios</a>
</div>
<div class="viewSettings">
<div style="display: inline-block;">

View File

@ -13,8 +13,8 @@
<a href="movies.html" data-role="button">Movies</a>
<a href="boxsets.html" data-role="button">Box Sets</a>
<a href="moviegenres.html" data-role="button">Genres</a>
<a href="#" data-role="button">Actors</a>
<a href="#" data-role="button">Directors</a>
<a href="moviepeople.html" data-role="button">People</a>
<a href="moviestudios.html" data-role="button">Studios</a>
</div>
<div class="ehsContent">

View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title>Media Browser</title>
</head>
<body>
<div id="movieStudiosPage" data-role="page" class="page libraryPage noLogoPage listPage" data-theme="a">
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
<img src="css/images/home.png"></a>Movies</h1>
<div data-role="content">
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
<a href="moviesrecommended.html" data-role="button">Suggested</a>
<a href="movies.html" data-role="button">Movies</a>
<a href="boxsets.html" data-role="button">Box Sets</a>
<a href="moviegenres.html" data-role="button">Genres</a>
<a href="moviepeople.html" data-role="button">People</a>
<a href="moviestudios.html" data-role="button" class="ui-btn-active">Studios</a>
</div>
<div class="viewSettings">
</div>
<div id="items"></div>
</div>
</div>
</body>
</html>

View File

@ -150,6 +150,15 @@
if (item.Type == "BoxSet") {
return "boxset.html?id=" + item.Id;
}
if (item.Type == "Genre") {
return "itembynamedetails.html?genre=" + item.Name;
}
if (item.Type == "Studio") {
return "itembynamedetails.html?studio=" + item.Name;
}
if (item.Type == "Person") {
return "itembynamedetails.html?person=" + item.Name;
}
return item.IsFolder ? (item.Id ? "itemList.html?parentId=" + item.Id : "#") : "itemdetails.html?id=" + item.Id;

View File

@ -0,0 +1 @@


View File

@ -74,7 +74,8 @@
$('#trailerItems', page).html(LibraryBrowser.getPosterViewHtml({
items: result.Items,
useAverageAspectRatio: true
useAverageAspectRatio: true,
showNewIndicator: false
}));
});

View File

@ -0,0 +1 @@


View File

@ -0,0 +1 @@


View File

@ -17,9 +17,10 @@
<a href="#" data-role="button">Actors</a>
</div>
<h1 id="itemName" style="padding-left: 10px; margin: 0;"></h1>
<div class="detailPagePrimaryInfo">
<h1 id="itemName" class="detailPageName"></h1>
<div class="itemImageBlock">
<div id="itemMedia" style="position: relative;">
<div id="itemImage"></div>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
</body>
</html>