summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/repositories.html
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates/repositories.html')
-rw-r--r--ogcp/templates/repositories.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/ogcp/templates/repositories.html b/ogcp/templates/repositories.html
new file mode 100644
index 0000000..3bed073
--- /dev/null
+++ b/ogcp/templates/repositories.html
@@ -0,0 +1,33 @@
+{% extends 'base.html' %}
+
+{% block nav_repositories %}active{% endblock %}
+
+{% block container %}
+ <form id="repositoriesForm">
+ <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
+ </form>
+ {{ super() }}
+</form>
+{% endblock %}
+
+{% block sidebar %}
+ <ul id="repositories-list" class="nav flex-column nav-pills">
+ {% for repository in repositories %}
+ <li id="repository-{{ repository['id'] }}" class="nav-item">
+ <input class="form-check-input" type="checkbox" form="repositoriesForm"
+ value="{{ repository['id'] }}"
+ name="{{ repository['name'] }}" />
+ {{ repository['name'] }}
+ </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 %}
+