Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
Hermes-employee
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
yujiejie
Hermes-employee
Commits
0ac23c2b
提交
0ac23c2b
authored
8月 06, 2026
作者:
yujiejie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
第一次导航链接,但是变成上下排版了需要修改
上级
f234f053
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
508 行增加
和
37 行删除
+508
-37
base.css
ui-prototype/css/base.css
+18
-5
agents.html
ui-prototype/pages/agents.html
+46
-1
chat.html
ui-prototype/pages/chat.html
+30
-22
discover.html
ui-prototype/pages/discover.html
+46
-1
gateway.html
ui-prototype/pages/gateway.html
+46
-1
kanban.html
ui-prototype/pages/kanban.html
+46
-1
memory.html
ui-prototype/pages/memory.html
+46
-1
office.html
ui-prototype/pages/office.html
+46
-1
providers.html
ui-prototype/pages/providers.html
+46
-1
schedules.html
ui-prototype/pages/schedules.html
+46
-1
skills.html
ui-prototype/pages/skills.html
+46
-1
tools.html
ui-prototype/pages/tools.html
+46
-1
没有找到文件。
ui-prototype/css/base.css
浏览文件 @
0ac23c2b
...
@@ -88,7 +88,7 @@ body.theme-light {
...
@@ -88,7 +88,7 @@ body.theme-light {
--bg-primary
:
#ffffff
;
--bg-primary
:
#ffffff
;
--bg-secondary
:
#f8f8f8
;
--bg-secondary
:
#f8f8f8
;
--bg-tertiary
:
#f0f0f0
;
--bg-tertiary
:
#f0f0f0
;
--bg-elevated
:
#
e8e8e8
;
--bg-elevated
:
#
ffffff
;
--bg-hover
:
#ebebeb
;
--bg-hover
:
#ebebeb
;
--bg-active
:
#e0e0e0
;
--bg-active
:
#e0e0e0
;
--accent
:
#003f7a
;
--accent
:
#003f7a
;
...
@@ -116,6 +116,17 @@ body.theme-light {
...
@@ -116,6 +116,17 @@ body.theme-light {
--scrollbar-hover
:
#bbbbbb
;
--scrollbar-hover
:
#bbbbbb
;
}
}
/* Light theme: remove dark-theme rounded corners */
body
.theme-light
.sidebar
{
border-radius
:
0
;
}
body
.theme-light
.status-bar
{
border-radius
:
0
;
}
body
.theme-light
.sidebar-brand
{
border-bottom
:
none
;
}
/* ────────────────────────────────────────────────────────────────────────
/* ────────────────────────────────────────────────────────────────────────
2. RESET & BASE
2. RESET & BASE
──────────────────────────────────────────────────────────────────────── */
──────────────────────────────────────────────────────────────────────── */
...
@@ -212,12 +223,14 @@ code, kbd, pre { font-family: var(--font-mono); }
...
@@ -212,12 +223,14 @@ code, kbd, pre { font-family: var(--font-mono); }
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/* Collapsed state */
/* Collapsed state
(class on the sidebar itself)
*/
.sidebar
-collapsed
.sidebar
{
.sidebar
.sidebar-collapsed
{
width
:
var
(
--sidebar-collapsed-width
);
width
:
var
(
--sidebar-collapsed-width
);
}
}
.sidebar-collapsed
.sidebar-nav-label
{
display
:
none
;
}
/* Brand / collapse toggle area */
.sidebar-collapsed
.sidebar-nav-item
.sidebar-nav-label
{
display
:
none
;
}
.sidebar-collapsed
.sidebar-nav-item
{
justify-content
:
center
;
}
.sidebar-collapsed
.sidebar-footer-action
[
data-tooltip
]
:hover::after
{
display
:
none
;
}
.sidebar-brand
{
.sidebar-brand
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
...
ui-prototype/pages/agents.html
浏览文件 @
0ac23c2b
...
@@ -74,7 +74,40 @@
...
@@ -74,7 +74,40 @@
<!--
<!--
状态切换:?state=list|create
状态切换:?state=list|create
-->
-->
<body
class=
"agents-container"
>
<body
class=
"theme-light agents-container"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar-brand"
>
<button
class=
"sidebar-collapse-toggle"
aria-label=
"Collapse sidebar"
><span
aria-hidden=
"true"
>
◀
</span></button>
</div>
<nav
class=
"sidebar-nav"
>
<a
class=
"sidebar-nav-item"
href=
"chat.html"
><span
aria-hidden=
"true"
>
💬
</span><span
class=
"sidebar-nav-label"
>
聊天
</span></a>
<a
class=
"sidebar-nav-item"
href=
"discover.html"
><span
aria-hidden=
"true"
>
⊕
</span><span
class=
"sidebar-nav-label"
>
发现
</span></a>
<a
class=
"sidebar-nav-item"
href=
"office.html"
><span
aria-hidden=
"true"
>
🏢
</span><span
class=
"sidebar-nav-label"
>
办公
</span></a>
<a
class=
"sidebar-nav-item"
href=
"kanban.html"
><span
aria-hidden=
"true"
>
📋
</span><span
class=
"sidebar-nav-label"
>
看板
</span></a>
<a
class=
"sidebar-nav-item"
href=
"schedules.html"
><span
aria-hidden=
"true"
>
⏱
</span><span
class=
"sidebar-nav-label"
>
定时任务
</span></a>
<a
class=
"sidebar-nav-item"
href=
"skills.html"
><span
aria-hidden=
"true"
>
⚡
</span><span
class=
"sidebar-nav-label"
>
技能
</span></a>
<a
class=
"sidebar-nav-item active"
href=
"agents.html"
><span
aria-hidden=
"true"
>
🤖
</span><span
class=
"sidebar-nav-label"
>
助手
</span></a>
</nav>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Providers"
href=
"providers.html"
><span
aria-hidden=
"true"
>
🔑
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Gateway"
href=
"gateway.html"
><span
aria-hidden=
"true"
>
📡
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Tools"
href=
"tools.html"
><span
aria-hidden=
"true"
>
🛠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Memory"
href=
"memory.html"
><span
aria-hidden=
"true"
>
🧠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html"
><span
aria-hidden=
"true"
>
⚙
</span></a>
</div>
<a
class=
"profile-switcher"
href=
"profile-modal.html"
>
<div
class=
"profile-icon"
>
E
</div>
<span
class=
"profile-switcher-name"
>
默认
</span>
<div
class=
"profile-switcher-chevron"
><span
aria-hidden=
"true"
>
▾
</span></div>
</a>
</div>
</aside>
<main
class=
"content"
>
<div
class=
"view-pane"
>
<div
class=
"agents-header"
>
<div
class=
"agents-header"
>
<div>
<div>
...
@@ -251,5 +284,17 @@
...
@@ -251,5 +284,17 @@
document
.
body
.
classList
.
remove
(
'state-create'
);
document
.
body
.
classList
.
remove
(
'state-create'
);
});
});
</script>
</script>
<script>
(
function
()
{
const
page
=
location
.
pathname
.
split
(
'/'
).
pop
()
||
''
;
document
.
querySelectorAll
(
'.sidebar-nav-item'
).
forEach
(
a
=>
{
if
(
a
.
getAttribute
(
'href'
)
===
page
)
a
.
classList
.
add
(
'active'
);
});
})();
</script>
</div>
<!-- /view-pane -->
</main>
</div>
<!-- /app-content -->
</div>
<!-- /app -->
</body>
</body>
</html>
</html>
ui-prototype/pages/chat.html
浏览文件 @
0ac23c2b
...
@@ -763,7 +763,7 @@
...
@@ -763,7 +763,7 @@
body.state-attachments / body.state-drop
body.state-attachments / body.state-drop
URL 参数自动切换:?state=default|empty|loading|error|approval|clarify|queue|attachments
URL 参数自动切换:?state=default|empty|loading|error|approval|clarify|queue|attachments
-->
-->
<body
class=
"state-default"
>
<body
class=
"
theme-light
state-default"
>
<div
class=
"app"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<div
class=
"app-content"
>
...
@@ -797,26 +797,34 @@
...
@@ -797,26 +797,34 @@
<span
aria-hidden=
"true"
>
+
</span>
<span
aria-hidden=
"true"
>
+
</span>
<span
class=
"sidebar-nav-label"
>
新建对话
</span>
<span
class=
"sidebar-nav-label"
>
新建对话
</span>
</button>
</button>
<
button
class=
"sidebar-nav-item active
"
>
<
a
class=
"sidebar-nav-item active"
href=
"chat.html
"
>
<span
aria-hidden=
"true"
>
💬
</span>
<span
aria-hidden=
"true"
>
💬
</span>
<span
class=
"sidebar-nav-label"
>
聊天
</span>
<span
class=
"sidebar-nav-label"
>
聊天
</span>
</
button
>
</
a
>
<
button
class=
"sidebar-nav-item
"
>
<
a
class=
"sidebar-nav-item"
href=
"discover.html
"
>
<span
aria-hidden=
"true"
>
⊕
</span>
<span
aria-hidden=
"true"
>
⊕
</span>
<span
class=
"sidebar-nav-label"
>
发现
</span>
<span
class=
"sidebar-nav-label"
>
发现
</span>
</
button
>
</
a
>
<
button
class=
"sidebar-nav-item
"
>
<
a
class=
"sidebar-nav-item"
href=
"office.html
"
>
<span
aria-hidden=
"true"
>
🏢
</span>
<span
aria-hidden=
"true"
>
🏢
</span>
<span
class=
"sidebar-nav-label"
>
办公
</span>
<span
class=
"sidebar-nav-label"
>
办公
</span>
</
button
>
</
a
>
<
button
class=
"sidebar-nav-item
"
>
<
a
class=
"sidebar-nav-item"
href=
"kanban.html
"
>
<span
aria-hidden=
"true"
>
📋
</span>
<span
aria-hidden=
"true"
>
📋
</span>
<span
class=
"sidebar-nav-label"
>
看板
</span>
<span
class=
"sidebar-nav-label"
>
看板
</span>
</
button
>
</
a
>
<
button
class=
"sidebar-nav-item
"
>
<
a
class=
"sidebar-nav-item"
href=
"schedules.html
"
>
<span
aria-hidden=
"true"
>
⏱
</span>
<span
aria-hidden=
"true"
>
⏱
</span>
<span
class=
"sidebar-nav-label"
>
定时任务
</span>
<span
class=
"sidebar-nav-label"
>
定时任务
</span>
</button>
</a>
<a
class=
"sidebar-nav-item"
href=
"skills.html"
>
<span
aria-hidden=
"true"
>
⚡
</span>
<span
class=
"sidebar-nav-label"
>
技能
</span>
</a>
<a
class=
"sidebar-nav-item"
href=
"agents.html"
>
<span
aria-hidden=
"true"
>
🤖
</span>
<span
class=
"sidebar-nav-label"
>
助手
</span>
</a>
</nav>
</nav>
<div
class=
"sidebar-chat-section"
>
<div
class=
"sidebar-chat-section"
>
...
@@ -877,21 +885,21 @@
...
@@ -877,21 +885,21 @@
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<div
class=
"sidebar-footer-actions"
>
<
button
class=
"sidebar-footer-action"
data-tooltip=
"Providers
"
>
<
a
class=
"sidebar-footer-action"
data-tooltip=
"Providers"
href=
"providers.html
"
>
<span
aria-hidden=
"true"
>
🔑
</span>
<span
aria-hidden=
"true"
>
🔑
</span>
</
button
>
</
a
>
<
button
class=
"sidebar-footer-action"
data-tooltip=
"Gateway
"
>
<
a
class=
"sidebar-footer-action"
data-tooltip=
"Gateway"
href=
"gateway.html
"
>
<span
aria-hidden=
"true"
>
📡
</span>
<span
aria-hidden=
"true"
>
📡
</span>
</
button
>
</
a
>
<
button
class=
"sidebar-footer-action"
data-tooltip=
"Tools
"
>
<
a
class=
"sidebar-footer-action"
data-tooltip=
"Tools"
href=
"tools.html
"
>
<span
aria-hidden=
"true"
>
🛠
</span>
<span
aria-hidden=
"true"
>
🛠
</span>
</
button
>
</
a
>
<
button
class=
"sidebar-footer-action"
data-tooltip=
"Memory
"
>
<
a
class=
"sidebar-footer-action"
data-tooltip=
"Memory"
href=
"memory.html
"
>
<span
aria-hidden=
"true"
>
🧠
</span>
<span
aria-hidden=
"true"
>
🧠
</span>
</
button
>
</
a
>
<
button
class=
"sidebar-footer-action"
data-tooltip=
"Settings
"
>
<
a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html
"
>
<span
aria-hidden=
"true"
>
⚙
</span>
<span
aria-hidden=
"true"
>
⚙
</span>
</
button
>
</
a
>
</div>
</div>
<div
class=
"profile-switcher"
>
<div
class=
"profile-switcher"
>
<div
class=
"profile-switcher-trigger"
>
<div
class=
"profile-switcher-trigger"
>
...
@@ -1406,7 +1414,7 @@ export function rateLimit(req: Request, res: Response, next: NextFunction) {
...
@@ -1406,7 +1414,7 @@ export function rateLimit(req: Request, res: Response, next: NextFunction) {
// Sidebar collapse toggle
// Sidebar collapse toggle
document
.
querySelector
(
'.sidebar-collapse-toggle'
)?.
addEventListener
(
'click'
,
function
()
{
document
.
querySelector
(
'.sidebar-collapse-toggle'
)?.
addEventListener
(
'click'
,
function
()
{
document
.
querySelector
(
'.
layout
'
)?.
classList
.
toggle
(
'sidebar-collapsed'
);
document
.
querySelector
(
'.
sidebar
'
)?.
classList
.
toggle
(
'sidebar-collapsed'
);
});
});
</script>
</script>
</body>
</body>
...
...
ui-prototype/pages/discover.html
浏览文件 @
0ac23c2b
...
@@ -261,7 +261,40 @@
...
@@ -261,7 +261,40 @@
- state=empty: empty state for tab
- state=empty: empty state for tab
- state=detail: detail modal open
- state=detail: detail modal open
-->
-->
<body
class=
"discover-container state-default"
>
<body
class=
"theme-light discover-container state-default"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar-brand"
>
<button
class=
"sidebar-collapse-toggle"
aria-label=
"Collapse sidebar"
><span
aria-hidden=
"true"
>
◀
</span></button>
</div>
<nav
class=
"sidebar-nav"
>
<a
class=
"sidebar-nav-item"
href=
"chat.html"
><span
aria-hidden=
"true"
>
💬
</span><span
class=
"sidebar-nav-label"
>
聊天
</span></a>
<a
class=
"sidebar-nav-item active"
href=
"discover.html"
><span
aria-hidden=
"true"
>
⊕
</span><span
class=
"sidebar-nav-label"
>
发现
</span></a>
<a
class=
"sidebar-nav-item"
href=
"office.html"
><span
aria-hidden=
"true"
>
🏢
</span><span
class=
"sidebar-nav-label"
>
办公
</span></a>
<a
class=
"sidebar-nav-item"
href=
"kanban.html"
><span
aria-hidden=
"true"
>
📋
</span><span
class=
"sidebar-nav-label"
>
看板
</span></a>
<a
class=
"sidebar-nav-item"
href=
"schedules.html"
><span
aria-hidden=
"true"
>
⏱
</span><span
class=
"sidebar-nav-label"
>
定时任务
</span></a>
<a
class=
"sidebar-nav-item"
href=
"skills.html"
><span
aria-hidden=
"true"
>
⚡
</span><span
class=
"sidebar-nav-label"
>
技能
</span></a>
<a
class=
"sidebar-nav-item"
href=
"agents.html"
><span
aria-hidden=
"true"
>
🤖
</span><span
class=
"sidebar-nav-label"
>
助手
</span></a>
</nav>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Providers"
href=
"providers.html"
><span
aria-hidden=
"true"
>
🔑
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Gateway"
href=
"gateway.html"
><span
aria-hidden=
"true"
>
📡
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Tools"
href=
"tools.html"
><span
aria-hidden=
"true"
>
🛠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Memory"
href=
"memory.html"
><span
aria-hidden=
"true"
>
🧠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html"
><span
aria-hidden=
"true"
>
⚙
</span></a>
</div>
<a
class=
"profile-switcher"
href=
"profile-modal.html"
>
<div
class=
"profile-icon"
>
E
</div>
<span
class=
"profile-switcher-name"
>
默认
</span>
<div
class=
"profile-switcher-chevron"
><span
aria-hidden=
"true"
>
▾
</span></div>
</a>
</div>
</aside>
<main
class=
"content"
>
<div
class=
"view-pane"
>
<!-- Header -->
<!-- Header -->
<div
class=
"discover-header"
>
<div
class=
"discover-header"
>
...
@@ -555,5 +588,17 @@ search.safe = true</code></pre>
...
@@ -555,5 +588,17 @@ search.safe = true</code></pre>
body
.
classList
.
remove
(
'state-detail'
);
body
.
classList
.
remove
(
'state-detail'
);
});
});
</script>
</script>
<script>
(
function
()
{
const
page
=
location
.
pathname
.
split
(
'/'
).
pop
()
||
''
;
document
.
querySelectorAll
(
'.sidebar-nav-item'
).
forEach
(
a
=>
{
if
(
a
.
getAttribute
(
'href'
)
===
page
)
a
.
classList
.
add
(
'active'
);
});
})();
</script>
</div>
<!-- /view-pane -->
</main>
</div>
<!-- /app-content -->
</div>
<!-- /app -->
</body>
</body>
</html>
</html>
ui-prototype/pages/gateway.html
浏览文件 @
0ac23c2b
...
@@ -98,7 +98,40 @@
...
@@ -98,7 +98,40 @@
<!--
<!--
状态切换:?state=stopped|running
状态切换:?state=stopped|running
-->
-->
<body
class=
"gateway-container"
>
<body
class=
"theme-light gateway-container"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar-brand"
>
<button
class=
"sidebar-collapse-toggle"
aria-label=
"Collapse sidebar"
><span
aria-hidden=
"true"
>
◀
</span></button>
</div>
<nav
class=
"sidebar-nav"
>
<a
class=
"sidebar-nav-item"
href=
"chat.html"
><span
aria-hidden=
"true"
>
💬
</span><span
class=
"sidebar-nav-label"
>
聊天
</span></a>
<a
class=
"sidebar-nav-item"
href=
"discover.html"
><span
aria-hidden=
"true"
>
⊕
</span><span
class=
"sidebar-nav-label"
>
发现
</span></a>
<a
class=
"sidebar-nav-item"
href=
"office.html"
><span
aria-hidden=
"true"
>
🏢
</span><span
class=
"sidebar-nav-label"
>
办公
</span></a>
<a
class=
"sidebar-nav-item"
href=
"kanban.html"
><span
aria-hidden=
"true"
>
📋
</span><span
class=
"sidebar-nav-label"
>
看板
</span></a>
<a
class=
"sidebar-nav-item"
href=
"schedules.html"
><span
aria-hidden=
"true"
>
⏱
</span><span
class=
"sidebar-nav-label"
>
定时任务
</span></a>
<a
class=
"sidebar-nav-item"
href=
"skills.html"
><span
aria-hidden=
"true"
>
⚡
</span><span
class=
"sidebar-nav-label"
>
技能
</span></a>
<a
class=
"sidebar-nav-item"
href=
"agents.html"
><span
aria-hidden=
"true"
>
🤖
</span><span
class=
"sidebar-nav-label"
>
助手
</span></a>
</nav>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Providers"
href=
"providers.html"
><span
aria-hidden=
"true"
>
🔑
</span></a>
<a
class=
"sidebar-footer-action active"
data-tooltip=
"Gateway"
href=
"gateway.html"
><span
aria-hidden=
"true"
>
📡
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Tools"
href=
"tools.html"
><span
aria-hidden=
"true"
>
🛠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Memory"
href=
"memory.html"
><span
aria-hidden=
"true"
>
🧠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html"
><span
aria-hidden=
"true"
>
⚙
</span></a>
</div>
<a
class=
"profile-switcher"
href=
"profile-modal.html"
>
<div
class=
"profile-icon"
>
E
</div>
<span
class=
"profile-switcher-name"
>
默认
</span>
<div
class=
"profile-switcher-chevron"
><span
aria-hidden=
"true"
>
▾
</span></div>
</a>
</div>
</aside>
<main
class=
"content"
>
<div
class=
"view-pane"
>
<!-- Header -->
<!-- Header -->
<div
class=
"gateway-header"
>
<div
class=
"gateway-header"
>
...
@@ -346,5 +379,17 @@
...
@@ -346,5 +379,17 @@
this
.
style
.
display
=
'none'
;
this
.
style
.
display
=
'none'
;
});
});
</script>
</script>
<script>
(
function
()
{
const
page
=
location
.
pathname
.
split
(
'/'
).
pop
()
||
''
;
document
.
querySelectorAll
(
'.sidebar-nav-item'
).
forEach
(
a
=>
{
if
(
a
.
getAttribute
(
'href'
)
===
page
)
a
.
classList
.
add
(
'active'
);
});
})();
</script>
</div>
<!-- /view-pane -->
</main>
</div>
<!-- /app-content -->
</div>
<!-- /app -->
</body>
</body>
</html>
</html>
ui-prototype/pages/kanban.html
浏览文件 @
0ac23c2b
...
@@ -313,7 +313,40 @@
...
@@ -313,7 +313,40 @@
- detail: task detail drawer open
- detail: task detail drawer open
- archived: show archived column
- archived: show archived column
-->
-->
<body
class=
"kanban-container"
>
<body
class=
"theme-light kanban-container"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar-brand"
>
<button
class=
"sidebar-collapse-toggle"
aria-label=
"Collapse sidebar"
><span
aria-hidden=
"true"
>
◀
</span></button>
</div>
<nav
class=
"sidebar-nav"
>
<a
class=
"sidebar-nav-item"
href=
"chat.html"
><span
aria-hidden=
"true"
>
💬
</span><span
class=
"sidebar-nav-label"
>
聊天
</span></a>
<a
class=
"sidebar-nav-item"
href=
"discover.html"
><span
aria-hidden=
"true"
>
⊕
</span><span
class=
"sidebar-nav-label"
>
发现
</span></a>
<a
class=
"sidebar-nav-item"
href=
"office.html"
><span
aria-hidden=
"true"
>
🏢
</span><span
class=
"sidebar-nav-label"
>
办公
</span></a>
<a
class=
"sidebar-nav-item active"
href=
"kanban.html"
><span
aria-hidden=
"true"
>
📋
</span><span
class=
"sidebar-nav-label"
>
看板
</span></a>
<a
class=
"sidebar-nav-item"
href=
"schedules.html"
><span
aria-hidden=
"true"
>
⏱
</span><span
class=
"sidebar-nav-label"
>
定时任务
</span></a>
<a
class=
"sidebar-nav-item"
href=
"skills.html"
><span
aria-hidden=
"true"
>
⚡
</span><span
class=
"sidebar-nav-label"
>
技能
</span></a>
<a
class=
"sidebar-nav-item"
href=
"agents.html"
><span
aria-hidden=
"true"
>
🤖
</span><span
class=
"sidebar-nav-label"
>
助手
</span></a>
</nav>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Providers"
href=
"providers.html"
><span
aria-hidden=
"true"
>
🔑
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Gateway"
href=
"gateway.html"
><span
aria-hidden=
"true"
>
📡
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Tools"
href=
"tools.html"
><span
aria-hidden=
"true"
>
🛠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Memory"
href=
"memory.html"
><span
aria-hidden=
"true"
>
🧠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html"
><span
aria-hidden=
"true"
>
⚙
</span></a>
</div>
<a
class=
"profile-switcher"
href=
"profile-modal.html"
>
<div
class=
"profile-icon"
>
E
</div>
<span
class=
"profile-switcher-name"
>
默认
</span>
<div
class=
"profile-switcher-chevron"
><span
aria-hidden=
"true"
>
▾
</span></div>
</a>
</div>
</aside>
<main
class=
"content"
>
<div
class=
"view-pane"
>
<!-- Header -->
<!-- Header -->
<div
class=
"kanban-header"
>
<div
class=
"kanban-header"
>
...
@@ -770,5 +803,17 @@
...
@@ -770,5 +803,17 @@
});
});
});
});
</script>
</script>
<script>
(
function
()
{
const
page
=
location
.
pathname
.
split
(
'/'
).
pop
()
||
''
;
document
.
querySelectorAll
(
'.sidebar-nav-item'
).
forEach
(
a
=>
{
if
(
a
.
getAttribute
(
'href'
)
===
page
)
a
.
classList
.
add
(
'active'
);
});
})();
</script>
</div>
<!-- /view-pane -->
</main>
</div>
<!-- /app-content -->
</div>
<!-- /app -->
</body>
</body>
</html>
</html>
ui-prototype/pages/memory.html
浏览文件 @
0ac23c2b
...
@@ -122,7 +122,40 @@
...
@@ -122,7 +122,40 @@
<!--
<!--
状态切换:?state=entries|profile|providers|detail
状态切换:?state=entries|profile|providers|detail
-->
-->
<body
class=
"memory-container"
>
<body
class=
"theme-light memory-container"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar-brand"
>
<button
class=
"sidebar-collapse-toggle"
aria-label=
"Collapse sidebar"
><span
aria-hidden=
"true"
>
◀
</span></button>
</div>
<nav
class=
"sidebar-nav"
>
<a
class=
"sidebar-nav-item"
href=
"chat.html"
><span
aria-hidden=
"true"
>
💬
</span><span
class=
"sidebar-nav-label"
>
聊天
</span></a>
<a
class=
"sidebar-nav-item"
href=
"discover.html"
><span
aria-hidden=
"true"
>
⊕
</span><span
class=
"sidebar-nav-label"
>
发现
</span></a>
<a
class=
"sidebar-nav-item"
href=
"office.html"
><span
aria-hidden=
"true"
>
🏢
</span><span
class=
"sidebar-nav-label"
>
办公
</span></a>
<a
class=
"sidebar-nav-item"
href=
"kanban.html"
><span
aria-hidden=
"true"
>
📋
</span><span
class=
"sidebar-nav-label"
>
看板
</span></a>
<a
class=
"sidebar-nav-item"
href=
"schedules.html"
><span
aria-hidden=
"true"
>
⏱
</span><span
class=
"sidebar-nav-label"
>
定时任务
</span></a>
<a
class=
"sidebar-nav-item"
href=
"skills.html"
><span
aria-hidden=
"true"
>
⚡
</span><span
class=
"sidebar-nav-label"
>
技能
</span></a>
<a
class=
"sidebar-nav-item"
href=
"agents.html"
><span
aria-hidden=
"true"
>
🤖
</span><span
class=
"sidebar-nav-label"
>
助手
</span></a>
</nav>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Providers"
href=
"providers.html"
><span
aria-hidden=
"true"
>
🔑
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Gateway"
href=
"gateway.html"
><span
aria-hidden=
"true"
>
📡
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Tools"
href=
"tools.html"
><span
aria-hidden=
"true"
>
🛠
</span></a>
<a
class=
"sidebar-footer-action active"
data-tooltip=
"Memory"
href=
"memory.html"
><span
aria-hidden=
"true"
>
🧠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html"
><span
aria-hidden=
"true"
>
⚙
</span></a>
</div>
<a
class=
"profile-switcher"
href=
"profile-modal.html"
>
<div
class=
"profile-icon"
>
E
</div>
<span
class=
"profile-switcher-name"
>
默认
</span>
<div
class=
"profile-switcher-chevron"
><span
aria-hidden=
"true"
>
▾
</span></div>
</a>
</div>
</aside>
<main
class=
"content"
>
<div
class=
"view-pane"
>
<!-- Header -->
<!-- Header -->
<div
class=
"memory-header"
>
<div
class=
"memory-header"
>
...
@@ -355,5 +388,17 @@
...
@@ -355,5 +388,17 @@
document
.
getElementById
(
'btn-close-drawer'
)?.
addEventListener
(
'click'
,
()
=>
document
.
body
.
classList
.
remove
(
'state-detail'
));
document
.
getElementById
(
'btn-close-drawer'
)?.
addEventListener
(
'click'
,
()
=>
document
.
body
.
classList
.
remove
(
'state-detail'
));
document
.
getElementById
(
'drawer'
)?.
addEventListener
(
'click'
,
()
=>
document
.
body
.
classList
.
remove
(
'state-detail'
));
document
.
getElementById
(
'drawer'
)?.
addEventListener
(
'click'
,
()
=>
document
.
body
.
classList
.
remove
(
'state-detail'
));
</script>
</script>
<script>
(
function
()
{
const
page
=
location
.
pathname
.
split
(
'/'
).
pop
()
||
''
;
document
.
querySelectorAll
(
'.sidebar-nav-item'
).
forEach
(
a
=>
{
if
(
a
.
getAttribute
(
'href'
)
===
page
)
a
.
classList
.
add
(
'active'
);
});
})();
</script>
</div>
<!-- /view-pane -->
</main>
</div>
<!-- /app-content -->
</div>
<!-- /app -->
</body>
</body>
</html>
</html>
ui-prototype/pages/office.html
浏览文件 @
0ac23c2b
...
@@ -112,7 +112,40 @@
...
@@ -112,7 +112,40 @@
<!--
<!--
状态切换:?state=default|chat|mission
状态切换:?state=default|chat|mission
-->
-->
<body
class=
"office-container"
>
<body
class=
"theme-light office-container"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar-brand"
>
<button
class=
"sidebar-collapse-toggle"
aria-label=
"Collapse sidebar"
><span
aria-hidden=
"true"
>
◀
</span></button>
</div>
<nav
class=
"sidebar-nav"
>
<a
class=
"sidebar-nav-item"
href=
"chat.html"
><span
aria-hidden=
"true"
>
💬
</span><span
class=
"sidebar-nav-label"
>
聊天
</span></a>
<a
class=
"sidebar-nav-item"
href=
"discover.html"
><span
aria-hidden=
"true"
>
⊕
</span><span
class=
"sidebar-nav-label"
>
发现
</span></a>
<a
class=
"sidebar-nav-item active"
href=
"office.html"
><span
aria-hidden=
"true"
>
🏢
</span><span
class=
"sidebar-nav-label"
>
办公
</span></a>
<a
class=
"sidebar-nav-item"
href=
"kanban.html"
><span
aria-hidden=
"true"
>
📋
</span><span
class=
"sidebar-nav-label"
>
看板
</span></a>
<a
class=
"sidebar-nav-item"
href=
"schedules.html"
><span
aria-hidden=
"true"
>
⏱
</span><span
class=
"sidebar-nav-label"
>
定时任务
</span></a>
<a
class=
"sidebar-nav-item"
href=
"skills.html"
><span
aria-hidden=
"true"
>
⚡
</span><span
class=
"sidebar-nav-label"
>
技能
</span></a>
<a
class=
"sidebar-nav-item"
href=
"agents.html"
><span
aria-hidden=
"true"
>
🤖
</span><span
class=
"sidebar-nav-label"
>
助手
</span></a>
</nav>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Providers"
href=
"providers.html"
><span
aria-hidden=
"true"
>
🔑
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Gateway"
href=
"gateway.html"
><span
aria-hidden=
"true"
>
📡
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Tools"
href=
"tools.html"
><span
aria-hidden=
"true"
>
🛠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Memory"
href=
"memory.html"
><span
aria-hidden=
"true"
>
🧠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html"
><span
aria-hidden=
"true"
>
⚙
</span></a>
</div>
<a
class=
"profile-switcher"
href=
"profile-modal.html"
>
<div
class=
"profile-icon"
>
E
</div>
<span
class=
"profile-switcher-name"
>
默认
</span>
<div
class=
"profile-switcher-chevron"
><span
aria-hidden=
"true"
>
▾
</span></div>
</a>
</div>
</aside>
<main
class=
"content"
>
<div
class=
"view-pane"
>
<!-- 3D scene area -->
<!-- 3D scene area -->
<div
class=
"office-3d"
>
<div
class=
"office-3d"
>
...
@@ -241,5 +274,17 @@
...
@@ -241,5 +274,17 @@
document
.
getElementById
(
'interaction-panel'
).
style
.
display
=
'none'
;
document
.
getElementById
(
'interaction-panel'
).
style
.
display
=
'none'
;
});
});
</script>
</script>
<script>
(
function
()
{
const
page
=
location
.
pathname
.
split
(
'/'
).
pop
()
||
''
;
document
.
querySelectorAll
(
'.sidebar-nav-item'
).
forEach
(
a
=>
{
if
(
a
.
getAttribute
(
'href'
)
===
page
)
a
.
classList
.
add
(
'active'
);
});
})();
</script>
</div>
<!-- /view-pane -->
</main>
</div>
<!-- /app-content -->
</div>
<!-- /app -->
</body>
</body>
</html>
</html>
ui-prototype/pages/providers.html
浏览文件 @
0ac23c2b
...
@@ -52,7 +52,40 @@
...
@@ -52,7 +52,40 @@
<!--
<!--
状态切换:?state=default
状态切换:?state=default
-->
-->
<body
class=
"providers-container"
>
<body
class=
"theme-light providers-container"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar-brand"
>
<button
class=
"sidebar-collapse-toggle"
aria-label=
"Collapse sidebar"
><span
aria-hidden=
"true"
>
◀
</span></button>
</div>
<nav
class=
"sidebar-nav"
>
<a
class=
"sidebar-nav-item"
href=
"chat.html"
><span
aria-hidden=
"true"
>
💬
</span><span
class=
"sidebar-nav-label"
>
聊天
</span></a>
<a
class=
"sidebar-nav-item"
href=
"discover.html"
><span
aria-hidden=
"true"
>
⊕
</span><span
class=
"sidebar-nav-label"
>
发现
</span></a>
<a
class=
"sidebar-nav-item"
href=
"office.html"
><span
aria-hidden=
"true"
>
🏢
</span><span
class=
"sidebar-nav-label"
>
办公
</span></a>
<a
class=
"sidebar-nav-item"
href=
"kanban.html"
><span
aria-hidden=
"true"
>
📋
</span><span
class=
"sidebar-nav-label"
>
看板
</span></a>
<a
class=
"sidebar-nav-item"
href=
"schedules.html"
><span
aria-hidden=
"true"
>
⏱
</span><span
class=
"sidebar-nav-label"
>
定时任务
</span></a>
<a
class=
"sidebar-nav-item"
href=
"skills.html"
><span
aria-hidden=
"true"
>
⚡
</span><span
class=
"sidebar-nav-label"
>
技能
</span></a>
<a
class=
"sidebar-nav-item"
href=
"agents.html"
><span
aria-hidden=
"true"
>
🤖
</span><span
class=
"sidebar-nav-label"
>
助手
</span></a>
</nav>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<a
class=
"sidebar-footer-action active"
data-tooltip=
"Providers"
href=
"providers.html"
><span
aria-hidden=
"true"
>
🔑
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Gateway"
href=
"gateway.html"
><span
aria-hidden=
"true"
>
📡
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Tools"
href=
"tools.html"
><span
aria-hidden=
"true"
>
🛠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Memory"
href=
"memory.html"
><span
aria-hidden=
"true"
>
🧠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html"
><span
aria-hidden=
"true"
>
⚙
</span></a>
</div>
<a
class=
"profile-switcher"
href=
"profile-modal.html"
>
<div
class=
"profile-icon"
>
E
</div>
<span
class=
"profile-switcher-name"
>
默认
</span>
<div
class=
"profile-switcher-chevron"
><span
aria-hidden=
"true"
>
▾
</span></div>
</a>
</div>
</aside>
<main
class=
"content"
>
<div
class=
"view-pane"
>
<div
class=
"providers-header"
>
<div
class=
"providers-header"
>
<div>
<div>
...
@@ -257,5 +290,17 @@
...
@@ -257,5 +290,17 @@
});
});
});
});
</script>
</script>
<script>
(
function
()
{
const
page
=
location
.
pathname
.
split
(
'/'
).
pop
()
||
''
;
document
.
querySelectorAll
(
'.sidebar-nav-item'
).
forEach
(
a
=>
{
if
(
a
.
getAttribute
(
'href'
)
===
page
)
a
.
classList
.
add
(
'active'
);
});
})();
</script>
</div>
<!-- /view-pane -->
</main>
</div>
<!-- /app-content -->
</div>
<!-- /app -->
</body>
</body>
</html>
</html>
ui-prototype/pages/schedules.html
浏览文件 @
0ac23c2b
...
@@ -233,7 +233,40 @@
...
@@ -233,7 +233,40 @@
- create: create modal open
- create: create modal open
- delete: delete confirmation open
- delete: delete confirmation open
-->
-->
<body
class=
"schedules-container"
>
<body
class=
"theme-light schedules-container"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar-brand"
>
<button
class=
"sidebar-collapse-toggle"
aria-label=
"Collapse sidebar"
><span
aria-hidden=
"true"
>
◀
</span></button>
</div>
<nav
class=
"sidebar-nav"
>
<a
class=
"sidebar-nav-item"
href=
"chat.html"
><span
aria-hidden=
"true"
>
💬
</span><span
class=
"sidebar-nav-label"
>
聊天
</span></a>
<a
class=
"sidebar-nav-item"
href=
"discover.html"
><span
aria-hidden=
"true"
>
⊕
</span><span
class=
"sidebar-nav-label"
>
发现
</span></a>
<a
class=
"sidebar-nav-item"
href=
"office.html"
><span
aria-hidden=
"true"
>
🏢
</span><span
class=
"sidebar-nav-label"
>
办公
</span></a>
<a
class=
"sidebar-nav-item"
href=
"kanban.html"
><span
aria-hidden=
"true"
>
📋
</span><span
class=
"sidebar-nav-label"
>
看板
</span></a>
<a
class=
"sidebar-nav-item active"
href=
"schedules.html"
><span
aria-hidden=
"true"
>
⏱
</span><span
class=
"sidebar-nav-label"
>
定时任务
</span></a>
<a
class=
"sidebar-nav-item"
href=
"skills.html"
><span
aria-hidden=
"true"
>
⚡
</span><span
class=
"sidebar-nav-label"
>
技能
</span></a>
<a
class=
"sidebar-nav-item"
href=
"agents.html"
><span
aria-hidden=
"true"
>
🤖
</span><span
class=
"sidebar-nav-label"
>
助手
</span></a>
</nav>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Providers"
href=
"providers.html"
><span
aria-hidden=
"true"
>
🔑
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Gateway"
href=
"gateway.html"
><span
aria-hidden=
"true"
>
📡
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Tools"
href=
"tools.html"
><span
aria-hidden=
"true"
>
🛠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Memory"
href=
"memory.html"
><span
aria-hidden=
"true"
>
🧠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html"
><span
aria-hidden=
"true"
>
⚙
</span></a>
</div>
<a
class=
"profile-switcher"
href=
"profile-modal.html"
>
<div
class=
"profile-icon"
>
E
</div>
<span
class=
"profile-switcher-name"
>
默认
</span>
<div
class=
"profile-switcher-chevron"
><span
aria-hidden=
"true"
>
▾
</span></div>
</a>
</div>
</aside>
<main
class=
"content"
>
<div
class=
"view-pane"
>
<!-- Header -->
<!-- Header -->
<div
class=
"schedules-header"
>
<div
class=
"schedules-header"
>
...
@@ -512,5 +545,17 @@
...
@@ -512,5 +545,17 @@
});
});
});
});
</script>
</script>
<script>
(
function
()
{
const
page
=
location
.
pathname
.
split
(
'/'
).
pop
()
||
''
;
document
.
querySelectorAll
(
'.sidebar-nav-item'
).
forEach
(
a
=>
{
if
(
a
.
getAttribute
(
'href'
)
===
page
)
a
.
classList
.
add
(
'active'
);
});
})();
</script>
</div>
<!-- /view-pane -->
</main>
</div>
<!-- /app-content -->
</div>
<!-- /app -->
</body>
</body>
</html>
</html>
ui-prototype/pages/skills.html
浏览文件 @
0ac23c2b
...
@@ -77,7 +77,40 @@
...
@@ -77,7 +77,40 @@
<!--
<!--
状态切换:?tab=installed|browse&state=detail
状态切换:?tab=installed|browse&state=detail
-->
-->
<body
class=
"skills-container"
>
<body
class=
"theme-light skills-container"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar-brand"
>
<button
class=
"sidebar-collapse-toggle"
aria-label=
"Collapse sidebar"
><span
aria-hidden=
"true"
>
◀
</span></button>
</div>
<nav
class=
"sidebar-nav"
>
<a
class=
"sidebar-nav-item"
href=
"chat.html"
><span
aria-hidden=
"true"
>
💬
</span><span
class=
"sidebar-nav-label"
>
聊天
</span></a>
<a
class=
"sidebar-nav-item"
href=
"discover.html"
><span
aria-hidden=
"true"
>
⊕
</span><span
class=
"sidebar-nav-label"
>
发现
</span></a>
<a
class=
"sidebar-nav-item"
href=
"office.html"
><span
aria-hidden=
"true"
>
🏢
</span><span
class=
"sidebar-nav-label"
>
办公
</span></a>
<a
class=
"sidebar-nav-item"
href=
"kanban.html"
><span
aria-hidden=
"true"
>
📋
</span><span
class=
"sidebar-nav-label"
>
看板
</span></a>
<a
class=
"sidebar-nav-item"
href=
"schedules.html"
><span
aria-hidden=
"true"
>
⏱
</span><span
class=
"sidebar-nav-label"
>
定时任务
</span></a>
<a
class=
"sidebar-nav-item active"
href=
"skills.html"
><span
aria-hidden=
"true"
>
⚡
</span><span
class=
"sidebar-nav-label"
>
技能
</span></a>
<a
class=
"sidebar-nav-item"
href=
"agents.html"
><span
aria-hidden=
"true"
>
🤖
</span><span
class=
"sidebar-nav-label"
>
助手
</span></a>
</nav>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Providers"
href=
"providers.html"
><span
aria-hidden=
"true"
>
🔑
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Gateway"
href=
"gateway.html"
><span
aria-hidden=
"true"
>
📡
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Tools"
href=
"tools.html"
><span
aria-hidden=
"true"
>
🛠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Memory"
href=
"memory.html"
><span
aria-hidden=
"true"
>
🧠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html"
><span
aria-hidden=
"true"
>
⚙
</span></a>
</div>
<a
class=
"profile-switcher"
href=
"profile-modal.html"
>
<div
class=
"profile-icon"
>
E
</div>
<span
class=
"profile-switcher-name"
>
默认
</span>
<div
class=
"profile-switcher-chevron"
><span
aria-hidden=
"true"
>
▾
</span></div>
</a>
</div>
</aside>
<main
class=
"content"
>
<div
class=
"view-pane"
>
<div
class=
"skills-header"
>
<div
class=
"skills-header"
>
<div>
<div>
...
@@ -274,5 +307,17 @@
...
@@ -274,5 +307,17 @@
document
.
getElementById
(
'btn-close-detail'
)?.
addEventListener
(
'click'
,
()
=>
document
.
body
.
classList
.
remove
(
'state-detail'
));
document
.
getElementById
(
'btn-close-detail'
)?.
addEventListener
(
'click'
,
()
=>
document
.
body
.
classList
.
remove
(
'state-detail'
));
document
.
getElementById
(
'detail-overlay'
)?.
addEventListener
(
'click'
,
()
=>
document
.
body
.
classList
.
remove
(
'state-detail'
));
document
.
getElementById
(
'detail-overlay'
)?.
addEventListener
(
'click'
,
()
=>
document
.
body
.
classList
.
remove
(
'state-detail'
));
</script>
</script>
<script>
(
function
()
{
const
page
=
location
.
pathname
.
split
(
'/'
).
pop
()
||
''
;
document
.
querySelectorAll
(
'.sidebar-nav-item'
).
forEach
(
a
=>
{
if
(
a
.
getAttribute
(
'href'
)
===
page
)
a
.
classList
.
add
(
'active'
);
});
})();
</script>
</div>
<!-- /view-pane -->
</main>
</div>
<!-- /app-content -->
</div>
<!-- /app -->
</body>
</body>
</html>
</html>
ui-prototype/pages/tools.html
浏览文件 @
0ac23c2b
...
@@ -52,7 +52,40 @@
...
@@ -52,7 +52,40 @@
<!--
<!--
状态切换:?tab=tools|mcp|skills
状态切换:?tab=tools|mcp|skills
-->
-->
<body
class=
"tools-container"
>
<body
class=
"theme-light tools-container"
>
<div
class=
"app"
>
<div
class=
"app-content"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar-brand"
>
<button
class=
"sidebar-collapse-toggle"
aria-label=
"Collapse sidebar"
><span
aria-hidden=
"true"
>
◀
</span></button>
</div>
<nav
class=
"sidebar-nav"
>
<a
class=
"sidebar-nav-item"
href=
"chat.html"
><span
aria-hidden=
"true"
>
💬
</span><span
class=
"sidebar-nav-label"
>
聊天
</span></a>
<a
class=
"sidebar-nav-item"
href=
"discover.html"
><span
aria-hidden=
"true"
>
⊕
</span><span
class=
"sidebar-nav-label"
>
发现
</span></a>
<a
class=
"sidebar-nav-item"
href=
"office.html"
><span
aria-hidden=
"true"
>
🏢
</span><span
class=
"sidebar-nav-label"
>
办公
</span></a>
<a
class=
"sidebar-nav-item"
href=
"kanban.html"
><span
aria-hidden=
"true"
>
📋
</span><span
class=
"sidebar-nav-label"
>
看板
</span></a>
<a
class=
"sidebar-nav-item"
href=
"schedules.html"
><span
aria-hidden=
"true"
>
⏱
</span><span
class=
"sidebar-nav-label"
>
定时任务
</span></a>
<a
class=
"sidebar-nav-item"
href=
"skills.html"
><span
aria-hidden=
"true"
>
⚡
</span><span
class=
"sidebar-nav-label"
>
技能
</span></a>
<a
class=
"sidebar-nav-item"
href=
"agents.html"
><span
aria-hidden=
"true"
>
🤖
</span><span
class=
"sidebar-nav-label"
>
助手
</span></a>
</nav>
<div
class=
"sidebar-footer"
>
<div
class=
"sidebar-footer-actions"
>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Providers"
href=
"providers.html"
><span
aria-hidden=
"true"
>
🔑
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Gateway"
href=
"gateway.html"
><span
aria-hidden=
"true"
>
📡
</span></a>
<a
class=
"sidebar-footer-action active"
data-tooltip=
"Tools"
href=
"tools.html"
><span
aria-hidden=
"true"
>
🛠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Memory"
href=
"memory.html"
><span
aria-hidden=
"true"
>
🧠
</span></a>
<a
class=
"sidebar-footer-action"
data-tooltip=
"Settings"
href=
"sessions-modal.html"
><span
aria-hidden=
"true"
>
⚙
</span></a>
</div>
<a
class=
"profile-switcher"
href=
"profile-modal.html"
>
<div
class=
"profile-icon"
>
E
</div>
<span
class=
"profile-switcher-name"
>
默认
</span>
<div
class=
"profile-switcher-chevron"
><span
aria-hidden=
"true"
>
▾
</span></div>
</a>
</div>
</aside>
<main
class=
"content"
>
<div
class=
"view-pane"
>
<div
class=
"tools-header"
>
<div
class=
"tools-header"
>
<div>
<div>
...
@@ -289,5 +322,17 @@
...
@@ -289,5 +322,17 @@
});
});
});
});
</script>
</script>
<script>
(
function
()
{
const
page
=
location
.
pathname
.
split
(
'/'
).
pop
()
||
''
;
document
.
querySelectorAll
(
'.sidebar-nav-item'
).
forEach
(
a
=>
{
if
(
a
.
getAttribute
(
'href'
)
===
page
)
a
.
classList
.
add
(
'active'
);
});
})();
</script>
</div>
<!-- /view-pane -->
</main>
</div>
<!-- /app-content -->
</div>
<!-- /app -->
</body>
</body>
</html>
</html>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论