From 42758deeae84310e1281b48205ed4b0cf9ffbf32 Mon Sep 17 00:00:00 2001 From: DSQ Date: Fri, 14 Nov 2025 22:34:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E5=88=9D=E6=AD=A5UI=E5=92=8C?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=88=9D=E6=AD=A5UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- elastic/templates/elastic/manage.html | 590 ++++++++++++++++++++++---- main/templates/main/home.html | 140 ++++-- 2 files changed, 622 insertions(+), 108 deletions(-) diff --git a/elastic/templates/elastic/manage.html b/elastic/templates/elastic/manage.html index b8f4a89..90b090e 100644 --- a/elastic/templates/elastic/manage.html +++ b/elastic/templates/elastic/manage.html @@ -4,27 +4,191 @@ 数据管理

数据管理

仅管理员可见。可查看、编辑、删除所有记录。

- + + +
+
+ + + + + +
+ + +
+ + +
@@ -34,32 +198,15 @@ - - {% for it in items %} - - - - - - - - {% endfor %} + +
ID操作
{{ it.id }} - {% if it.image %} - -
/media/{{ it.image }}
- {% endif %} -
-
{{ it.data|safe }}
-
{{ it.writer_id }} - - -
-