blob: 5b8d73a42ec831ebb0254a72b4dbf9d7eec713bc [file] [log] [blame]
lombardofr5bc5ebb2019-08-19 09:33:56 +02001<!--
2Copyright 2019 EveryUP srl
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15-->
lombardofr10b52d12018-07-17 23:42:28 +020016<div class="modal" id="modal_new_user" xmlns="http://www.w3.org/1999/html">
17 <div class="modal-dialog">
18 <div class="modal-content">
19 <div class="modal-header">
20 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
21 <span aria-hidden="true">×</span></button>
22 <h4 class="modal-title">New User</h4>
23 </div>
lombardofr88d09562018-09-11 18:14:39 +020024 <form id="formCreateUser" action='{% url "users:create" %}'
lombardofr10b52d12018-07-17 23:42:28 +020025 class="form-horizontal"
26 method="post" enctype="multipart/form-data">
27 {% csrf_token %}
28 <div class="modal-body" id="modal_new_user_body">
lombardofr5bc5ebb2019-08-19 09:33:56 +020029
lombardofr10b52d12018-07-17 23:42:28 +020030 <div class="form-group">
31 <label for="username" class="col-sm-3 control-label">Username *</label>
32 <div class="col-sm-6">
33 <input class="form-control" id="username" name="username"
34 placeholder="Username" required>
35 </div>
36 </div>
37
38 <div class="form-group">
39 <label for="password" class="col-sm-3 control-label">Password *</label>
40 <div class="col-sm-6">
41 <input class="form-control" id="password" name="password" type="password"
lombardofr5bc5ebb2019-08-19 09:33:56 +020042 placeholder="Password" autocomplete="off" required>
lombardofr10b52d12018-07-17 23:42:28 +020043 </div>
44 </div>
lombardofr5bc5ebb2019-08-19 09:33:56 +020045
lombardofr10b52d12018-07-17 23:42:28 +020046 <div class="form-group">
lombardofr5bc5ebb2019-08-19 09:33:56 +020047 <label for="password" class="col-sm-3 control-label">Conf. Password *</label>
48 <div class="col-sm-6">
49 <input class="form-control" id="password2" name="password2" type="password"
50 placeholder="Repeat Password" autocomplete="off" required>
51 <div class="row">
52 <div class="col-sm-12">
53 <span id="pwmatch" class="glyphicon glyphicon-remove" style="color:#FF0004;"></span> Passwords Match
54 </div>
55 </div>
56 </div>
lombardofr10b52d12018-07-17 23:42:28 +020057 </div>
58
59
lombardofr5bc5ebb2019-08-19 09:33:56 +020060
lombardofr10b52d12018-07-17 23:42:28 +020061 </div>
62 <div class="modal-footer">
63 <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Cancel</button>
64 <button class="btn btn-primary"
65 data-loading-text="<i class='fa fa-circle-o-notch fa-spin'></i> Creating..."
66 id="create_new_user">Create
67 </button>
68
69 </div>
70 </form>
71 </div>
72 <!-- /.modal-content -->
73 </div>
74 <!-- /.modal-dialog -->
75</div>