summaryrefslogtreecommitdiffstats
path: root/auth/src/main/webapp/user/createUser.html
blob: 40f8741ee5bf08892e02ca19244658362a541a48 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!--
  Copyright 2016-2017 Huawei Technologies Co., Ltd.
 
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
 
      http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!doctype html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="stylesheet" type="text/css" href="/openoui/user/css/component.css">
    <link rel="stylesheet" type="text/css" href="/openoui/user/css/user.css">
    <script type="text/javascript" src="/openoui/common/thirdparty/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="/openoui/user/js/userTools.js"></script>
    <script type="text/javascript" src="/openoui/user/js/createUser.js"></script>
</head>

<body class="hw_body">
    <div class="mt20" id="progress">
        <div class="progress_charater">Enter Basic Information</div>
        <div class="progress_bar"></div>
    </div>
    <div id="create_content">
        <div id="info_content">
            <table>
                <tr>
                    <td>
                        <span class="mandatory">*</span>
                    </td>
                    <td class="row_interval">
                        <span>User Name</span><span>:</span>
                    </td>
                    <td>
                        <div>
                            <input id="userName" class="fwk_input" />
                        </div>
                    </td>
                    <td>
                        <div id="userNameError" class="errorTip" style="visibility: hidden;">error.</div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span class="mandatory">*</span>
                    </td>
                    <td class="row_interval">
                        <span>Password</span><span>:</span>
                    </td>
                    <td>
                        <div>
                            <input id="password" class="fwk_input" type="password" />
                        </div>
                    </td>
                    <td>
                        <div id="passwordError" class="errorTip" style="visibility: hidden;">error.</div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span class="mandatory">*</span>
                    </td>
                    <td class="row_interval">
                        <span>Confirm Password</span><span>:</span>
                    </td>
                    <td>
                        <div>
                            <input id="cfPassword" class="fwk_input" type="password" />
                        </div>
                    </td>
                    <td>
                        <div id="cfPsdError" class="errorTip" style="visibility: hidden;">error.</div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span class="mandatory"></span>
                    </td>
                    <td class="row_interval">
                        <span>Description</span><span>:</span>
                    </td>
                    <td>
                        <div>
                            <textarea id="description" class="fwk_textarea"></textarea>
                        </div>
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
        <div id="role_content" class="suggestion_tip">
            <div><span class="rule_label">User Name Rule:</span></div>
            <table>
                <tr>
                    <td><span>1. Contains a minimum of 5 characters and a maximum of 30;</span></td>
                </tr>
                <tr>
                    <td><span>2. Contains only alphanumeric characters(a-z\,A-Z\,0-9);</span></td>
                </tr>
                <tr>
                    <td><span>3. Can not contain any special characters except "_",  which only in the middle of the user name;</span></td>
                </tr>
                <tr>
                    <td><span>4. Can not contain space.</span></td>
                </tr>
            </table>
            <div><span class="rule_label">Password Rule:</span></div>
            <table>
                <tr>
                    <td><span>1. Contains a minimum of 8 characters and a maximum of 32;</span></td>
                </tr>
                <tr>
                    <td><span>2. At least contains: one uppercase letter(A-Z), one lowercase letter(a-z), and one digit(0-9), one special character: ~`@#$%^&*-_=+|?/()<>[]{}",.;'!</span></td>
                </tr>
                <tr>
                    <td><span>3. Can not contain any the user name or user name in reverse order;</span></td>
                </tr>
                <tr>
                    <td><span>4. Can not contain space.</span></td>
                </tr>
            </table>
        </div>
    </div>
    <div class="button_Group">
        <button class="fk_button" id="confirm">Confirm</button>
        <button class="fk_button" id="cancel">Cancel</button>
    </div>
</body>

</html>