| lombardofr | 5bc5ebb | 2019-08-19 09:33:56 +0200 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright 2019 EveryUP srl |
| 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 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 | --> |
| lombardofr | 10b52d1 | 2018-07-17 23:42:28 +0200 | [diff] [blame] | 16 | <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> |
| lombardofr | 88d0956 | 2018-09-11 18:14:39 +0200 | [diff] [blame] | 24 | <form id="formCreateUser" action='{% url "users:create" %}' |
| lombardofr | 10b52d1 | 2018-07-17 23:42:28 +0200 | [diff] [blame] | 25 | class="form-horizontal" |
| 26 | method="post" enctype="multipart/form-data"> |
| 27 | {% csrf_token %} |
| 28 | <div class="modal-body" id="modal_new_user_body"> |
| lombardofr | 5bc5ebb | 2019-08-19 09:33:56 +0200 | [diff] [blame] | 29 | |
| lombardofr | 10b52d1 | 2018-07-17 23:42:28 +0200 | [diff] [blame] | 30 | <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" |
| lombardofr | 5bc5ebb | 2019-08-19 09:33:56 +0200 | [diff] [blame] | 42 | placeholder="Password" autocomplete="off" required> |
| lombardofr | 10b52d1 | 2018-07-17 23:42:28 +0200 | [diff] [blame] | 43 | </div> |
| 44 | </div> |
| lombardofr | 5bc5ebb | 2019-08-19 09:33:56 +0200 | [diff] [blame] | 45 | |
| lombardofr | 10b52d1 | 2018-07-17 23:42:28 +0200 | [diff] [blame] | 46 | <div class="form-group"> |
| lombardofr | 5bc5ebb | 2019-08-19 09:33:56 +0200 | [diff] [blame] | 47 | <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> |
| lombardofr | 10b52d1 | 2018-07-17 23:42:28 +0200 | [diff] [blame] | 57 | </div> |
| 58 | |
| lombardofr | b7afa52 | 2020-05-02 11:20:34 +0200 | [diff] [blame^] | 59 | <div class="form-group" id="domainNameGroupDiv"> |
| 60 | <label for="domain_name" class="col-sm-3 control-label">Domain name *</label> |
| lombardofr | 59989d0 | 2020-03-18 10:51:01 +0100 | [diff] [blame] | 61 | <div class="col-sm-6"> |
| lombardofr | b7afa52 | 2020-05-02 11:20:34 +0200 | [diff] [blame^] | 62 | <select id="domain_name" class="js-example-basic form-control" name="domain_name" required> |
| lombardofr | 59989d0 | 2020-03-18 10:51:01 +0100 | [diff] [blame] | 63 | </select> |
| 64 | </div> |
| 65 | </div> |
| lombardofr | 10b52d1 | 2018-07-17 23:42:28 +0200 | [diff] [blame] | 66 | |
| lombardofr | 5bc5ebb | 2019-08-19 09:33:56 +0200 | [diff] [blame] | 67 | |
| lombardofr | 10b52d1 | 2018-07-17 23:42:28 +0200 | [diff] [blame] | 68 | </div> |
| 69 | <div class="modal-footer"> |
| 70 | <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Cancel</button> |
| 71 | <button class="btn btn-primary" |
| 72 | data-loading-text="<i class='fa fa-circle-o-notch fa-spin'></i> Creating..." |
| 73 | id="create_new_user">Create |
| 74 | </button> |
| 75 | |
| 76 | </div> |
| 77 | </form> |
| 78 | </div> |
| 79 | <!-- /.modal-content --> |
| 80 | </div> |
| 81 | <!-- /.modal-dialog --> |
| 82 | </div> |