jellyfin-server/MediaBrowser.WebDashboard/Html/updatePassword.html
2013-02-20 20:33:05 -05:00

54 lines
2.6 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>
<form id="updatePasswordForm">
<ul data-role="listview" class="ulForm">
<li>
<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>