diff --git a/plinth/modules/wireguard/templates/wireguard.html b/plinth/modules/wireguard/templates/wireguard.html index c4904a291..2e474ed34 100644 --- a/plinth/modules/wireguard/templates/wireguard.html +++ b/plinth/modules/wireguard/templates/wireguard.html @@ -10,86 +10,87 @@
- {% blocktrans trimmed %} - Information for this {{ box_name }}: - {% endblocktrans %} -
++ {% blocktrans trimmed %} + Information for this {{ box_name }}: + {% endblocktrans %} +
-| {% trans "Property" %} | -{% trans "Value" %} | -||
|---|---|---|---|
| {% trans "Public Key" %} | -{{ server.public_key }} | +{% trans "Property" %} | +{% trans "Value" %} |
|---|---|---|---|
| {% trans "Endpoint(s)" %} | -- {% for endpoint in server_endpoints %}{{ endpoint }} -{% endfor %} | -||
| - {% blocktrans trimmed %} - {{ box_name }} VPN IP for services - {% endblocktrans %} - | -{{ server.ip_address }} | -
{% trans "Peers allowed to connect to this server:" %}
- -| {% trans "Public Key" %} | -{% trans "Allowed IPs" %} | -{% trans "Last Connected Time" %} | -{% trans "Public Key" %} | +{{ server.public_key }} | +
|---|---|---|---|
| {% trans "Endpoint(s)" %} |
-
- {{ peer.public_key }}
-
+ {% for endpoint in server_endpoints %}{{ endpoint }}
+{% endfor %}
|
- {{ peer.allowed_ips|join:", " }} | -{{ peer.status.latest_handshake|default:'' }} | -
| - {% blocktrans trimmed %} - No peers configured to connect to this {{ box_name }} yet. - {% endblocktrans %} - | -|||
{% trans "Peers allowed to connect to this server:" %}
+ +| {% trans "Public Key" %} | +{% trans "Allowed IPs" %} | +{% trans "Last Connected Time" %} | +
|---|---|---|
| + + {{ peer.public_key }} + + | +{{ peer.allowed_ips|join:", " }} | +{{ peer.status.latest_handshake|default:'' }} | +
| + {% blocktrans trimmed %} + No peers configured to connect to this {{ box_name }} yet. + {% endblocktrans %} + | +||
{% trans "WireGuard server not started yet." %}
@@ -102,8 +103,7 @@