summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/delete_server.html
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-08-31 17:45:20 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-09-07 17:49:15 +0200
commitcf02e0c051e664cdfd77162fac3a7c8302620324 (patch)
tree494e05e3c118848770ae40beb9a8b11e001ec5f1 /ogcp/templates/actions/delete_server.html
parent7039b2942611f605f610888e6c7970135f4b67e4 (diff)
Add Servers section
In Servers section/view, users can add or delete ogServers from ogCP configuration file. Replaces Repositories views and recycle some of its code.
Diffstat (limited to 'ogcp/templates/actions/delete_server.html')
-rw-r--r--ogcp/templates/actions/delete_server.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/ogcp/templates/actions/delete_server.html b/ogcp/templates/actions/delete_server.html
new file mode 100644
index 0000000..8f9417e
--- /dev/null
+++ b/ogcp/templates/actions/delete_server.html
@@ -0,0 +1,23 @@
+{% extends 'servers.html' %}
+{% import "bootstrap/wtf.html" as wtf %}
+
+{% set sidebar_state = 'disabled' %}
+{% set btn_back = true %}
+
+{% block content %}
+
+{{ args }}
+
+<h1 class="m-5">
+{{ _('Delete server %(server_name)s', server_name=form.name.data) }}
+</h1>
+
+{{ wtf.quick_form(form,
+ action=url_for('server_delete_post'),
+ method='post',
+ button_map={'submit': 'primary'},
+ extra_classes="mx-5") }}
+
+{% endblock %}
+
+