diff --git a/admin/dashboard/templates/base.html b/admin/dashboard/templates/base.html index f8a43cb..6001681 100644 --- a/admin/dashboard/templates/base.html +++ b/admin/dashboard/templates/base.html @@ -160,11 +160,6 @@ 消息列表 - - - - 运行日志 - @@ -180,6 +175,11 @@ 虚拟群组 + + + + 定时推送 + @@ -196,6 +196,11 @@ 文件浏览 + + + + 运行日志 + 错误日志 @@ -268,7 +273,8 @@ '12': '/virtual_group', '13': '/api_docs', '14': '/system_status', - '15': '/file_browser' + '15': '/file_browser', + '16': '/message_push' // 添加定时推送路由 }; const currentPath = window.location.pathname; diff --git a/admin/dashboard/templates/message_push_management.html b/admin/dashboard/templates/message_push_management.html index 546623e..edc6f4e 100644 --- a/admin/dashboard/templates/message_push_management.html +++ b/admin/dashboard/templates/message_push_management.html @@ -1,439 +1,752 @@ {% extends "base.html" %} -{% block title %}消息推送管理{% endblock %} +{% block title %}消息推送管理 - 机器人管理后台{% endblock %} {% block content %} -
-
-
-
-
-

消息推送管理

-
- -
+
+ + + +
+ 消息推送管理 + + 刷新数据 + + + 新建任务 +
-
- -
-
- -
-
- -
-
- -
-
- - -
-
- - - - - - - - - - - - - - - -
任务ID任务名称状态计划时间创建时间操作
+ + + + +
总任务数
+
{% raw %}{{ statistics.total }}{% endraw %}
+
+
+ + +
已排期
+
{% raw %}{{ statistics.scheduled }}{% endraw %}
+
+
+ + +
已暂停
+
{% raw %}{{ statistics.paused }}{% endraw %}
+
+
+ + +
已完成
+
{% raw %}{{ statistics.completed }}{% endraw %}
+
+
+ + +
失败
+
{% raw %}{{ statistics.failed }}{% endraw %}
+
+
+ + +
今日任务
+
{% raw %}{{ statistics.today }}{% endraw %}
+
+
+
- -
-
-
- 显示 0 到 0 条,共 0 条记录 -
-
-
-
- -
-
-
+ + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + +
+ + 批量暂停 + 批量恢复 + 批量删除 + + 已选择 {% raw %}{{ selectedTasks.length }}{% endraw %} 项
-
-
-
-
- - + + + + + + + + + + + + + + + + + + + + + + - -