From 09a3b4b0d48dd8efa18f6688f74f3186935c92a0 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 15 Apr 2025 09:13:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/dashboard/templates/index.html | 228 +++++++-------------------- 1 file changed, 60 insertions(+), 168 deletions(-) diff --git a/admin/dashboard/templates/index.html b/admin/dashboard/templates/index.html index 11bbe28..2669be3 100644 --- a/admin/dashboard/templates/index.html +++ b/admin/dashboard/templates/index.html @@ -5,91 +5,8 @@ {% block content %}
- - - - -
- 系统状态 - - 操作系统: {% raw %}{{ systemInfo.os }} {{ systemInfo.os_version }}{% endraw %} | - Python版本: {% raw %}{{ systemInfo.python_version }}{% endraw %} | - 运行时间: {% raw %}{{ formattedUptime }}{% endraw %} | - 最后更新: {% raw %}{{ systemInfo.timestamp }}{% endraw %} - -
- - - - - - - - - - - - - - -
-

CPU使用率: {% raw %}{{ systemInfo.cpu_usage }}{% endraw %}%

- -
-
- - -
-

内存使用率: {% raw %}{{ systemInfo.memory_usage }}{% endraw %}%

- -
-
- -
-

磁盘使用率: {% raw %}{{ systemInfo.disk_usage }}{% endraw %}%

- -
-
-
-
-
- -
-
-
- - +
@@ -100,94 +17,14 @@
- - -
- 成功率 -
-
- {% raw %}{{ successRate.toFixed(2) }}{% endraw %}% -
-
-
- - -
- 活跃用户数 -
-
- {% raw %}{{ activeUsers }}{% endraw %} -
-
-
- - -
- 活跃群组数 -
-
- {% raw %}{{ activeGroups }}{% endraw %} -
-
-
- - -
- 平均响应时间 -
-
- {% raw %}{{ avgResponseTime.toFixed(2) }}{% endraw %} ms -
-
-
+ +
- - -
- 热门用户 -
- - - - - - - - -
-
- - -
- 热门群组 -
- - - - - - - -
-
- - -
- 热门插件 -
- - - - -
-
+ +
@@ -213,6 +50,61 @@
+ + + + + +
+ 系统状态 + + 操作系统: {% raw %}{{ systemInfo.os }} {{ systemInfo.os_version }}{% endraw %} | + Python版本: {% raw %}{{ systemInfo.python_version }}{% endraw %} | + 运行时间: {% raw %}{{ formattedUptime }}{% endraw %} | + 最后更新: {% raw %}{{ systemInfo.timestamp }}{% endraw %} + +
+ + + + + + + + + + + + + + +
+

CPU使用率: {% raw %}{{ systemInfo.cpu_usage }}{% endraw %}%

+ +
+
+ + +
+
+
+
+
+
{% endblock %}