From ddfaae0ef6b38195f3330431101e8fed9e4a50f5 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Mon, 11 Dec 2023 09:24:07 +0100 Subject: templates: add missing delete/update repository templates Add missing templates. Fixes: 15dd4c2a8f69 ('views: add action to update repo') Fixes: 152337b6bdb8 ('views: add action to delete repo') --- ogcp/templates/actions/delete_repo.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ogcp/templates/actions/delete_repo.html (limited to 'ogcp/templates/actions/delete_repo.html') diff --git a/ogcp/templates/actions/delete_repo.html b/ogcp/templates/actions/delete_repo.html new file mode 100644 index 0000000..7a6bd79 --- /dev/null +++ b/ogcp/templates/actions/delete_repo.html @@ -0,0 +1,17 @@ +{% 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_add %}active{% endblock %} +{% block content %} + +

{{_('Delete repo')}}

+ +{{ wtf.quick_form(form, + action=url_for('action_repo_delete'), + method='post', + button_map={'submit': 'danger'}, + extra_classes="mx-5") }} +{% endblock %} -- cgit v1.2.3-18-g5258