From 0ad07402f24aecfc2532184563c7ec1bcc6a7a41 Mon Sep 17 00:00:00 2001 From: goulustis Date: Wed, 11 Feb 2026 17:46:41 +0800 Subject: [PATCH] update viewer --- static/viewer.html | 212 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 208 insertions(+), 4 deletions(-) diff --git a/static/viewer.html b/static/viewer.html index 63672e1..2f2dc93 100644 --- a/static/viewer.html +++ b/static/viewer.html @@ -39,6 +39,34 @@ font-weight: 600; } + .connection-status { + font-size: 11px; + margin-top: 8px; + display: flex; + align-items: center; + gap: 6px; + } + + .status-indicator { + width: 8px; + height: 8px; + border-radius: 50%; + display: inline-block; + } + + .status-indicator.connected { + background-color: #2ecc71; + box-shadow: 0 0 4px #2ecc71; + } + + .status-indicator.disconnected { + background-color: #e74c3c; + } + + .status-indicator.connecting { + background-color: #f39c12; + } + .conversation-list { flex: 1; overflow-y: auto; @@ -252,6 +280,10 @@