feat(web-platform): release V0.9.3 全模块界面重构
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN" class="theme-dark">
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
@@ -7,6 +7,14 @@
|
||||
<meta name="description" content="Unitree Go2 奖励函数自调参 Agent 工作台" />
|
||||
<link rel="icon" href="data:," />
|
||||
<title>Go2 自调参 Agent</title>
|
||||
<script>
|
||||
try {
|
||||
document.documentElement.dataset.bootTheme =
|
||||
localStorage.getItem('mujoco-platform-theme') === 'light' ? 'light' : 'dark';
|
||||
} catch {
|
||||
/* 默认深色,启动不依赖存储权限。 */
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
html,
|
||||
body,
|
||||
@@ -16,11 +24,24 @@
|
||||
}
|
||||
body {
|
||||
background: #09111e;
|
||||
color: #f1f5f9;
|
||||
}
|
||||
html[data-boot-theme='light'] body {
|
||||
background: #f7f9fc;
|
||||
color: #172b41;
|
||||
}
|
||||
.boot-screen {
|
||||
display: grid;
|
||||
height: 100%;
|
||||
place-items: center;
|
||||
font:
|
||||
13px system-ui,
|
||||
sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<div id="root"><div class="boot-screen" role="status">正在启动调参工作台…</div></div>
|
||||
<script type="module" src="/src/tuning/main.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user