auto-save 2026-05-09 19:09 (~5)
This commit is contained in:
@@ -844,7 +844,7 @@ git push # Gitea kangwan/hermes-glass-ui-personal
|
||||
<div class="panel-head-row">
|
||||
<div>
|
||||
<h2>仪表盘</h2>
|
||||
<p>用量、系统状态和实时日志。</p>
|
||||
<p>用量、系统状态、快捷入口和实时日志。</p>
|
||||
</div>
|
||||
<div class="panel-head-actions">
|
||||
<button class="glass-btn-sm" onclick="refreshDashboard()">
|
||||
@@ -857,6 +857,50 @@ git push # Gitea kangwan/hermes-glass-ui-personal
|
||||
|
||||
<div class="dash-scroll">
|
||||
|
||||
<!-- 快捷入口 -->
|
||||
<div class="deploy-links">
|
||||
<a href="https://hermes.kang-kang.com/" target="_blank" rel="noopener" class="deploy-link">
|
||||
<div class="deploy-link-icon">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
|
||||
</div>
|
||||
<div class="deploy-link-body">
|
||||
<div class="deploy-link-label">个人版 · 主站</div>
|
||||
<div class="deploy-link-url">hermes.kang-kang.com</div>
|
||||
</div>
|
||||
<svg class="deploy-link-arrow" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
|
||||
</a>
|
||||
<a href="https://hermes.kang-kang.com/api/v1/models" target="_blank" rel="noopener" class="deploy-link">
|
||||
<div class="deploy-link-icon">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg>
|
||||
</div>
|
||||
<div class="deploy-link-body">
|
||||
<div class="deploy-link-label">后端 · OpenAI 兼容</div>
|
||||
<div class="deploy-link-url">/api/v1/models</div>
|
||||
</div>
|
||||
<svg class="deploy-link-arrow" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
|
||||
</a>
|
||||
<a href="https://hermes.kang-kang.com/feishu/apps" target="_blank" rel="noopener" class="deploy-link">
|
||||
<div class="deploy-link-icon">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z"/><path d="M8 9h8"/><path d="M8 13h5"/></svg>
|
||||
</div>
|
||||
<div class="deploy-link-body">
|
||||
<div class="deploy-link-label">飞书 · 机器人列表</div>
|
||||
<div class="deploy-link-url">/feishu/apps</div>
|
||||
</div>
|
||||
<svg class="deploy-link-arrow" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
|
||||
</a>
|
||||
<a href="https://styles.kang-kang.com/" target="_blank" rel="noopener" class="deploy-link">
|
||||
<div class="deploy-link-icon">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z"/></svg>
|
||||
</div>
|
||||
<div class="deploy-link-body">
|
||||
<div class="deploy-link-label">文档 · 解析</div>
|
||||
<div class="deploy-link-url">styles.kang-kang.com</div>
|
||||
</div>
|
||||
<svg class="deploy-link-arrow" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Hero 数据区 -->
|
||||
<div class="dash-hero">
|
||||
<div class="dash-hero-main">
|
||||
|
||||
@@ -2105,6 +2105,69 @@ a { color: var(--orange-3); text-decoration: none; }
|
||||
align-content: start;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.deploy-links {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
||||
gap: 12px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.deploy-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 14px 18px;
|
||||
background: var(--card-bg);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 16px;
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
transition: border-color 0.2s, background 0.2s, transform 0.2s;
|
||||
min-width: 0;
|
||||
}
|
||||
.deploy-link:hover {
|
||||
border-color: var(--orange-3);
|
||||
background: var(--card-hover-bg);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
.deploy-link-icon {
|
||||
flex: 0 0 38px;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(135deg, rgba(255,105,0,0.18), rgba(255,136,48,0.08));
|
||||
border: 1px solid var(--line-strong);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--orange-3);
|
||||
}
|
||||
.deploy-link-body {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
.deploy-link-label {
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
color: var(--text-dim2);
|
||||
font-weight: 700;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.deploy-link-url {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: var(--text);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.deploy-link-arrow {
|
||||
flex: 0 0 14px;
|
||||
color: var(--text-dim2);
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.deploy-link:hover .deploy-link-arrow { color: var(--orange-3); }
|
||||
.stat {
|
||||
padding: 20px 22px;
|
||||
background: var(--card-bg);
|
||||
|
||||
Reference in New Issue
Block a user