From 80463770b9a55d741bc2a1fbd8a28aceed7a4cdc Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 19 Mar 2025 14:21:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=B7=B3=E8=BD=AC=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/stats_dashboard/templates/errors.html | 23 ++++++++++--------- plugins/stats_dashboard/templates/groups.html | 2 +- .../stats_dashboard/templates/plugins.html | 16 ++++++------- plugins/stats_dashboard/templates/users.html | 10 ++++---- 4 files changed, 26 insertions(+), 25 deletions(-) diff --git a/plugins/stats_dashboard/templates/errors.html b/plugins/stats_dashboard/templates/errors.html index 404bcf8..212b25b 100644 --- a/plugins/stats_dashboard/templates/errors.html +++ b/plugins/stats_dashboard/templates/errors.html @@ -39,17 +39,18 @@ - - {{ errorDetail.plugin_name }} - {{ errorDetail.command }} - {{ errorDetail.user_id }} - {{ errorDetail.group_id || '私聊' }} - {{ errorDetail.error_message }} - {{ errorDetail.created_at }} - -
{{ errorDetail.stack_trace }}
-
-
+
+

插件名称: {% raw %}{{ errorDetail.plugin_name }}{% endraw %}

+

命令: {% raw %}{{ errorDetail.command }}{% endraw %}

+

用户ID: {% raw %}{{ errorDetail.user_id }}{% endraw %}

+

群组ID: {% raw %}{{ errorDetail.group_id || '无' }}{% endraw %}

+

时间: {% raw %}{{ errorDetail.created_at }}{% endraw %}

+

错误信息: {% raw %}{{ errorDetail.error_message }}{% endraw %}

+
+

堆栈跟踪:

+
{% raw %}{{ errorDetail.stack_trace }}{% endraw %}
+
+
{% endblock %} diff --git a/plugins/stats_dashboard/templates/groups.html b/plugins/stats_dashboard/templates/groups.html index 0b52dc4..8cc072a 100644 --- a/plugins/stats_dashboard/templates/groups.html +++ b/plugins/stats_dashboard/templates/groups.html @@ -19,7 +19,7 @@ diff --git a/plugins/stats_dashboard/templates/plugins.html b/plugins/stats_dashboard/templates/plugins.html index 4ba3769..72ba628 100644 --- a/plugins/stats_dashboard/templates/plugins.html +++ b/plugins/stats_dashboard/templates/plugins.html @@ -5,30 +5,30 @@ {% block content %}
- - + +
插件使用统计
- + @@ -37,9 +37,9 @@
- +
-

{{ selectedPlugin ? selectedPlugin.plugin_name : '' }} 使用趋势

+

{% raw %}{{ selectedPlugin ? selectedPlugin.plugin_name : '' }}{% endraw %} 使用趋势

diff --git a/plugins/stats_dashboard/templates/users.html b/plugins/stats_dashboard/templates/users.html index 9c9b3fc..53db531 100644 --- a/plugins/stats_dashboard/templates/users.html +++ b/plugins/stats_dashboard/templates/users.html @@ -5,25 +5,25 @@ {% block content %}
- - + +
用户活跃度排行
- +