diff --git a/html/template/rmo/district-compliance.html b/html/template/rmo/district-compliance.html index 70a00000..61052d78 100644 --- a/html/template/rmo/district-compliance.html +++ b/html/template/rmo/district-compliance.html @@ -6,139 +6,69 @@ body { background-color: #f8f9fa; } - .page-container { - max-width: 600px; - margin: 0 auto; - padding: 20px; - } - .content-card { - background-color: white; - border-radius: 15px; - box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); - padding: 25px; - margin-bottom: 20px; - } - .logo-area { - text-align: center; - margin-bottom: 20px; - } - .logo { - height: 50px; - max-width: 200px; - margin: 0 auto; - } - .map-container { - height: 300px; - background-color: #e9ecef; - border-radius: 10px; - margin-bottom: 20px; - position: relative; - overflow: hidden; - } - .map-placeholder { - width: 100%; - height: 100%; - display: flex; - align-items: center; - justify-content: center; - flex-direction: column; - background-image: url("https://placehold.co/600x300/e9ecef/adb5bd?text=Map+View"); - background-size: cover; - background-position: center; - } - .map-pin { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -100%); - color: #dc3545; - font-size: 30px; - } - .address-container { - background-color: #f8f9fa; - border-radius: 10px; - padding: 15px; - margin-bottom: 20px; - border-left: 4px solid #0d6efd; - } - .action-buttons { - display: flex; - gap: 10px; - } - .progress-container { - margin: 30px 0 20px; - } - .progress { - height: 8px; + + .progress-bar { + background-color: #0d6efd; + transition: width 0.3s ease; } {{ end }} {{ define "content" }} -
-
- -
- -
-
- Location - 1 of 4 +
+ +
+
+ {{ .District.Name }} logo +

{{ .District.Name }}

-
+
+ {{ .District.OfficePhone }} +
+
+ + +
+
+ Step 1 of 10 +
+
-
-

Confirm Property Location

+ +
+

Action requested for this property

-
-
-
- -
+ -
-
Detected Address:
-
123 Maple Street, Riverside, CA 92501
-
- -
-

Is this the correct location of the property in question?

-
- - -
- -
-

- If you need assistance, please contact Vector Control at (555) 123-4567 -

-
+
{{ end }} diff --git a/rmo/district.go b/rmo/district.go index 7d3c864d..5b907670 100644 --- a/rmo/district.go +++ b/rmo/district.go @@ -12,10 +12,11 @@ import ( ) type ContentDistrict struct { - Name string - URLLogo string - URLRMO string - URLWebsite string + Name string + OfficePhone string + URLLogo string + URLRMO string + URLWebsite string } type ContentDistrictList struct { Districts []ContentDistrict @@ -59,9 +60,10 @@ func newContentDistrict(d *models.Organization) *ContentDistrict { return nil } return &ContentDistrict{ - Name: d.Name, - URLLogo: config.MakeURLNidus("/api/district/%s/logo", d.Slug.GetOr("unset")), - URLRMO: config.MakeURLReport("/district/%s", d.Slug.GetOr("unset")), - URLWebsite: d.Website.GetOr(""), + Name: d.Name, + OfficePhone: "123-456-7890", + URLLogo: config.MakeURLNidus("/api/district/%s/logo", d.Slug.GetOr("unset")), + URLRMO: config.MakeURLReport("/district/%s", d.Slug.GetOr("unset")), + URLWebsite: d.Website.GetOr(""), } }