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/add_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/add_server.html')
-rw-r--r-- | ogcp/templates/actions/add_server.html | 17 |
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 %} |