1 {% extends
"base.html" %}
9 <link rel=
"stylesheet" href=
"/static/bower_components/select2/dist/css/select2.min.css">
11 {% block title_header_big %}
14 {% block left_sidebar %}
15 {% include 'osm/osm_project_left_sidebar.html' %}
19 {% block breadcrumb_body %}
21 <li><a href=
"#">Users
</a></li>
24 {% block content_body %}
26 {% include 'modal/user_details.html' %}
27 {% include 'modal/user_create.html' %}
30 <div class=
"col-md-12">
33 <div class=
"box-header with-border">
34 <h3 class=
"box-title">Users
</h3>
35 <div class=
"box-tools">
36 <button type=
"button" class=
"btn btn-default" data-container=
"body"
37 onclick=
"javascript:openModalCreateUser({'projects_list_url': '{% url "projects:projects_list
" %}'})"
38 data-toggle=
"tooltip" data-placement=
"top" title=
"New User">
40 <i class=
"fa fa-plus"></i> Create User
</button>
44 <div class=
"box-body">
45 <table id=
"users_table" class=
"table table-bordered table-striped">
61 <td>{{ s|get:
"username" }}
</td>
62 <td>{{ s|get:
"projects" }}
</td>
63 <td>{{ s|get:
"_id" }}
</td>
64 <td>{{ s|get_sub:
"_admin,modified"|get_date}}
</td>
65 <td>{{ s|get_sub:
"_admin,created"|get_date}}
</td>
68 <div class=
"btn-group">
70 <button type=
"button" class=
"btn btn-default"
71 onclick=
"javascript:deleteUser('{% url "users:delete
" user_id=s|get:"_id
" %}')" data-toggle=
"tooltip" data-placement=
"top" data-container=
"body" title=
"Delete"><i
72 class=
"far fa-trash-alt" ></i></button>
87 {% block resource_block %}
90 <script src=
"/static/bower_components/select2/dist/js/select2.js"></script>
91 <script src=
"/static/src/userhandler/user_list.js"></script>
97 {% include
"footer.html" %}