compute_os/frontend/index.html

28 lines
990 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#f4f6fa" />
<meta name="description" content="本机模型服务编排与算力资源监控控制台" />
<title>ComputeOS · 算力控制中心</title>
<script>
// CSS 加载前先定 data-theme,防首帧闪色;JS 包加载后会再校准 canvas 调色板。
(function () {
try {
var s = localStorage.getItem("compute-service-manager-theme");
var dark = s ? s === "dark" : window.matchMedia("(prefers-color-scheme: dark)").matches;
document.documentElement.dataset.theme = dark ? "dark" : "light";
} catch (e) {
document.documentElement.dataset.theme = "dark";
}
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>