feat(ui): Terminal tab — embedded blackflame ttyd to CT300 (claude in persistent tmux)

ttyd on CT300 (:7681, firewalled to Traefik) behind same-origin /terminal via
Traefik + CF Access; iframe view + nav entry.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
root
2026-06-04 23:09:35 +10:00
parent 16f2083253
commit 8ed3c5deb4
5 changed files with 29 additions and 0 deletions

View File

@@ -155,6 +155,11 @@ button.ghost:hover { color: var(--text); border-color: var(--accent-dim); }
.lb-toast.err { border-color: var(--bad); color: var(--bad); }
@media (max-width: 900px) { .lb-grid { grid-template-columns: 1fr; } }
/* Terminal tab (embedded ttyd) */
.term-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.term-title { font-family: var(--font-display); color: var(--accent); letter-spacing: 0.08em; font-size: 14px; }
.term-frame { width: 100%; height: calc(100vh - 100px); border: 1px solid var(--border); border-radius: 6px; background: var(--bg); display: block; }
/* modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal {