mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added content type selection
This commit is contained in:
parent
cb560ec779
commit
5ffb518fe0
2 changed files with 17 additions and 15 deletions
|
@ -29,12 +29,6 @@
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li>
|
|
||||||
<label for="chkMyMovieTrailers">${OptionTrailersFromMyMovies}</label>
|
|
||||||
<input type="checkbox" id="chkMyMovieTrailers" data-mini="true" />
|
|
||||||
<div class="fieldDescription">${OptionTrailersFromMyMoviesHelp}</div>
|
|
||||||
<div class="fieldDescription"><a href="http://mediabrowser.tv/community/index.php?/topic/674-media-files-folders-structure/" target="_blank">${ButtonLearnMore}</a></div>
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
<fieldset data-role="controlgroup">
|
<fieldset data-role="controlgroup">
|
||||||
<legend>${LabelSelectInternetTrailersForCinemaMode}</legend>
|
<legend>${LabelSelectInternetTrailersForCinemaMode}</legend>
|
||||||
|
@ -48,6 +42,20 @@
|
||||||
<div class="fieldDescription">${LabelTheseFeaturesRequireSupporterHelpAndTrailers}</div>
|
<div class="fieldDescription">${LabelTheseFeaturesRequireSupporterHelpAndTrailers}</div>
|
||||||
<div class="fieldDescription"><a href="supporter.html">${ButtonLearnMore}</a></div>
|
<div class="fieldDescription"><a href="supporter.html">${ButtonLearnMore}</a></div>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<label for="chkMyMovieTrailers">${OptionTrailersFromMyMovies}</label>
|
||||||
|
<input type="checkbox" id="chkMyMovieTrailers" data-mini="true" />
|
||||||
|
<div class="fieldDescription">${OptionTrailersFromMyMoviesHelp}</div>
|
||||||
|
<div class="fieldDescription"><a href="http://mediabrowser.tv/community/index.php?/topic/674-media-files-folders-structure/" target="_blank">${ButtonLearnMore}</a></div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label for="txtCustomIntrosPath">${LabelCustomIntrosPath}</label>
|
||||||
|
<div style="display: inline-block; width: 92%;">
|
||||||
|
<input type="text" id="txtCustomIntrosPath" />
|
||||||
|
</div>
|
||||||
|
<button id="btnSelectCustomIntrosPath" type="button" data-icon="search" data-iconpos="notext" data-inline="true">${ButtonSelectDirectory}</button>
|
||||||
|
<div class="fieldDescription">${LabelCustomIntrosPathHelp}</div>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="txtNumTrailers">${LabelNumberTrailerToPlay}</label>
|
<label for="txtNumTrailers">${LabelNumberTrailerToPlay}</label>
|
||||||
<input type="number" id="txtNumTrailers" data-mini="true" min="1" max="10" step="1" />
|
<input type="number" id="txtNumTrailers" data-mini="true" min="1" max="10" step="1" />
|
||||||
|
@ -61,14 +69,6 @@
|
||||||
<label for="chkUnwatchedOnly">${LabelLimitIntrosToUnwatchedContent}</label>
|
<label for="chkUnwatchedOnly">${LabelLimitIntrosToUnwatchedContent}</label>
|
||||||
<input type="checkbox" id="chkUnwatchedOnly" data-mini="true" />
|
<input type="checkbox" id="chkUnwatchedOnly" data-mini="true" />
|
||||||
</li>
|
</li>
|
||||||
<li>
|
|
||||||
<label for="txtCustomIntrosPath">${LabelCustomIntrosPath}</label>
|
|
||||||
<div style="display: inline-block; width: 92%;">
|
|
||||||
<input type="text" id="txtCustomIntrosPath" />
|
|
||||||
</div>
|
|
||||||
<button id="btnSelectCustomIntrosPath" type="button" data-icon="search" data-iconpos="notext" data-inline="true">${ButtonSelectDirectory}</button>
|
|
||||||
<div class="fieldDescription">${LabelCustomIntrosPathHelp}</div>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<p>${CinemaModeConfigurationHelp2}</p>
|
<p>${CinemaModeConfigurationHelp2}</p>
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
|
|
|
@ -17,7 +17,9 @@
|
||||||
Dashboard.showLoadingMsg();
|
Dashboard.showLoadingMsg();
|
||||||
|
|
||||||
var promise1 = MetadataEditor.getItemPromise();
|
var promise1 = MetadataEditor.getItemPromise();
|
||||||
var promise2 = ApiClient.getJSON(ApiClient.getUrl('Items/' + MetadataEditor.currentItemId + '/MetadataEditor'));
|
var promise2 = MetadataEditor.currentItemId ?
|
||||||
|
ApiClient.getJSON(ApiClient.getUrl('Items/' + MetadataEditor.currentItemId + '/MetadataEditor')) :
|
||||||
|
{};
|
||||||
|
|
||||||
$.when(promise1, promise2).done(function (response1, response2) {
|
$.when(promise1, promise2).done(function (response1, response2) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue