summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/repositories.html
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-07-04 15:29:49 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-07-04 15:34:03 +0200
commit9e386e5454ca6108e5c45664ca24aab79f41af48 (patch)
treedaa2637021c13f434ab62d7bbb1ec612480d5a5f /ogcp/templates/repositories.html
parentc068bd21448c2e202720a9daf2923a375c96370d (diff)
Add "Delete Repository"
In "Repositories" view, users select a repository from the list on the left and press "Delete repository".
Diffstat (limited to 'ogcp/templates/repositories.html')
-rw-r--r--ogcp/templates/repositories.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/repositories.html b/ogcp/templates/repositories.html
index 2333a88..7aa2d06 100644
--- a/ogcp/templates/repositories.html
+++ b/ogcp/templates/repositories.html
@@ -26,6 +26,8 @@
{% block commands %}
<input class="btn btn-light {% block nav_repository_add %}{% endblock %}" type="submit" value="{{ _('Add repository') }}"
form="repositoriesForm" formaction="{{ url_for('repository_add_get') }}" formmethod="get">
+ <input class="btn btn-light {% block nav_repository_delete %}{% endblock %}" type="submit" value="{{ _('Delete repository') }}"
+ form="repositoriesForm" formaction="{{ url_for('repository_delete_get') }}" formmethod="get">
{% if btn_back %}
<button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()">
{{ _("Back") }}