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>
</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>

View file

@ -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);
}); });

View file

@ -16,81 +16,82 @@
<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">
<div style="margin: 1em 0;">
<label for="txtSupporterKey">MB3 Supporter Key (paste from email)</label>
<input type="password" id="txtSupporterKey" name="txtSupporterKey" data-inline="true" />
<div class="fieldDescription">
Enter your supporter key to start enjoying additional benefits the community has developed for Media Browser. <strong>MB3 keys only.</strong>
</div>
<p style="display: none; padding: 1em; border-radius: 5px; font-weight: normal;" class="ui-bar-a notSupporter"> <form id="supporterKeyForm">
<strong>MB3 Key Missing or Invalid</strong> - in order for any premium content to be registered, you must also be an MB3 Supporter. <div style="margin: 1em 0;">
<label for="txtSupporterKey">MB3 Supporter Key (paste from email)</label>
<input type="password" id="txtSupporterKey" name="txtSupporterKey" data-inline="true" />
<div class="fieldDescription">
Enter your supporter key to start enjoying additional benefits the community has developed for Media Browser. <strong>MB3 keys only.</strong>
</div>
<p style="display: none; padding: 1em; border-radius: 5px; font-weight: normal;" class="ui-bar-a notSupporter">
<strong>MB3 Key Missing or Invalid</strong> - in order for any premium content to be registered, you must also be an MB3 Supporter.
Please <a href="supporter.html">donate</a> and support the continued development of the core product. Thank you. Please <a href="supporter.html">donate</a> and support the continued development of the core product. Thank you.
</p> </p>
</div>
<div style="margin: 2em 0;">
<label for="txtLegacyKey">MB2 Supporter Key</label>
<input type="password" id="txtLegacyKey" name="txtLegacyKey" data-inline="true" />
<div class="fieldDescription">
Some premium plugins may give credit for registrations with previous versions in MB2.
</div> </div>
<div style="margin: 2em 0;">
</div> <label for="txtLegacyKey">MB2 Supporter Key</label>
<p> <input type="password" id="txtLegacyKey" name="txtLegacyKey" data-inline="true" />
<button type="submit" id="mbLegacyKeyBtn" data-theme="b" data-icon="check">Save</button> <div class="fieldDescription">
Some premium plugins may give credit for registrations with previous versions in MB2.
</p>
</form>
<br />
<div data-role="collapsible">
<h3>Lost Key</h3>
<div>
<form id="lostKeyForm">
<div style="margin: 1em 0;">
<label for="txtEmail">Email Address</label>
<input type="email" required id="txtEmail" name="txtEmail" data-inline="true" />
<div class="fieldDescription">The email address that was used to purchase the key.</div>
</div> </div>
<p>
<button type="submit" id="mbRetrieveKeyBtn" data-icon="action" data-theme="b">Retrieve Key</button>
</p> </div>
</form> <p>
</div> <button type="submit" id="mbLegacyKeyBtn" data-theme="b" data-icon="check">Save</button>
</div>
<div data-role="collapsible"> </p>
<h3>Multiple Key Linking</h3> </form>
<div> <br />
<div data-role="collapsible">
<form id="linkKeysForm"> <h3>Lost Key</h3>
<p> <div>
If you have more than one supporter key, use this form to link the old key's registrations with your new one. <form id="lostKeyForm">
</p> <div style="margin: 1em 0;">
<div style="margin: 1em 0;"> <label for="txtEmail">Email Address</label>
<label for="txtEmail">Current Email Address</label> <input type="email" required id="txtEmail" name="txtEmail" data-inline="true" />
<input type="email" required id="txtNewEmail" name="txtNewEmail" data-inline="true" /> <div class="fieldDescription">The email address that was used to purchase the key.</div>
<div class="fieldDescription">
The current email address to which your new key was sent.
</div> </div>
</div> <p>
<p> <button type="submit" id="mbRetrieveKeyBtn" data-icon="action" data-theme="b">Retrieve Key</button>
<label for="txtNewKey">New Supporter Key</label>
<input type="password" required="required" id="txtNewKey" name="txtNewKey" data-inline="true" />
</p>
<p>
<label for="txtOldKey">Old Supporter Key</label> </p>
<input type="password" required="required" id="txtOldKey" name="txtOldKey" data-inline="true" /> </form>
</p> </div>
<p> </div>
<button type="submit" id="mbLinkKeysBtn" data-icon="check" data-theme="b">Link Keys</button>
</p> <div data-role="collapsible">
</form> <h3>Multiple Key Linking</h3>
<div>
<form id="linkKeysForm">
<p>
If you have more than one supporter key, use this form to link the old key's registrations with your new one.
</p>
<div style="margin: 1em 0;">
<label for="txtEmail">Current Email Address</label>
<input type="email" required id="txtNewEmail" name="txtNewEmail" data-inline="true" />
<div class="fieldDescription">
The current email address to which your new key was sent.
</div>
</div>
<p>
<label for="txtNewKey">New Supporter Key</label>
<input type="password" required="required" id="txtNewKey" name="txtNewKey" data-inline="true" />
</p>
<p>
<label for="txtOldKey">Old Supporter Key</label>
<input type="password" required="required" id="txtOldKey" name="txtOldKey" data-inline="true" />
</p>
<p>
<button type="submit" id="mbLinkKeysBtn" data-icon="check" data-theme="b">Link Keys</button>
</p>
</form>
</div>
</div> </div>
</div> </div>
</div> </div>