{% extends "base.html" %} {% from "macros/icons.html" import icon %} {% block content %} {{ icon('server') }} {{ _('nav_servers') }} {{ icon('plus') }} {{ _('add_server') }} {% if servers %} {% for server in servers %} {{ icon('server') }} {{ server.name }} {{ server.host }}:{{ server.ssh_port }} {% set connect_domain = (server.server_info or {}).get('connect_domain') %} {% if connect_domain and connect_domain != server.host %} → {{ connect_domain }} {% endif %} {% if server.protocols %} {% for proto_key, proto_val in server.protocols.items() %} {% if proto_val.get('installed') %} {{ 'AWG' if proto_key == 'awg' else ('AWG-Legacy' if proto_key == 'awg_legacy' else ('Xray' if proto_key == 'xray' else proto_key | upper)) }} {% endif %} {% endfor %} {% else %} {{ _('no_protocols') }} {% endif %} {{ _('manage') }} {{ icon('pencil') }} {{ icon('trash') }} {% endfor %} {% else %} {{ icon('shield') }} {{ _('no_servers') }} {{ _('add_server_desc') }} {{ icon('plus') }} {{ _('add_server') }} {% endif %}