Update public/index.html
Browse files- public/index.html +3 -4
public/index.html
CHANGED
@@ -651,7 +651,7 @@
|
|
651 |
background: var(--action-button-bg);
|
652 |
border: none;
|
653 |
color: var(--accent-color);
|
654 |
-
padding:
|
655 |
border-radius: 6px;
|
656 |
cursor: pointer;
|
657 |
font-size: 14px;
|
@@ -660,7 +660,6 @@
|
|
660 |
display: flex;
|
661 |
align-items: center;
|
662 |
gap: 8px;
|
663 |
-
height: 44px;
|
664 |
text-shadow: 0 0 3px rgba(0, 212, 255, 0.5);
|
665 |
}
|
666 |
.refresh-button:hover {
|
@@ -729,7 +728,7 @@
|
|
729 |
<div class="container">
|
730 |
<div class="overview">
|
731 |
<div class="header-container">
|
732 |
-
<div class="overview-title"
|
733 |
<div class="auth-buttons">
|
734 |
<button class="login-button" id="loginButton" onclick="showLoginForm()">登录</button>
|
735 |
<button class="logout-button" id="logoutButton" style="display: none;" onclick="logout()">登出</button>
|
@@ -1425,7 +1424,7 @@
|
|
1425 |
</svg>`; // 服务器图标,表示非 private 实例
|
1426 |
|
1427 |
// 处理 short_description,默认值“暂无描述”
|
1428 |
-
const description = instance.short_description && instance.short_description.trim() ? instance.short_description : '
|
1429 |
// 处理 last_modified,格式化为相对时间
|
1430 |
const lastModified = formatRelativeTime(instance.last_modified);
|
1431 |
|
|
|
651 |
background: var(--action-button-bg);
|
652 |
border: none;
|
653 |
color: var(--accent-color);
|
654 |
+
padding: 8px 16px; /* 与 .chart-toggle-button 一致 */
|
655 |
border-radius: 6px;
|
656 |
cursor: pointer;
|
657 |
font-size: 14px;
|
|
|
660 |
display: flex;
|
661 |
align-items: center;
|
662 |
gap: 8px;
|
|
|
663 |
text-shadow: 0 0 3px rgba(0, 212, 255, 0.5);
|
664 |
}
|
665 |
.refresh-button:hover {
|
|
|
728 |
<div class="container">
|
729 |
<div class="overview">
|
730 |
<div class="header-container">
|
731 |
+
<div class="overview-title">🤖 系统概览</div>
|
732 |
<div class="auth-buttons">
|
733 |
<button class="login-button" id="loginButton" onclick="showLoginForm()">登录</button>
|
734 |
<button class="logout-button" id="logoutButton" style="display: none;" onclick="logout()">登出</button>
|
|
|
1424 |
</svg>`; // 服务器图标,表示非 private 实例
|
1425 |
|
1426 |
// 处理 short_description,默认值“暂无描述”
|
1427 |
+
const description = instance.short_description && instance.short_description.trim() ? instance.short_description : 'N/A';
|
1428 |
// 处理 last_modified,格式化为相对时间
|
1429 |
const lastModified = formatRelativeTime(instance.last_modified);
|
1430 |
|