GUI: add persistent QR/config view and handshake-based online status

This commit is contained in:
Ruslan
2026-04-14 12:27:26 +03:00
parent bdfc648bba
commit bb6cdb58ed
2 changed files with 56 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
<table>
<thead>
<tr>
<th>Имя</th><th>Статус</th><th>IP</th><th>Роуты</th><th>AllowedIPs</th><th>Endpoint</th><th>Handshake</th><th>RX</th><th>TX</th><th>PubKey</th>
<th>Имя</th><th>Статус</th><th>IP</th><th>Роуты</th><th>AllowedIPs</th><th>Endpoint</th><th>Handshake</th><th>RX</th><th>TX</th><th>PubKey</th><th>Действие</th>
</tr>
</thead>
<tbody>
@@ -21,6 +21,13 @@
<td>{{ p.rx }}</td>
<td>{{ p.tx }}</td>
<td class="mono">{{ p.public_key }}</td>
<td>
{% if p.id %}
<a href="{{ url_for('peer_view', peer_id=p.id) }}">QR/Config</a>
{% else %}
-
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>