summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/repo_details.html13
-rw-r--r--ogcp/templates/repos.html2
2 files changed, 15 insertions, 0 deletions
diff --git a/ogcp/templates/actions/repo_details.html b/ogcp/templates/actions/repo_details.html
new file mode 100644
index 0000000..ee45a97
--- /dev/null
+++ b/ogcp/templates/actions/repo_details.html
@@ -0,0 +1,13 @@
+{% extends 'repos.html' %}
+{% import "bootstrap/wtf.html" as wtf %}
+{% set btn_back = true %}
+
+{% block nav_repos %} active{% endblock %}
+{% block nav_repos_details %} active{% endblock %}
+{% block nav_repos_info %}active{% endblock %}
+{% block content %}
+
+<h1 class="m-5">{{_('Repo details')}}</h1>
+
+{{ wtf.quick_form(form, extra_classes="mx-5") }}
+{% endblock %}
diff --git a/ogcp/templates/repos.html b/ogcp/templates/repos.html
index 5ca33fe..ef56d2a 100644
--- a/ogcp/templates/repos.html
+++ b/ogcp/templates/repos.html
@@ -50,6 +50,8 @@
{% endblock %}
{% block commands %}
+ <input class="btn btn-light {% block nav_repo_info %}{% endblock %}" type="submit" value="{{ _('Repo details') }}"
+ form="reposForm" formaction="{{ url_for('action_repo_info') }}" formmethod="get">
<input class="btn btn-light {% block nav_repo_add %}{% endblock %}" type="submit" value="{{ _('Add repo') }}"
form="reposForm" formaction="{{ url_for('action_repo_add') }}" formmethod="get">
<input class="btn btn-light {% block nav_repo_delete %}{% endblock %}" type="submit" value="{{ _('Delete repo') }}"