remove book options from metadata page
This commit is contained in:
parent
47aeda67c5
commit
c8cd49ffe7
3 changed files with 66 additions and 88 deletions
|
@ -160,20 +160,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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 />
|
<br />
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -29,10 +29,6 @@
|
||||||
$('#txtMaxGameBackdrops', page).val(config.GameOptions.MaxBackdrops);
|
$('#txtMaxGameBackdrops', page).val(config.GameOptions.MaxBackdrops);
|
||||||
$('#txtMinGameBackdropDownloadWidth', page).val(config.GameOptions.MinBackdropWidth);
|
$('#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");
|
$('#chkDownloadMovieArt', page).checked(config.DownloadMovieImages.Art).checkboxradio("refresh");
|
||||||
$('#chkDownloadMovieBackdrops', page).checked(config.DownloadMovieImages.Backdrops).checkboxradio("refresh");
|
$('#chkDownloadMovieBackdrops', page).checked(config.DownloadMovieImages.Backdrops).checkboxradio("refresh");
|
||||||
$('#chkDownloadMovieBanner', page).checked(config.DownloadMovieImages.Banner).checkboxradio("refresh");
|
$('#chkDownloadMovieBanner', page).checked(config.DownloadMovieImages.Banner).checkboxradio("refresh");
|
||||||
|
@ -110,11 +106,6 @@
|
||||||
config.GameOptions.MaxBackdrops = $('#txtMaxGameBackdrops', form).val();
|
config.GameOptions.MaxBackdrops = $('#txtMaxGameBackdrops', form).val();
|
||||||
config.GameOptions.MinBackdropWidth = $('#txtMinGameBackdropDownloadWidth', 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);
|
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<a href="supporterkey.html" data-role="button" class="ui-btn-active">Supporter Key</a>
|
<a href="supporterkey.html" data-role="button" class="ui-btn-active">Supporter Key</a>
|
||||||
<a href="about.html" data-role="button">About</a>
|
<a href="about.html" data-role="button">About</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<form id="supporterKeyForm">
|
<form id="supporterKeyForm">
|
||||||
<div style="margin: 1em 0;">
|
<div style="margin: 1em 0;">
|
||||||
<label for="txtSupporterKey">MB3 Supporter Key (paste from email)</label>
|
<label for="txtSupporterKey">MB3 Supporter Key (paste from email)</label>
|
||||||
|
@ -96,6 +96,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$('#supporterKeyForm').on('submit', SupporterKeyPage.updateSupporterKey);
|
$('#supporterKeyForm').on('submit', SupporterKeyPage.updateSupporterKey);
|
||||||
$('#lostKeyForm').on('submit', SupporterKeyPage.retrieveSupporterKey);
|
$('#lostKeyForm').on('submit', SupporterKeyPage.retrieveSupporterKey);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue