diff --git a/deployment/scripts/docker-build-and-push.sh b/deployment/scripts/docker-build-and-push.sh index 9b9f1e6..8b5bc9e 100755 --- a/deployment/scripts/docker-build-and-push.sh +++ b/deployment/scripts/docker-build-and-push.sh @@ -7,7 +7,7 @@ set -e # Configuration IMAGE_NAME="danaildr/webssh" -VERSION="0.5.0" +VERSION="0.5.1" PLATFORMS="linux/amd64,linux/arm64,linux/arm/v7" # Colors diff --git a/src/help.html b/src/help.html index 714bf08..16a67b9 100644 --- a/src/help.html +++ b/src/help.html @@ -390,7 +390,7 @@

📖 Project page: danaildr/webssh

🐳 Docker Hub: danaildr/webssh

📧 Support: See the project documentation for setup, env vars, and reverse proxy config.

-

🔄 Version: WebSSH Multi-Connection Terminal v0.5.0

+

🔄 Version: WebSSH Multi-Connection Terminal v0.5.1

⚡ Technologies: Python, Paramiko, WebSockets, HTML5, CSS3, JavaScript

diff --git a/src/static/webssh.css b/src/static/webssh.css index d8ac2ed..4d3857e 100644 --- a/src/static/webssh.css +++ b/src/static/webssh.css @@ -102,23 +102,30 @@ body { .connection-item.disconnected { border-left: 3px solid #ef4444; } .connection-name { + flex: 1; + min-width: 0; font-weight: 500; font-size: 14px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; + overflow-wrap: anywhere; } .connection-heading { display: flex; - flex-direction: column; /* Добавено: подрежда ги вертикално */ - align-items: flex-start; /* Променено: подравнява ги вляво */ - gap: 2px; /* Намалено, за да са по-близо едно до друго вертикално */ + flex-direction: column; + align-items: flex-start; + gap: 2px; min-width: 0; margin-bottom: 4px; } -.connection-heading .connection-name { min-width: 0; } +.connection-title-row { + display: flex; + justify-content: space-between; + align-items: flex-start; + gap: 8px; + width: 100%; + min-width: 0; +} .connection-load { flex: 0 1 auto; @@ -136,9 +143,11 @@ body { } .host-status { - margin-top: 4px; + flex: none; font-size: 11px; font-weight: 500; + text-align: right; + white-space: nowrap; } .host-status.up { color: #34d399; } diff --git a/src/static/webssh.js b/src/static/webssh.js index a099cfa..5d07896 100644 --- a/src/static/webssh.js +++ b/src/static/webssh.js @@ -450,16 +450,18 @@ function renderConnectionList() { item.onclick = () => selectConnection(conn.id); item.innerHTML = `
-
${conn.name}
+
+
${conn.name}
+
+ Host: ${conn.hostStatus === true ? 'Up' : conn.hostStatus === false ? 'Down' : 'Checking...'} +
+
Load: ${loadText}
${conn.username}@${conn.host}:${conn.port}
-
- Host: ${conn.hostStatus === true ? 'Up' : conn.hostStatus === false ? 'Down' : 'Checking...'} -
${conn.connected ? `` diff --git a/src/webssh_backend/__init__.py b/src/webssh_backend/__init__.py index af0d60e..dceadb6 100644 --- a/src/webssh_backend/__init__.py +++ b/src/webssh_backend/__init__.py @@ -18,7 +18,7 @@ Usage: from webssh_backend.main import main asyncio.run(main()) """ -__version__ = "0.5.0" +__version__ = "0.5.1" # Note: Specific imports are intentionally NOT done at package level # to avoid loading all dependencies when only specific modules are needed.