jellyfin-web/dashboard-ui/updatepassword.html
2013-03-28 20:10:15 -04:00

55 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<div id="updatePasswordPage" data-role="page" class="page type-interior userProfilesConfigurationPage">
<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('edituser.html', true);" data-role="button">Profile</a>
<a href="#" data-role="button" onclick="Dashboard.navigate('userimage.html', true);">Image</a>
<a href="#" data-role="button" class="ui-btn-active">Password</a>
<a href="#" data-role="button" onclick="Dashboard.navigate('library.html', true);">Media Library</a>
</div>
<h3 style="display: none;">Create Password</h3>
<form id="updatePasswordForm">
<ul data-role="listview" class="ulForm">
<li id="fldCurrentPassword" style="display: none;">
<label for="txtCurrentPassword">Current password: </label>
<input type="password" id="txtCurrentPassword" name="txtCurrentPassword" />
</li>
<li>
<label for="txtNewPassword">New password: </label>
<input type="password" id="txtNewPassword" name="txtNewPassword" />
<div class="fieldDescription">
Numeric pin codes are recommended for quicker entry with a remote.
</div>
</li>
<li>
<label for="txtNewPasswordConfirm">New password confirm: </label>
<input type="password" id="txtNewPasswordConfirm" name="txtNewPasswordConfirm" />
</li>
<li>
<button type="submit" data-theme="b" data-icon="ok">
Save
</button>
<div id="btnResetPassword" style="display: none;">
<button type="button" data-theme="a" data-icon="lock" onclick="UpdatePasswordPage.resetPassword();">
Reset Password
</button>
</div>
</li>
</ul>
</form>
</div>
</div>
<script type="text/javascript">
$('#updatePasswordForm').on('submit', UpdatePasswordPage.onSubmit);
</script>
</div>
</body>
</html>