feat(ops-web): add operations console frontend

Vue 3 + Ant Design Vue SPA scaffold for the internal ops console. Ships
the auth, account list, and audit log views that consume the new ops-api
endpoints, plus the nginx/vite/typecheck plumbing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-28 11:33:17 +08:00
parent f63e800f21
commit f5254f6a27
20 changed files with 1830 additions and 7 deletions
+52
View File
@@ -0,0 +1,52 @@
html,
body,
#app {
height: 100%;
margin: 0;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
background-color: #f8fafc; /* Lighter, cooler gray */
color: #334155;
}
.ops-shell-content {
padding: 24px 32px;
max-width: 1400px;
margin: 0 auto;
width: 100%;
}
.ops-page-title {
font-size: 24px;
font-weight: 700;
color: #0f172a;
margin: 0 0 24px;
letter-spacing: -0.5px;
}
.ops-card {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
padding: 24px;
border: 1px solid #f1f5f9;
}
.ops-toolbar {
display: flex;
gap: 16px;
align-items: center;
margin-bottom: 24px;
flex-wrap: wrap;
}
/* Make Ant Table headers slightly more modern inside card */
.ops-card .ant-table-thead > tr > th {
background: #f8fafc;
color: #64748b;
font-weight: 600;
border-bottom: 1px solid #e2e8f0;
}