Files
SakurasanandClaude Sonnet 5 489a79564c feat(web): management console frontend
Vue 3 + TS + Vite + Tailwind with self-built UI components. Landing,
auth, user dashboard (keys/usage/settings), and admin console
(overview/models/channels/users/usage/config). Theme system
(light/dark/system) with pre-paint boot script, theme-aware ECharts,
and a channel editor with multi-format (Anthropic/OpenAI) selection.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-15 21:05:02 +08:00

28 lines
927 B
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenTeam · LLM API Relay</title>
<script>
;(function () {
// Resolve theme before first paint to avoid a flash of the wrong theme.
try {
var m = localStorage.getItem('ot_theme')
if (m !== 'light' && m !== 'dark' && m !== 'system') m = 'system'
var light =
m === 'light' ||
(m === 'system' && window.matchMedia('(prefers-color-scheme: light)').matches)
document.documentElement.setAttribute('data-theme', light ? 'light' : 'dark')
} catch (e) {
document.documentElement.setAttribute('data-theme', 'dark')
}
})()
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>