summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/delete_repo.html17
-rw-r--r--ogcp/templates/actions/repos_update.html17
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 %}