diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-11 09:24:07 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-11 09:25:21 +0100 |
commit | ddfaae0ef6b38195f3330431101e8fed9e4a50f5 (patch) | |
tree | 27ab6532d870052c4069fe1edeabb73dfd7c115d | |
parent | f76c0ed24d6eb45f60e211fa8eb8d2f13714aa46 (diff) |
templates: add missing delete/update repository templatesv1.1.3-7
Add missing templates.
Fixes: 15dd4c2a8f69 ('views: add action to update repo')
Fixes: 152337b6bdb8 ('views: add action to delete repo')
-rw-r--r-- | ogcp/templates/actions/delete_repo.html | 17 | ||||
-rw-r--r-- | ogcp/templates/actions/repos_update.html | 17 |
2 files changed, 34 insertions, 0 deletions
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 %} + +<h1 class="m-5">{{_('Delete repo')}}</h1> + +{{ wtf.quick_form(form, + action=url_for('action_repo_delete'), + method='post', + button_map={'submit': 'danger'}, + extra_classes="mx-5") }} +{% endblock %} diff --git a/ogcp/templates/actions/repos_update.html b/ogcp/templates/actions/repos_update.html new file mode 100644 index 0000000..3ba0450 --- /dev/null +++ b/ogcp/templates/actions/repos_update.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_update %}active{% endblock %} +{% block content %} + +<h1 class="m-5">{{_('Update repo')}}</h1> + +{{ wtf.quick_form(form, + action=url_for('action_repo_update'), + method='post', + button_map={'submit': 'primary'}, + extra_classes="mx-5") }} +{% endblock %} |