summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/users.html
blob: c97f113c1559b8f21675deb272ef8612eafa9cb8 (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
{% extends 'base.html' %}

{% block nav_users %}active{% endblock %}

{% block container %}
    <form id="usersForm">
        <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
    </form>
    {{ super() }}
</form>
{% endblock %}

{% block sidebar %}
    <ul id="users-list" class="nav flex-column nav-pills">
        {% for user in users %}
            <li id="user-{{ user['USER'] }}" class="nav-item">
                <input class="form-check-input" type="checkbox" form="usersForm"
                       value="{{ user['USER'] }}"
                       name="user-{{ user['USER'] }}" />
                        {{ user['USER'] }}
            </li>
        {% endfor %}
    </ul>
{% endblock %}

{% block commands %}
  {% if btn_back %}
    <button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()">
      {{ _("Back") }}
    </button>
  {% endif %}
{% endblock %}