diff --git a/containers/libreportal/frontend/css/ssh.css b/containers/libreportal/frontend/css/ssh.css index 0b55c7d..965f3d6 100644 --- a/containers/libreportal/frontend/css/ssh.css +++ b/containers/libreportal/frontend/css/ssh.css @@ -19,24 +19,20 @@ color: rgba(var(--text-rgb), 0.45); } -.ssh-page-header { - margin-bottom: 18px; +/* SSH Access uses the config page's section layout (.config-category / + .domains-wrapper); these just space the content inside each section. */ +.ssh-section-body { + display: flex; + flex-direction: column; + gap: 10px; + padding: 2px 0; } -.ssh-page-header h1 { - margin: 0 0 6px; - font-size: 1.5rem; -} - -.ssh-page-sub { - margin: 0; - color: rgba(var(--text-rgb), 0.65); - font-size: 0.92rem; - line-height: 1.45; -} - -.ssh-page .backup-ssh-key-card { - margin-top: 16px; +.ssh-section-actions { + display: flex; + flex-wrap: wrap; + gap: 8px; + margin-top: 2px; } .ssh-key-list { diff --git a/containers/libreportal/frontend/js/components/config/config-manager.js b/containers/libreportal/frontend/js/components/config/config-manager.js index 66b85b3..b26cc6e 100755 --- a/containers/libreportal/frontend/js/components/config/config-manager.js +++ b/containers/libreportal/frontend/js/components/config/config-manager.js @@ -167,7 +167,7 @@ if (typeof window.ConfigManager === 'undefined') { '
' + catDesc + '
' : '') + '${desc}
Paste a public key (the .pub from your machine) to grant it SSH access.
Control who can SSH into this server. Grant access by adding a public key, and optionally require key-only login.
+Control who can SSH into this server (logging in as ${this.escape(d.user)}). Grant access by adding a public key, and optionally require key-only login.
Logging in as ${this.escape(d.user)} ยท ${keys.length} authorized key${keys.length === 1 ? '' : 's'}.
Password login is disabled โ only the keys below can connect.
`} -Paste a public key (the .pub from your machine) to grant it SSH access: