mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-01 16:36:06 +00:00
fix(console): a console the server closes says Connection lost, not Disconnected
The VNC and serial pages showed "Disconnected", as if the user had ended the session, when the VM stopped, was migrated or the console daemon restarted: noVNC calls a close by the server clean, and the serial page had a single text. "Disconnected" is now kept for the user's own Disconnect; any other end of a working connection is "Connection lost" (the serial terminal still prints the server's reason). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
This commit is contained in:
parent
450ffbba30
commit
16ad625cda
3 changed files with 8 additions and 3 deletions
|
|
@ -14,6 +14,7 @@
|
|||
{% block navbarstatus %}
|
||||
<span id="status" class="badge text-bg-secondary" role="status"
|
||||
data-connected="{% trans "Connected" %}" data-disconnected="{% trans "Disconnected" %}"
|
||||
data-lost="{% trans "Connection lost" %}"
|
||||
data-taken-over="{% trans "Taken over by %(name)s" %}"
|
||||
data-hint="{% trans "Connected. If the VM shows nothing, press Enter." %}">{% trans "Connecting" %}</span>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue