- make web-build(ws-usernode-web-dev 容器)重建 web/dist → internal/webui/dist - 清空旧 hash 产物,避免 go:embed 冗余 - make build-embed 产出 bin/usernode(22MB,含新主题前端)
29 lines
1.4 KiB
HTML
29 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link
|
|
rel="icon"
|
|
href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%234f46e5'/%3E%3Crect x='7' y='7' width='18' height='13' rx='2' fill='none' stroke='white' stroke-width='2.4'/%3E%3Cline x1='9' y1='13' x2='23' y2='13' stroke='white' stroke-width='2'/%3E%3Cline x1='14' y1='20' x2='14' y2='24' stroke='white' stroke-width='2.4'/%3E%3Cline x1='18' y1='20' x2='18' y2='24' stroke='white' stroke-width='2.4'/%3E%3Cline x1='11' y1='24' x2='21' y2='24' stroke='white' stroke-width='2.4'/%3E%3C/svg%3E"
|
|
/>
|
|
<title>ws_usernode 用户管理</title>
|
|
<script>
|
|
// 在渲染前恢复主题,避免暗色模式闪白
|
|
;(function () {
|
|
try {
|
|
var t = localStorage.getItem('ws-usernode-theme')
|
|
if (t === 'dark' || (t !== 'light' && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
document.documentElement.classList.add('dark')
|
|
}
|
|
} catch (e) {}
|
|
})()
|
|
</script>
|
|
<script type="module" crossorigin src="/assets/index-7syy_I7y.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-Zt5ivs7P.css">
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|