From e1f1d4a4fcf7bd58783e40dccd2551dd030e9374 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Mon, 29 Jun 2026 08:00:27 +0545 Subject: [PATCH] feat(templates/tickets): rename pages and add create ticket modal Refactor page templates into pages/ and introduce a create modal for ticket creation --- templates/tickets/modals/create.html | 63 +++++++++++++++++++ templates/tickets/{ => pages}/detail.html | 0 templates/tickets/{ => pages}/form.html | 0 templates/tickets/{ => pages}/import.html | 0 templates/tickets/{ => pages}/list.html | 0 templates/tickets/{ => pages}/priorities.html | 0 templates/tickets/{ => pages}/timeline.html | 0 7 files changed, 63 insertions(+) create mode 100644 templates/tickets/modals/create.html rename templates/tickets/{ => pages}/detail.html (100%) rename templates/tickets/{ => pages}/form.html (100%) rename templates/tickets/{ => pages}/import.html (100%) rename templates/tickets/{ => pages}/list.html (100%) rename templates/tickets/{ => pages}/priorities.html (100%) rename templates/tickets/{ => pages}/timeline.html (100%) diff --git a/templates/tickets/modals/create.html b/templates/tickets/modals/create.html new file mode 100644 index 0000000..fc79f1a --- /dev/null +++ b/templates/tickets/modals/create.html @@ -0,0 +1,63 @@ + +
+
+
+
+

Create Ticket

+ +
+
+ {% csrf_token %} + + + +
+
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+ + {% include "components/rich_text_editor.html" with input_name="description" alpine_model="createTicketData.description" %} +
+
+
+ + +
+
+
+
diff --git a/templates/tickets/detail.html b/templates/tickets/pages/detail.html similarity index 100% rename from templates/tickets/detail.html rename to templates/tickets/pages/detail.html diff --git a/templates/tickets/form.html b/templates/tickets/pages/form.html similarity index 100% rename from templates/tickets/form.html rename to templates/tickets/pages/form.html diff --git a/templates/tickets/import.html b/templates/tickets/pages/import.html similarity index 100% rename from templates/tickets/import.html rename to templates/tickets/pages/import.html diff --git a/templates/tickets/list.html b/templates/tickets/pages/list.html similarity index 100% rename from templates/tickets/list.html rename to templates/tickets/pages/list.html diff --git a/templates/tickets/priorities.html b/templates/tickets/pages/priorities.html similarity index 100% rename from templates/tickets/priorities.html rename to templates/tickets/pages/priorities.html diff --git a/templates/tickets/timeline.html b/templates/tickets/pages/timeline.html similarity index 100% rename from templates/tickets/timeline.html rename to templates/tickets/pages/timeline.html