summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/servers.html
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates/servers.html')
-rw-r--r--ogcp/templates/servers.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/ogcp/templates/servers.html b/ogcp/templates/servers.html
index bc09c4f..d555f71 100644
--- a/ogcp/templates/servers.html
+++ b/ogcp/templates/servers.html
@@ -17,7 +17,8 @@
<li class="nav-item">
<input class="form-check-input" type="checkbox" form="serversForm"
value="{{ server_str }}"
- name="selected-server" />
+ name="selected-server"
+ {% if loop.index == 1 %}checked{% endif %} />
{{ server["name"] }}
</li>
{% endfor %}
@@ -26,10 +27,8 @@
{% block commands %}
{% if current_user.is_authenticated %}
- <input class="btn btn-light {% block nav_server_add %}{% endblock %}" type="submit" value="{{ _('Add server') }}"
- form="serversForm" formaction="{{ url_for('server_add_get') }}" formmethod="get">
- <input class="btn btn-light {% block nav_server_delete %}{% endblock %}" type="submit" value="{{ _('Delete server') }}"
- form="serversForm" formaction="{{ url_for('server_delete_get') }}" formmethod="get">
+ <input class="btn btn-light {% block nav_server_update %}{% endblock %}" type="submit" value="{{ _('Update server') }}"
+ form="serversForm" formaction="{{ url_for('server_update_get') }}" formmethod="get">
{% if btn_back %}
<button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()">
{{ _("Back") }}