mirror of https://git.48k.eu/ogcp
30 lines
863 B
HTML
30 lines
863 B
HTML
{% 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 %}
|
|
|