2013-05-05 18:15:48 -07:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title>Media Browser</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="editItemMetadataPage" data-role="page" class="page libraryPage" data-theme="a">
|
2013-05-22 09:52:22 -07:00
|
|
|
|
<div class="ui-bar-c parentName" style="display: none;">
|
|
|
|
|
</div>
|
2013-05-05 18:15:48 -07:00
|
|
|
|
<div data-role="content">
|
|
|
|
|
<div class="ehsContent">
|
2013-05-22 09:52:22 -07:00
|
|
|
|
<h1 class="itemName detailPageName"></h1>
|
2013-05-05 18:15:48 -07:00
|
|
|
|
<br />
|
|
|
|
|
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
|
|
|
|
<a href="#" data-role="button" class="ui-btn-active">Metadata</a>
|
|
|
|
|
<a href="#" data-role="button" onclick="Dashboard.navigate('edititemimages.html', true);">Images</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
2013-05-22 12:49:12 -07:00
|
|
|
|
<form id="editItemMetadataForm" class="editMetadataForm">
|
|
|
|
|
<div class="metadataFormFields">
|
2013-05-22 15:01:37 -07:00
|
|
|
|
|
|
|
|
|
<div data-role="collapsible" data-collapsed="false">
|
|
|
|
|
<h3>Basics</h3>
|
|
|
|
|
<div>
|
|
|
|
|
<div data-role="fieldcontain">
|
|
|
|
|
<label for="txtName">Name:</label>
|
|
|
|
|
<input type="text" id="txtName" name="txtName" required="required" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain">
|
|
|
|
|
<label for="txtSortName">Sort name:</label>
|
|
|
|
|
<input type="text" id="txtSortName" name="txtSortName" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain">
|
|
|
|
|
<label for="txtDisplayMediaType">Display type:</label>
|
|
|
|
|
<input type="text" id="txtDisplayMediaType" name="txtDisplayMediaType" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldArtist" style="display: none;">
|
|
|
|
|
<label for="txtArtist">Artist:</label>
|
|
|
|
|
<input type="text" id="txtArtist" name="txtArtist" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldAlbumArtist" style="display: none;">
|
|
|
|
|
<label for="txtAlbumArtist">Album artist:</label>
|
|
|
|
|
<input type="text" id="txtAlbumArtist" name="txtAlbumArtist" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldAlbum" style="display: none;">
|
|
|
|
|
<label for="txtAlbum">Album:</label>
|
|
|
|
|
<input type="text" id="txtAlbum" name="txtAlbum" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldParentIndexNumber" style="display: none;">
|
|
|
|
|
<label id="lblParentIndexNumber" for="txtParentIndexNumber">Parent number:</label>
|
|
|
|
|
<input type="number" id="txtParentIndexNumber" name="txtParentIndexNumber" data-mini="true" pattern="[0-9]*" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldIndexNumber" style="display: none;">
|
|
|
|
|
<label id="lblIndexNumber" for="txtIndexNumber">Number:</label>
|
|
|
|
|
<input type="number" id="txtIndexNumber" name="txtIndexNumber" data-mini="true" pattern="[0-9]*" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain">
|
|
|
|
|
<label for="txtCommunityRating">Community rating:</label>
|
|
|
|
|
<input type="number" id="txtCommunityRating" name="txtCommunityRating" step=".1" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldCriticRating" style="display: none;">
|
|
|
|
|
<label for="txtCriticRating">Critic rating:</label>
|
|
|
|
|
<input type="number" id="txtCriticRating" name="txtCriticRating" step=".1" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldCriticRatingSummary" style="display: none;">
|
|
|
|
|
<label for="txtCriticRatingSummary">Critic rating summary:</label>
|
|
|
|
|
<input type="text" id="txtCriticRatingSummary" name="txtCriticRatingSummary" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain">
|
|
|
|
|
<label for="txtHomePageUrl">Website:</label>
|
|
|
|
|
<input type="url" id="txtHomePageUrl" name="txtHomePageUrl" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain">
|
|
|
|
|
<label for="txtPremiereDate">Release date:</label>
|
|
|
|
|
<input type="date" id="txtPremiereDate" name="txtPremiereDate" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldEndDate" style="display: none;">
|
|
|
|
|
<label for="txtEndDate">End date:</label>
|
|
|
|
|
<input type="date" id="txtEndDate" name="txtEndDate" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain">
|
|
|
|
|
<label for="txtProductionYear">Year:</label>
|
|
|
|
|
<input type="number" id="txtProductionYear" name="txtProductionYear" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain">
|
|
|
|
|
<label for="selectOfficialRating">Official rating:</label>
|
|
|
|
|
<select name="selectOfficialRating" id="selectOfficialRating" data-mini="true"></select>
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain">
|
|
|
|
|
<label for="selectCustomRating">Custom rating:</label>
|
|
|
|
|
<select name="selectCustomRating" id="selectCustomRating" data-mini="true"></select>
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldBudget" style="display: none;">
|
|
|
|
|
<label for="txtBudget">Budget ($):</label>
|
|
|
|
|
<input type="number" id="txtBudget" name="txtBudget" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldRevenue" style="display: none;">
|
|
|
|
|
<label for="txtRevenue">Revenue ($):</label>
|
|
|
|
|
<input type="number" id="txtRevenue" name="txtRevenue" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldOriginalAspectRatio" style="display: none;">
|
|
|
|
|
<label for="txtOriginalAspectRatio">Original aspect ratio:</label>
|
|
|
|
|
<input type="text" id="txtOriginalAspectRatio" name="txtOriginalAspectRatio" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" style="display: none;">
|
|
|
|
|
<label for="selectLanguage">Original language:</label>
|
|
|
|
|
<select name="selectLanguage" id="selectLanguage" data-mini="true"></select>
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldPlayers" style="display: none;">
|
|
|
|
|
<label for="txtPlayers">Players:</label>
|
|
|
|
|
<input type="number" id="txtPlayers" name="txtPlayers" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-05-22 12:49:12 -07:00
|
|
|
|
</div>
|
2013-05-22 15:01:37 -07:00
|
|
|
|
<div data-role="collapsible">
|
|
|
|
|
<h3>External Id's</h3>
|
|
|
|
|
<div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldGamesDb" style="display: none;">
|
|
|
|
|
<label for="txtGamesDb">GamesDb:</label>
|
|
|
|
|
<input id="txtGamesDb" name="txtGamesDb" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldImdb" style="display: none;">
|
|
|
|
|
<label for="txtImdb">Imdb:</label>
|
|
|
|
|
<input id="txtImdb" name="txtImdb" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldMusicBrainz" style="display: none;">
|
|
|
|
|
<label for="txtMusicBrainz">MusicBrainz:</label>
|
|
|
|
|
<input id="txtMusicBrainz" name="txtMusicBrainz" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldRottenTomatoes" style="display: none;">
|
|
|
|
|
<label for="txtRottenTomatoes">Rotten Tomatoes:</label>
|
|
|
|
|
<input id="txtRottenTomatoes" name="txtRottenTomatoes" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldTmdb" style="display: none;">
|
|
|
|
|
<label for="txtTmdb">TheMovieDB:</label>
|
|
|
|
|
<input id="txtTmdb" name="txtTmdb" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldTvdb" style="display: none;">
|
|
|
|
|
<label for="txtTvdb">TheTVDB:</label>
|
|
|
|
|
<input id="txtTvdb" name="txtTvdb" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div data-role="fieldcontain" id="fldTvCom" style="display: none;">
|
|
|
|
|
<label for="txtTvCom">TV.com:</label>
|
|
|
|
|
<input id="txtTvCom" name="txtTvCom" data-mini="true" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-05-22 12:49:12 -07:00
|
|
|
|
</div>
|
2013-05-22 15:01:37 -07:00
|
|
|
|
|
|
|
|
|
<br />
|
2013-05-22 12:49:12 -07:00
|
|
|
|
<ul data-role="listview" class="ulForm">
|
|
|
|
|
<li>
|
|
|
|
|
<button type="submit" data-theme="b" data-icon="ok">
|
|
|
|
|
Save
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="metadataFormButtons">
|
|
|
|
|
|
2013-05-22 15:01:37 -07:00
|
|
|
|
<div data-role="collapsible" data-content-theme="a" data-collapsed="false">
|
2013-05-22 12:49:12 -07:00
|
|
|
|
<h3>Refresh Metadata</h3>
|
|
|
|
|
<div>
|
|
|
|
|
<div id="refreshLoading" style="display: none;">
|
|
|
|
|
<div class="circle"></div>
|
|
|
|
|
<div class="circle1"></div>
|
|
|
|
|
<div style="margin-top: -15px;"></div>
|
|
|
|
|
</div>
|
2013-05-22 15:01:37 -07:00
|
|
|
|
<p id="fldRecursive" style="display: none;">
|
|
|
|
|
<label for="chkRecursive">Recursive</label>
|
|
|
|
|
<input type="checkbox" id="chkRecursive" name="chkRecursive" data-mini="true" />
|
|
|
|
|
</p>
|
2013-05-22 12:49:12 -07:00
|
|
|
|
<p>
|
|
|
|
|
<button id="btnRefresh" type="button" data-icon="refresh" data-mini="true" data-theme="b">Refresh</button>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2013-05-05 18:15:48 -07:00
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$('#editItemMetadataForm').on('submit', EditItemMetadataPage.onSubmit);
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|