jellyfin-web/dashboard-ui/userpassword.html
2014-08-15 12:35:41 -04:00

82 lines
4.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<div id="updatePasswordPage" data-role="page" class="page type-interior userProfilesPage publicUserPage">
<div data-role="content">
<div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="#" onclick="Dashboard.navigate('useredit.html', true);" data-role="button">${TabProfile}</a>
<a href="#" data-role="button" onclick="Dashboard.navigate('userimage.html', true);">${TabImage}</a>
<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>
<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').off('submit', UpdatePasswordPage.onSubmit).on('submit', UpdatePasswordPage.onSubmit);
$('.localAccessForm').off('submit', UpdatePasswordPage.onLocalAccessSubmit).on('submit', UpdatePasswordPage.onLocalAccessSubmit);
</script>
</div>
</body>
</html>