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

remove book options from metadata page

This commit is contained in:
Luke Pulverenti 2013-12-26 09:21:09 -05:00
parent 47aeda67c5
commit c8cd49ffe7
3 changed files with 66 additions and 88 deletions

View file

@ -160,20 +160,6 @@
</div>
</div>
</div>
<div data-role="collapsible">
<h3>Books</h3>
<div>
<div style="padding: 1em 0;">
<label for="txtMaxBookBackdrops">Max number of backdrops per item: </label>
<input type="number" id="txtMaxBookBackdrops" name="txtMaxBookBackdrops" pattern="[0-9]*" required="required" min="1" data-mini="true" />
</div>
<div style="padding: 1em 0;">
<label for="txtMinBookBackdropDownloadWidth">Minimum backdrop download width: </label>
<input type="number" id="txtMinBookBackdropDownloadWidth" name="txtMinBookBackdropDownloadWidth" pattern="[0-9]*" required="required" min="1" data-mini="true" />
</div>
</div>
</div>
<br />
<ul data-role="listview" class="ulForm">
<li>

View file

@ -29,10 +29,6 @@
$('#txtMaxGameBackdrops', page).val(config.GameOptions.MaxBackdrops);
$('#txtMinGameBackdropDownloadWidth', page).val(config.GameOptions.MinBackdropWidth);
// Book options
$('#txtMaxBookBackdrops', page).val(config.BookOptions.MaxBackdrops);
$('#txtMinBookBackdropDownloadWidth', page).val(config.BookOptions.MinBackdropWidth);
$('#chkDownloadMovieArt', page).checked(config.DownloadMovieImages.Art).checkboxradio("refresh");
$('#chkDownloadMovieBackdrops', page).checked(config.DownloadMovieImages.Backdrops).checkboxradio("refresh");
$('#chkDownloadMovieBanner', page).checked(config.DownloadMovieImages.Banner).checkboxradio("refresh");
@ -110,11 +106,6 @@
config.GameOptions.MaxBackdrops = $('#txtMaxGameBackdrops', form).val();
config.GameOptions.MinBackdropWidth = $('#txtMinGameBackdropDownloadWidth', form).val();
// Book options
config.BookOptions.MaxBackdrops = $('#txtMaxBookBackdrops', form).val();
config.BookOptions.MinBackdropWidth = $('#txtMinBookBackdropDownloadWidth', form).val();
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
});

View file

@ -16,7 +16,7 @@
<a href="supporterkey.html" data-role="button" class="ui-btn-active">Supporter Key</a>
<a href="about.html" data-role="button">About</a>
</div>
</div>
<form id="supporterKeyForm">
<div style="margin: 1em 0;">
<label for="txtSupporterKey">MB3 Supporter Key (paste from email)</label>
@ -96,6 +96,7 @@
</div>
</div>
</div>
</div>
<script type="text/javascript">
$('#supporterKeyForm').on('submit', SupporterKeyPage.updateSupporterKey);
$('#lostKeyForm').on('submit', SupporterKeyPage.retrieveSupporterKey);