mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
3.0.5340.20849
This commit is contained in:
parent
668f8ba11f
commit
4d679e90a4
18 changed files with 276 additions and 133 deletions
|
@ -14,37 +14,67 @@
|
|||
<a href="#" data-role="button" onclick="Dashboard.navigate('userparentalcontrol.html', true);" id="lnkParentalControl" style="display: none;">${TabLibraryAccess}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabPassword}</a>
|
||||
</div>
|
||||
<h2 class="formheader" style="display: none;">${HeaderCreatePassword}</h2>
|
||||
<form id="updatePasswordForm">
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li id="fldCurrentPassword" style="display: none;">
|
||||
<label for="txtCurrentPassword">${LabelCurrentPassword}</label>
|
||||
<input type="password" id="txtCurrentPassword" name="txtCurrentPassword" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtNewPassword">${LabelNewPassword}</label>
|
||||
<input type="password" id="txtNewPassword" name="txtNewPassword" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtNewPasswordConfirm">${LabelNewPasswordConfirm}</label>
|
||||
<input type="password" id="txtNewPasswordConfirm" name="txtNewPasswordConfirm" />
|
||||
</li>
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check">
|
||||
${ButtonSave}
|
||||
</button>
|
||||
<div id="btnResetPassword" style="display: none;">
|
||||
<button type="button" data-icon="lock" onclick="UpdatePasswordPage.resetPassword();">
|
||||
${ButtonResetPassword}
|
||||
</button>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
<div class="readOnlyContent">
|
||||
<div data-role="collapsible" data-collapsed="false">
|
||||
<h2>${HeaderPassword}</h2>
|
||||
<div>
|
||||
<br />
|
||||
<h2 class="formheader" style="display: none;">${HeaderCreatePassword}</h2>
|
||||
<form class="updatePasswordForm">
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li id="fldCurrentPassword" style="display: none;">
|
||||
<label for="txtCurrentPassword">${LabelCurrentPassword}</label>
|
||||
<input type="password" id="txtCurrentPassword" name="txtCurrentPassword" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtNewPassword">${LabelNewPassword}</label>
|
||||
<input type="password" id="txtNewPassword" name="txtNewPassword" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtNewPasswordConfirm">${LabelNewPasswordConfirm}</label>
|
||||
<input type="password" id="txtNewPasswordConfirm" name="txtNewPasswordConfirm" />
|
||||
</li>
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check">
|
||||
${ButtonSave}
|
||||
</button>
|
||||
<div id="btnResetPassword" style="display: none;">
|
||||
<button type="button" data-icon="lock" onclick="UpdatePasswordPage.resetPassword();">
|
||||
${ButtonResetPassword}
|
||||
</button>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div data-role="collapsible" class="localAccessSection">
|
||||
<h2>${HeaderLocalAccess}</h2>
|
||||
<div>
|
||||
<br />
|
||||
<form class="localAccessForm">
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label for="chkEnableLocalAccessWithoutPassword">${LabelAllowLocalAccessWithoutPassword}</label>
|
||||
<input type="checkbox" id="chkEnableLocalAccessWithoutPassword" />
|
||||
<div class="fieldDescription">${LabelAllowLocalAccessWithoutPasswordHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check">
|
||||
${ButtonSave}
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$('#updatePasswordForm').on('submit', UpdatePasswordPage.onSubmit);
|
||||
$('.updatePasswordForm').off('submit', UpdatePasswordPage.onSubmit).on('submit', UpdatePasswordPage.onSubmit);
|
||||
$('.localAccessForm').off('submit', UpdatePasswordPage.onLocalAccessSubmit).on('submit', UpdatePasswordPage.onLocalAccessSubmit);
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue