diff --git a/containers/libreportal/frontend/css/ssh.css b/containers/libreportal/frontend/css/ssh.css new file mode 100644 index 0000000..078f268 --- /dev/null +++ b/containers/libreportal/frontend/css/ssh.css @@ -0,0 +1,73 @@ +/* SSH Access page. Reuses the .backup-ssh-key-card / button styles from + backup.css for the cards; this file only adds page chrome + the key list. */ + +.ssh-page { + max-width: 860px; + margin: 0 auto; + padding: 24px 20px 40px; +} + +.ssh-page-header { + margin-bottom: 18px; +} + +.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-key-list { + display: flex; + flex-direction: column; + gap: 8px; +} + +.ssh-key-row { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + padding: 10px 12px; + border: 1px solid rgba(var(--text-rgb), 0.10); + border-radius: 8px; + background: var(--card-bg); +} + +.ssh-key-row-main { + display: flex; + flex-direction: column; + gap: 2px; + min-width: 0; +} + +.ssh-key-type { + font-size: 0.72rem; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.04em; + color: var(--accent); +} + +.ssh-key-comment { + font-size: 0.9rem; + font-weight: 600; + color: var(--text-primary); +} + +.ssh-key-fp { + font-family: var(--font-mono, monospace); + font-size: 0.74rem; + color: rgba(var(--text-rgb), 0.6); + word-break: break-all; +} diff --git a/containers/libreportal/frontend/html/ssh-content.html b/containers/libreportal/frontend/html/ssh-content.html new file mode 100644 index 0000000..1ba6ee1 --- /dev/null +++ b/containers/libreportal/frontend/html/ssh-content.html @@ -0,0 +1,9 @@ +
Control who can SSH into this server. Grant access by adding a public key, and optionally require key-only login.
+