mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-11 11:28:51 +00:00
feat: dashboard theme overhaul — light content area with branded teal sidebar
Complete frontend visual redesign using certctl logo color palette: - Deep teal sidebar (#0c2e25) with prominent centered logo (64px in white pill) - Light content area (#f0f4f8) with white cards and visible borders - Brand colors from logo: teal (#2ea88f), blue (#3b7dd8), orange (#e8873a), green (#4ebe6e) - Inter + JetBrains Mono typography, colored stat card top borders - All 17 pages + 7 components updated (25 files, ~700 lines changed) - 15 new dashboard screenshots replacing old dark theme screenshots - Prometheus metrics e2e test added, integration test mock fixes - Docs updated: architecture.md theme description, testing-guide.md DNS-PERSIST-01 coverage Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -35,10 +35,10 @@ export default function ProfilesPage() {
|
||||
label: 'Profile',
|
||||
render: (p) => (
|
||||
<div>
|
||||
<div className="font-medium text-slate-200">{p.name}</div>
|
||||
<div className="text-xs text-slate-500 font-mono">{p.id}</div>
|
||||
<div className="font-medium text-ink">{p.name}</div>
|
||||
<div className="text-xs text-ink-faint font-mono">{p.id}</div>
|
||||
{p.description && (
|
||||
<div className="text-xs text-slate-400 mt-0.5 max-w-xs truncate">{p.description}</div>
|
||||
<div className="text-xs text-ink-muted mt-0.5 max-w-xs truncate">{p.description}</div>
|
||||
)}
|
||||
</div>
|
||||
),
|
||||
@@ -61,9 +61,9 @@ export default function ProfilesPage() {
|
||||
label: 'Max TTL',
|
||||
render: (p) => (
|
||||
<div>
|
||||
<span className="text-slate-200">{formatTTL(p.max_ttl_seconds)}</span>
|
||||
<span className="text-ink">{formatTTL(p.max_ttl_seconds)}</span>
|
||||
{p.allow_short_lived && (
|
||||
<span className="ml-2 text-xs text-amber-400 bg-amber-400/10 px-1.5 py-0.5 rounded">
|
||||
<span className="ml-2 text-xs text-amber-700 bg-amber-100 px-1.5 py-0.5 rounded">
|
||||
short-lived
|
||||
</span>
|
||||
)}
|
||||
@@ -76,7 +76,7 @@ export default function ProfilesPage() {
|
||||
render: (p) => (
|
||||
<div className="flex flex-wrap gap-1">
|
||||
{(p.allowed_ekus || []).map((eku, i) => (
|
||||
<span key={i} className="text-xs text-slate-400">{eku}</span>
|
||||
<span key={i} className="text-xs text-ink-muted">{eku}</span>
|
||||
))}
|
||||
</div>
|
||||
),
|
||||
@@ -86,8 +86,8 @@ export default function ProfilesPage() {
|
||||
label: 'SPIFFE',
|
||||
render: (p) => (
|
||||
p.spiffe_uri_pattern
|
||||
? <span className="text-xs text-blue-400 font-mono">{p.spiffe_uri_pattern}</span>
|
||||
: <span className="text-slate-500">—</span>
|
||||
? <span className="text-xs text-brand-400 font-mono">{p.spiffe_uri_pattern}</span>
|
||||
: <span className="text-ink-faint">—</span>
|
||||
),
|
||||
},
|
||||
{
|
||||
@@ -98,7 +98,7 @@ export default function ProfilesPage() {
|
||||
{
|
||||
key: 'created',
|
||||
label: 'Created',
|
||||
render: (p) => <span className="text-xs text-slate-400">{formatDateTime(p.created_at)}</span>,
|
||||
render: (p) => <span className="text-xs text-ink-muted">{formatDateTime(p.created_at)}</span>,
|
||||
},
|
||||
{
|
||||
key: 'actions',
|
||||
@@ -106,7 +106,7 @@ export default function ProfilesPage() {
|
||||
render: (p) => (
|
||||
<button
|
||||
onClick={(e) => { e.stopPropagation(); if (confirm(`Delete profile ${p.name}?`)) deleteMutation.mutate(p.id); }}
|
||||
className="text-xs text-red-400 hover:text-red-300 transition-colors"
|
||||
className="text-xs text-red-600 hover:text-red-700 transition-colors"
|
||||
>
|
||||
Delete
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user