summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/add_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-27 09:48:36 +0200
commit3459de36f35839e98e894ae3b58c4f4374d90913 (patch)
tree80136e41ad43c3500ee584a61181b58deaa7303b /ogcp/templates/actions/add_server.html
parent07c5cb25d2281d2253729ecc7b7b40efdf6db140 (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/add_server.html')
-rw-r--r--ogcp/templates/actions/add_server.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/ogcp/templates/actions/add_server.html b/ogcp/templates/actions/add_server.html
new file mode 100644
index 0000000..c86dcba
--- /dev/null
+++ b/ogcp/templates/actions/add_server.html
@@ -0,0 +1,17 @@
+{% extends 'servers.html' %}
+{% import "bootstrap/wtf.html" as wtf %}
+
+{% set sidebar_state = 'disabled' %}
+{% set btn_back = true %}
+
+{% block nav_server_add %}active{% endblock %}
+{% block content %}
+
+<h1 class="m-5">{{_('Add a server')}}</h1>
+
+{{ wtf.quick_form(form,
+ action=url_for('server_add_post'),
+ method='post',
+ button_map={'submit_btn':'primary'}) }}
+
+{% endblock %}