mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
split out parental controls into a separate edit page
This commit is contained in:
parent
c8cd49ffe7
commit
c27d378e34
13 changed files with 234 additions and 123 deletions
55
dashboard-ui/userpassword.html
Normal file
55
dashboard-ui/userpassword.html
Normal file
|
@ -0,0 +1,55 @@
|
|||
<!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('useredit.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" onclick="Dashboard.navigate('userparentalcontrol.html', true);" id="lnkParentalControl" style="display: none;">Parental Control</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">Password</a>
|
||||
<a href="#" data-role="button" onclick="Dashboard.navigate('usersettings.html', true);">Preferences</a>
|
||||
</div>
|
||||
<h2 class="formheader" style="display: none;">Create Password</h2>
|
||||
<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="check">
|
||||
Save
|
||||
</button>
|
||||
<div id="btnResetPassword" style="display: none;">
|
||||
<button type="button" 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>
|
Loading…
Add table
Add a link
Reference in a new issue