From 8bdcc822e2be7c8611af097d5f0f7788de58fac7 Mon Sep 17 00:00:00 2001 From: nic Date: Thu, 10 Apr 2025 17:37:51 -0400 Subject: [PATCH] chore: added overlay to doc removal --- templates/partials/document_remove.html | 78 +++++++++++++------- templates/partials/document_remove_form.html | 7 +- templates/partials/job_attachments.html | 8 +- 3 files changed, 52 insertions(+), 41 deletions(-) diff --git a/templates/partials/document_remove.html b/templates/partials/document_remove.html index ebf13cd..52b3cb3 100644 --- a/templates/partials/document_remove.html +++ b/templates/partials/document_remove.html @@ -2,6 +2,15 @@

Document Removal

+ +
+
+
+

Removing Documents

+

Please wait while your documents are being removed...

+
+
+
@@ -22,8 +31,8 @@
- - + + -
- +
+ +
-
- -
- -
- + +
+ +
+ +
-
{{end}} \ No newline at end of file diff --git a/templates/partials/document_remove_form.html b/templates/partials/document_remove_form.html index 41c8762..8b011ff 100644 --- a/templates/partials/document_remove_form.html +++ b/templates/partials/document_remove_form.html @@ -1,17 +1,12 @@ {{define "document_remove_form"}}
+ hx-indicator=".upload-overlay" hx-include="#job-ids-removal-container"> - -
diff --git a/templates/partials/job_attachments.html b/templates/partials/job_attachments.html index 33e775a..2bc41b1 100644 --- a/templates/partials/job_attachments.html +++ b/templates/partials/job_attachments.html @@ -6,8 +6,7 @@
Error: {{.Error}}
{{else}} {{if len .Attachments}} -
+
{{range .Attachments}}
@@ -24,11 +23,6 @@
- -
-
- Deleting documents... -
{{else}}
No attachments found for this job.