From 54e77f72f4c4b7a21c384eabcdde91ba7fc26a28 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 3 Apr 2026 14:34:46 +0000 Subject: [PATCH] Add completion page --- .../rmo/district-compliance-complete.html | 274 ++++++++++++++++++ .../rmo/district-compliance-submit.html | 9 +- html/template/rmo/district-compliance.html | 7 + rmo/compliance.go | 48 ++- rmo/routes.go | 1 + 5 files changed, 327 insertions(+), 12 deletions(-) create mode 100644 html/template/rmo/district-compliance-complete.html diff --git a/html/template/rmo/district-compliance-complete.html b/html/template/rmo/district-compliance-complete.html new file mode 100644 index 00000000..42141ad5 --- /dev/null +++ b/html/template/rmo/district-compliance-complete.html @@ -0,0 +1,274 @@ +{{ template "rmo/layout/base.html" . }} + +{{ define "title" }}Response Submitted{{ end }} +{{ define "extraheader" }} + +{{ end }} +{{ define "content" }} +
+ +
+ {{ .District.Name }} logo +

{{ .District.Name }}

+
+ {{ .District.OfficePhone }} +
+
+ + {{ if .HasCompleteResponse }} + +
+ +
+ +
+

Thank you

+

+ Your response has been submitted successfully. We will review your + submission and contact you if further action is needed. +

+
+

+ What you can expect: +

+
    +
  • Our team will review your photos and information
  • +
  • If we need to schedule a visit, we'll contact you first
  • +
  • + You'll receive updates at the contact information you provided +
  • +
+
+
+ {{ else if .HasUsefulInfo }} + +
+ +
+ +
+

Response Received

+

+ Thank you for your submission. We will review your information and let + you know if further action is needed. +

+
+

+ Important notice: +

+

+ You did not provide contact information. If further action is + needed, the District may need to use warrant authority to enter the + property. We prefer to coordinate access directly, and contact + information makes that much easier. +

+
+

+ + If you'd like to add contact information, please call our office. + +

+
+ {{ else }} + +
+ +
+ +
+

Response Received

+

+ Your response has been recorded, but it does not contain enough + information for us to resolve this matter. +

+
+

+ Important: +

+

+ This response is not likely to resolve the issue and may require + warrant entry on the property. If you want to help avoid that, + please provide contact information or other evidence. +

+

+ You can still: +

+
    +
  • Call our office to provide additional information
  • +
  • Email photos showing current conditions
  • +
  • Schedule a time for inspection
  • +
+
+
+ {{ end }} + + + + {{ if .ReferenceNumber }} +
+ + Reference number: {{ .ReferenceNumber }} + +
+ {{ end }} + + + +
+
+ {{ if .HasCompleteResponse }} + + Remove useful and complete + + {{ else if .HasUsefulInfo }} + + Add complete response + + {{ else }} + + Add useful response + + {{ end }} +
+
+
+{{ end }} diff --git a/html/template/rmo/district-compliance-submit.html b/html/template/rmo/district-compliance-submit.html index 79907989..2c838fb5 100644 --- a/html/template/rmo/district-compliance-submit.html +++ b/html/template/rmo/district-compliance-submit.html @@ -217,13 +217,14 @@
- - - Back + Back
diff --git a/html/template/rmo/district-compliance.html b/html/template/rmo/district-compliance.html index 18ffcfd5..462b53e4 100644 --- a/html/template/rmo/district-compliance.html +++ b/html/template/rmo/district-compliance.html @@ -5,6 +5,13 @@