diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-08-31 17:45:20 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-09-27 09:48:36 +0200 |
commit | 3459de36f35839e98e894ae3b58c4f4374d90913 (patch) | |
tree | 80136e41ad43c3500ee584a61181b58deaa7303b /ogcp/templates/actions/delete_server.html | |
parent | 07c5cb25d2281d2253729ecc7b7b40efdf6db140 (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.html | 23 |
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 %} + + |