summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/base.html
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-03 12:45:49 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-03 16:26:22 +0200
commit7613cd8017e978e771552467a4e10141e120fccb (patch)
tree172c69df30ead92bdf6b9fb2619523ad6b4f9f29 /ogcp/templates/base.html
parentc1ac88e47c8562699edc9f5304649762366191e0 (diff)
ogcp: add server ip configuration
Enable server view in the main toolbar. Hide Add server and Delete server buttons. Add Update server button. Add server/update view to edit the server addresses.
Diffstat (limited to 'ogcp/templates/base.html')
-rw-r--r--ogcp/templates/base.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html
index cd030e8..5d46135 100644
--- a/ogcp/templates/base.html
+++ b/ogcp/templates/base.html
@@ -40,6 +40,9 @@
<a class="nav-link" href="{{ url_for('manage_repos') }}">{{ _('Repos') }}</a>
</li>
{% if current_user.admin %}
+ <li class="nav-item {% block nav_servers %}{% endblock %}">
+ <a class="nav-link" href="{{ url_for('manage_servers') }}">{{ _('Servers') }}</a>
+ </li>
<li class="nav-item {% block nav_users %}{% endblock %}">
<a class="nav-link" href="{{ url_for('users') }}">{{ _('Users') }}</a>
</li>