aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.WebDashboard/Html/updatePassword.html
blob: b07bd16913e33bf85d8df87d5de70e70174ac255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!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>