mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
101 lines
4.8 KiB
HTML
101 lines
4.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>${TitleSupport}</title>
|
|
</head>
|
|
<body>
|
|
<div id="supporterKeyPage" data-role="page" class="page type-interior">
|
|
|
|
<div data-role="content">
|
|
<div class="content-primary">
|
|
<div class="readOnlyContent">
|
|
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
|
<a href="support.html" data-role="button">${TabGeneral}</a>
|
|
<a href="log.html" data-role="button">${TabLogs}</a>
|
|
<a href="supporter.html" data-role="button">${TabBecomeSupporter}</a>
|
|
<a href="supporterkey.html" data-role="button" class="ui-btn-active">${TabSupporterKey}</a>
|
|
<a href="about.html" data-role="button">${TabAbout}</a>
|
|
</div>
|
|
|
|
<form id="supporterKeyForm">
|
|
|
|
<div style="margin: 1em 0;">
|
|
<label for="txtSupporterKey">${LabelSupporterKey}</label>
|
|
<input type="password" id="txtSupporterKey" name="txtSupporterKey" data-inline="true" />
|
|
<div class="fieldDescription">
|
|
${LabelSupporterKeyHelp}
|
|
</div>
|
|
|
|
<div style="display: none; padding: 1em; margin-top: 1em; border-radius: 5px; font-weight: normal;" class="ui-bar-a notSupporter">
|
|
<p><strong>${MessageInvalidKey}</strong></p>
|
|
<p>
|
|
${ErrorMessageInvalidKey}
|
|
</p>
|
|
</div>
|
|
|
|
</div>
|
|
<p>
|
|
<button type="submit" id="mbLegacyKeyBtn" data-theme="b" data-icon="check">Save</button>
|
|
</p>
|
|
</form>
|
|
<br />
|
|
<div data-role="collapsible">
|
|
<h3>${HeaderForgotKey}</h3>
|
|
<div>
|
|
<form id="lostKeyForm">
|
|
<div style="margin: 1em 0;">
|
|
<label for="txtEmail">${LabelEmailAddress}</label>
|
|
<input type="email" required id="txtEmail" name="txtEmail" />
|
|
<div class="fieldDescription">${LabelSupporterEmailAddress}</div>
|
|
</div>
|
|
<p>
|
|
<button type="submit" id="mbRetrieveKeyBtn" data-icon="action" data-theme="b">${ButtonRetrieveKey}</button>
|
|
|
|
</p>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div data-role="collapsible">
|
|
<h3>${HeaderMultipleKeyLinking}</h3>
|
|
<div>
|
|
|
|
<form id="linkKeysForm">
|
|
<p>
|
|
${MultipleKeyLinkingHelp}
|
|
</p>
|
|
<div style="margin: 1em 0;">
|
|
<label for="txtEmail">${LabelCurrentEmailAddress}</label>
|
|
<input type="email" required id="txtNewEmail" name="txtNewEmail" />
|
|
<div class="fieldDescription">
|
|
${LabelCurrentEmailAddressHelp}
|
|
</div>
|
|
</div>
|
|
<p>
|
|
<label for="txtNewKey">${LabelNewSupporterKey}</label>
|
|
<input type="password" required="required" id="txtNewKey" name="txtNewKey" />
|
|
</p>
|
|
<p>
|
|
|
|
<label for="txtOldKey">${LabelOldSupporterKey}</label>
|
|
<input type="password" required="required" id="txtOldKey" name="txtOldKey" />
|
|
</p>
|
|
<p>
|
|
<button type="submit" id="mbLinkKeysBtn" data-icon="check" data-theme="b">${ButtonLinkKeys}</button>
|
|
</p>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
$('#supporterKeyForm').on('submit', SupporterKeyPage.updateSupporterKey);
|
|
$('#lostKeyForm').on('submit', SupporterKeyPage.retrieveSupporterKey);
|
|
$('#linkKeysForm').on('submit', SupporterKeyPage.linkSupporterKeys);
|
|
</script>
|
|
</div>
|
|
</body>
|
|
</html>
|