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-07 17:49:15 +0200
commitcf02e0c051e664cdfd77162fac3a7c8302620324 (patch)
tree494e05e3c118848770ae40beb9a8b11e001ec5f1 /ogcp/templates/actions/add_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/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 %}