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

{% block nav_images %}active{% endblock %}

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

{% block sidebar %}
    <ul id="images" class="nav flex-column nav-pills">
        {% for image in images %}
            <li id="{{ image["name"] }}_{{ image["id"] }}" class="nav-item">
                <input class="form-check-input" type="checkbox" form="imagesForm"
                       value="{{ image["id"] }}"
                       {% if image.get("selected", False) %}checked{% endif %}
                       name="{{ image["name"] }}_{{ image["id"] }}" />
                        {{ image["name"] }}
            </li>
        {% endfor %}
    </ul>
{% endblock %}

{% block commands %}
{% endblock %}