rebuild GUI structure(only changed modules' name)
[vnfsdk/refrepo.git] / auth / src / main / webapp / user / createUser.html
1 <!--
2   Copyright 2016-2017 Huawei Technologies Co., Ltd.
3  
4   Licensed under the Apache License, Version 2.0 (the "License");
5   you may not use this file except in compliance with the License.
6   You may obtain a copy of the License at
7  
8       http://www.apache.org/licenses/LICENSE-2.0
9  
10   Unless required by applicable law or agreed to in writing, software
11   distributed under the License is distributed on an "AS IS" BASIS,
12   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   See the License for the specific language governing permissions and
14   limitations under the License.
15 -->
16 <!doctype html>
17 <html>
18
19 <head>
20     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
21     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
22     <link rel="stylesheet" type="text/css" href="/openoui/user/css/component.css">
23     <link rel="stylesheet" type="text/css" href="/openoui/user/css/user.css">
24     <script type="text/javascript" src="/openoui/common/thirdparty/jquery/jquery-1.11.2.min.js"></script>
25     <script type="text/javascript" src="/openoui/user/js/userTools.js"></script>
26     <script type="text/javascript" src="/openoui/user/js/createUser.js"></script>
27 </head>
28
29 <body class="hw_body">
30     <div class="mt20" id="progress">
31         <div class="progress_charater">Enter Basic Information</div>
32         <div class="progress_bar"></div>
33     </div>
34     <div id="create_content">
35         <div id="info_content">
36             <table>
37                 <tr>
38                     <td>
39                         <span class="mandatory">*</span>
40                     </td>
41                     <td class="row_interval">
42                         <span>User Name</span><span>:</span>
43                     </td>
44                     <td>
45                         <div>
46                             <input id="userName" class="fwk_input" />
47                         </div>
48                     </td>
49                     <td>
50                         <div id="userNameError" class="errorTip" style="visibility: hidden;">error.</div>
51                     </td>
52                 </tr>
53                 <tr>
54                     <td>
55                         <span class="mandatory">*</span>
56                     </td>
57                     <td class="row_interval">
58                         <span>Password</span><span>:</span>
59                     </td>
60                     <td>
61                         <div>
62                             <input id="password" class="fwk_input" type="password" />
63                         </div>
64                     </td>
65                     <td>
66                         <div id="passwordError" class="errorTip" style="visibility: hidden;">error.</div>
67                     </td>
68                 </tr>
69                 <tr>
70                     <td>
71                         <span class="mandatory">*</span>
72                     </td>
73                     <td class="row_interval">
74                         <span>Confirm Password</span><span>:</span>
75                     </td>
76                     <td>
77                         <div>
78                             <input id="cfPassword" class="fwk_input" type="password" />
79                         </div>
80                     </td>
81                     <td>
82                         <div id="cfPsdError" class="errorTip" style="visibility: hidden;">error.</div>
83                     </td>
84                 </tr>
85                 <tr>
86                     <td>
87                         <span class="mandatory"></span>
88                     </td>
89                     <td class="row_interval">
90                         <span>Description</span><span>:</span>
91                     </td>
92                     <td>
93                         <div>
94                             <textarea id="description" class="fwk_textarea"></textarea>
95                         </div>
96                     </td>
97                     <td>
98                     </td>
99                 </tr>
100             </table>
101         </div>
102         <div id="role_content" class="suggestion_tip">
103             <div><span class="rule_label">User Name Rule:</span></div>
104             <table>
105                 <tr>
106                     <td><span>1. Contains a minimum of 5 characters and a maximum of 30;</span></td>
107                 </tr>
108                 <tr>
109                     <td><span>2. Contains only alphanumeric characters(a-z\,A-Z\,0-9);</span></td>
110                 </tr>
111                 <tr>
112                     <td><span>3. Can not contain any special characters except "_",  which only in the middle of the user name;</span></td>
113                 </tr>
114                 <tr>
115                     <td><span>4. Can not contain space.</span></td>
116                 </tr>
117             </table>
118             <div><span class="rule_label">Password Rule:</span></div>
119             <table>
120                 <tr>
121                     <td><span>1. Contains a minimum of 8 characters and a maximum of 32;</span></td>
122                 </tr>
123                 <tr>
124                     <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>
125                 </tr>
126                 <tr>
127                     <td><span>3. Can not contain any the user name or user name in reverse order;</span></td>
128                 </tr>
129                 <tr>
130                     <td><span>4. Can not contain space.</span></td>
131                 </tr>
132             </table>
133         </div>
134     </div>
135     <div class="button_Group">
136         <button class="fk_button" id="confirm">Confirm</button>
137         <button class="fk_button" id="cancel">Cancel</button>
138     </div>
139 </body>
140
141 </html>