jellyfin-web/dashboard-ui/supporterkey.html

101 lines
4.8 KiB
HTML
Raw Normal View History

2013-02-20 18:33:05 -07:00
<!DOCTYPE html>
<html>
<head>
2014-04-03 15:50:04 -07:00
<title>${TitleSupport}</title>
2013-02-20 18:33:05 -07:00
</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">
2014-04-03 15:50:04 -07:00
<a href="support.html" data-role="button">${TabGeneral}</a>
<a href="log.html" data-role="button">${TabLogs}</a>
2014-08-24 08:48:06 -07:00
<a href="supporter.html" data-role="button">${TabSupporterClub}</a>
2014-04-03 15:50:04 -07:00
<a href="supporterkey.html" data-role="button" class="ui-btn-active">${TabSupporterKey}</a>
<a href="about.html" data-role="button">${TabAbout}</a>
2013-02-20 18:33:05 -07:00
</div>
2013-12-25 20:44:26 -07:00
2013-12-26 07:21:09 -07:00
<form id="supporterKeyForm">
2014-04-19 10:43:12 -07:00
2013-12-26 07:21:09 -07:00
<div style="margin: 1em 0;">
2014-04-19 10:43:12 -07:00
<label for="txtSupporterKey">${LabelSupporterKey}</label>
2013-12-26 07:21:09 -07:00
<input type="password" id="txtSupporterKey" name="txtSupporterKey" data-inline="true" />
<div class="fieldDescription">
2014-04-19 10:43:12 -07:00
${LabelSupporterKeyHelp}
2013-12-26 07:21:09 -07:00
</div>
2014-04-19 10:43:12 -07:00
<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>
2013-02-20 18:33:05 -07:00
2013-12-26 07:21:09 -07:00
</div>
<p>
<button type="submit" id="mbLegacyKeyBtn" data-theme="b" data-icon="check">Save</button>
</p>
</form>
<br />
<div data-role="collapsible">
2014-04-19 10:43:12 -07:00
<h3>${HeaderForgotKey}</h3>
2013-12-26 07:21:09 -07:00
<div>
<form id="lostKeyForm">
<div style="margin: 1em 0;">
2014-04-19 10:43:12 -07:00
<label for="txtEmail">${LabelEmailAddress}</label>
2014-04-07 21:17:18 -07:00
<input type="email" required id="txtEmail" name="txtEmail" />
2014-04-19 10:43:12 -07:00
<div class="fieldDescription">${LabelSupporterEmailAddress}</div>
2013-12-26 07:21:09 -07:00
</div>
<p>
2014-04-19 10:43:12 -07:00
<button type="submit" id="mbRetrieveKeyBtn" data-icon="action" data-theme="b">${ButtonRetrieveKey}</button>
2013-02-20 18:33:05 -07:00
2013-12-26 07:21:09 -07:00
</p>
</form>
</div>
2013-02-20 18:33:05 -07:00
</div>
2013-12-26 07:21:09 -07:00
<div data-role="collapsible">
2014-04-19 10:43:12 -07:00
<h3>${HeaderMultipleKeyLinking}</h3>
2013-12-26 07:21:09 -07:00
<div>
2013-12-26 07:21:09 -07:00
<form id="linkKeysForm">
<p>
2014-04-19 10:43:12 -07:00
${MultipleKeyLinkingHelp}
2013-12-26 07:21:09 -07:00
</p>
<div style="margin: 1em 0;">
2014-04-19 10:43:12 -07:00
<label for="txtEmail">${LabelCurrentEmailAddress}</label>
2014-04-07 21:17:18 -07:00
<input type="email" required id="txtNewEmail" name="txtNewEmail" />
2013-12-26 07:21:09 -07:00
<div class="fieldDescription">
2014-04-19 10:43:12 -07:00
${LabelCurrentEmailAddressHelp}
2013-12-26 07:21:09 -07:00
</div>
2013-12-25 20:44:26 -07:00
</div>
2013-12-26 07:21:09 -07:00
<p>
2014-04-19 10:43:12 -07:00
<label for="txtNewKey">${LabelNewSupporterKey}</label>
2014-04-07 21:17:18 -07:00
<input type="password" required="required" id="txtNewKey" name="txtNewKey" />
2013-12-26 07:21:09 -07:00
</p>
<p>
2013-02-20 18:33:05 -07:00
2014-04-19 10:43:12 -07:00
<label for="txtOldKey">${LabelOldSupporterKey}</label>
2014-04-07 21:17:18 -07:00
<input type="password" required="required" id="txtOldKey" name="txtOldKey" />
2013-12-26 07:21:09 -07:00
</p>
<p>
2014-04-19 10:43:12 -07:00
<button type="submit" id="mbLinkKeysBtn" data-icon="check" data-theme="b">${ButtonLinkKeys}</button>
2013-12-26 07:21:09 -07:00
</p>
</form>
</div>
</div>
2013-12-25 20:44:26 -07:00
</div>
2013-02-20 18:33:05 -07:00
</div>
</div>
2014-01-02 14:21:06 -07:00
<script type="text/javascript">
$('#supporterKeyForm').on('submit', SupporterKeyPage.updateSupporterKey);
$('#lostKeyForm').on('submit', SupporterKeyPage.retrieveSupporterKey);
$('#linkKeysForm').on('submit', SupporterKeyPage.linkSupporterKeys);
</script>
2013-02-20 18:33:05 -07:00
</div>
</body>
</html>