From f53e6753404c7daa7bb9e10d6535522474089ecc Mon Sep 17 00:00:00 2001 From: Ehco1996 Date: Wed, 10 Jan 2024 19:37:39 +0800 Subject: [PATCH] feat: Refactor ticket_edit.html layout and styling --- templates/web/ticket_edit.html | 87 +++++++++++++++------------------- 1 file changed, 38 insertions(+), 49 deletions(-) diff --git a/templates/web/ticket_edit.html b/templates/web/ticket_edit.html index 6d80707ccb..bdb07a0fb5 100644 --- a/templates/web/ticket_edit.html +++ b/templates/web/ticket_edit.html @@ -19,53 +19,51 @@

-
+ +
-
-
-
-
-

标题:{{ ticket.title }}

-
-
-
- -
-
-
+
+ +
- -
- {% for message in ticket_messages %} - {% if message.is_staff %} -
-
-

{{ message.message }}

- +
+ +
+ {% for message in ticket_messages %} + {% if message.is_staff %} +
+
+

{{ message.message }}

+
- {% else %} -
-
-

{{ message.message }}

- +
+ {% else %} +
+
+

{{ message.message }}

+
- {% endif %} - {% endfor %}
+ {% endif %} + {% endfor %}
- - -
+
+
{% csrf_token %}
@@ -74,22 +72,13 @@

-
-
-
-
-
- 取消 -
-
- -
-
-
-
+ +
+ +
-
+