From 9714954828cf82aa10afdf03d94ae081a38fa2e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Sun, 9 Mar 2025 14:29:38 +0100 Subject: [PATCH] NEW MODAL informacje o serwerze --- templates/server_list.html | 73 +++++++++++++++++++++++--------------- 1 file changed, 45 insertions(+), 28 deletions(-) diff --git a/templates/server_list.html b/templates/server_list.html index df52930..6605dc0 100644 --- a/templates/server_list.html +++ b/templates/server_list.html @@ -11,9 +11,8 @@ .badge-status { font-size: 0.85em; } - .action-btns a, - .action-btns button { - margin-right: 3px; + .action-btns a, .action-btns button { + margin-right: 4px; } {% endblock %} @@ -45,7 +44,7 @@ {% for h in hosts %} {{ h.id }} - + {% if h.use_daemon and h.type == 'linux' and h.daemon_url %} {{ h.resolved_daemon }} {% else %} @@ -55,48 +54,38 @@ {{ '-' if h.use_daemon and h.type == 'linux' else h.username }} {{ '-' if h.use_daemon and h.type == 'linux' else h.port }} - {{ 'Linux (Demon)' if h.use_daemon else h.type.capitalize() }} + {{ 'Linux (Demon)' if h.use_daemon else h.type.capitalize() }} {{ '- używa Demona -' if h.use_daemon else h.auth_method|capitalize }} {{ h.preferred_hostfile.title if h.preferred_hostfile else '(Default)' }} -
+
-
+
-
+
- - - + Edytuj {% if h.use_daemon and h.type == 'linux' %} - + {% else %} - - - + Testuj {% endif %} - - - + Backup
- +
@@ -106,15 +95,43 @@ -
+
- -{% include 'server_info_modal.html' %} + + {% endblock %}