diff --git a/.gitignore b/.gitignore index 1b50400..8a42ca5 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ credentials/ *.pid memory.bak/ .use_openrouter +.gstack/ diff --git a/dashboard/index.html b/dashboard/index.html index 7bb9967..a28ca3f 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -155,6 +155,43 @@ color: #818cf8; } + .status-section-icon.services { + background: rgba(59, 130, 246, 0.15); + color: #3b82f6; + } + + .status-section-icon.sessions { + background: rgba(168, 85, 247, 0.15); + color: #a855f7; + } + + .status-section-icon.logs { + background: rgba(156, 163, 175, 0.15); + color: #9ca3af; + } + + .status-section-icon.doctor { + background: rgba(20, 184, 166, 0.15); + color: #14b8a6; + } + + .status-section-actions { + display: flex; + gap: var(--space-2); + align-items: center; + margin-left: auto; + } + + .status-section-actions .btn { + font-size: var(--text-xs); + padding: var(--space-1) var(--space-2); + } + + /* Heavy content (services grid, sessions list, logs, doctor) — full width, no left indent */ + .status-section-details.full-width { + padding: 0 var(--space-4) var(--space-3); + } + .status-section-info { flex: 1; min-width: 0; @@ -904,44 +941,9 @@ } /* ───────────────────────────────────────────────────────── - Eco panels (merged from eco.html) + Eco panels (merged from eco.html — now nested under Status) ───────────────────────────────────────────────────────── */ - /* Collapsible section (used by Services/Git/Sessions/Logs/Doctor) */ - .section { - margin-bottom: var(--space-4); - } - - .section-header { - display: flex; - justify-content: space-between; - align-items: center; - margin-bottom: var(--space-3); - cursor: pointer; - user-select: none; - } - - .section.collapsed .section-body { display: none; } - .section.collapsed .section-header { margin-bottom: 0; } - .section.collapsed .sec-chev { transform: rotate(180deg); } - - .sec-chev { - width: 16px; - height: 16px; - color: var(--text-muted); - transition: transform var(--transition-fast); - flex-shrink: 0; - } - - .section-title { - font-size: var(--text-lg); - font-weight: 600; - color: var(--text-primary); - display: flex; - align-items: center; - gap: var(--space-2); - } - /* Service cards */ .services-grid { display: grid; @@ -1309,100 +1311,6 @@ font-size: var(--text-xs); } - /* Git panel (top-level) */ - .git-card { - background: var(--bg-surface); - border: 1px solid var(--border); - border-radius: var(--radius-lg); - overflow: hidden; - } - - .git-header { - display: flex; - align-items: center; - gap: var(--space-3); - padding: var(--space-3) var(--space-4); - cursor: pointer; - user-select: none; - } - - .git-header:hover { background: var(--bg-elevated); } - - .git-icon { - width: 32px; - height: 32px; - display: flex; - align-items: center; - justify-content: center; - border-radius: var(--radius-md); - background: rgba(249, 115, 22, 0.15); - color: #f97316; - flex-shrink: 0; - } - - .git-icon svg { width: 18px; height: 18px; } - - .git-info { flex: 1; min-width: 0; } - - .git-title { - font-size: var(--text-sm); - font-weight: 600; - color: var(--text-primary); - display: flex; - align-items: center; - gap: var(--space-2); - } - - .git-subtitle { - font-size: 13px; - color: var(--text-secondary); - margin-top: 2px; - } - - .git-badge { - padding: 3px 10px; - border-radius: var(--radius-sm); - font-size: 12px; - font-weight: 600; - } - - .git-badge.ok { background: rgba(34, 197, 94, 0.15); color: #22c55e; } - .git-badge.warning { background: rgba(249, 115, 22, 0.15); color: #f97316; } - .git-badge.error { background: rgba(239, 68, 68, 0.15); color: #ef4444; } - - .git-actions { - display: flex; - gap: var(--space-2); - margin-left: auto; - } - - .git-toggle { - width: 16px; - height: 16px; - color: var(--text-muted); - transition: transform var(--transition-fast); - } - - .git-card.collapsed .git-toggle { transform: rotate(-90deg); } - .git-card.collapsed .git-details { display: none; } - - .git-details { - padding: 0 var(--space-4) var(--space-3); - padding-left: calc(var(--space-4) + 32px + var(--space-3)); - } - - .git-detail-item { - display: flex; - align-items: center; - gap: var(--space-2); - font-size: 13px; - color: var(--text-primary); - padding: 2px 0; - } - - .git-detail-item svg { width: 14px; height: 14px; color: var(--text-secondary); } - .git-detail-item.uncommitted { color: #f97316; } - /* Spinner */ .spinner { display: inline-block; @@ -1536,6 +1444,99 @@