diff --git a/public-report/mock.go b/public-report/mock.go index 2d7b3469..c76af1c0 100644 --- a/public-report/mock.go +++ b/public-report/mock.go @@ -14,6 +14,7 @@ var ( mockNuisanceSubmitCompleteT = buildTemplate("mock/nuisance-submit-complete", "base") mockRootT = buildTemplate("mock/root", "base") mockStatusT = buildTemplate("mock/status", "base") + mockWaterT = buildTemplate("mock/water", "base") ) type ContentDistrict struct { @@ -25,6 +26,7 @@ type ContentURL struct { NuisanceSubmitComplete string Status string Tegola string + Water string } type ContentMock struct { District ContentDistrict @@ -39,6 +41,7 @@ func addMockRoutes(r chi.Router) { r.Get("/district/{slug}/nuisance", renderMock(mockNuisanceT)) r.Get("/district/{slug}/nuisance-submit-complete", renderMock(mockNuisanceSubmitCompleteT)) r.Get("/district/{slug}/status", renderMock(mockStatusT)) + r.Get("/district/{slug}/water", renderMock(mockWaterT)) r.Get("/nuisance", renderMock(mockNuisanceT)) r.Get("/nuisance-submit-complete", renderMock(mockNuisanceSubmitCompleteT)) r.Get("/status", renderMock(mockStatusT)) @@ -50,6 +53,7 @@ func makeContentURL(slug string) ContentURL { NuisanceSubmitComplete: makeURLMock(slug, "nuisance-submit-complete"), Status: makeURLMock(slug, "status"), Tegola: config.MakeURLTegola("/"), + Water: makeURLMock(slug, "water"), } } diff --git a/public-report/template/mock/district-root.html b/public-report/template/mock/district-root.html index 8cb54251..485d5f50 100644 --- a/public-report/template/mock/district-root.html +++ b/public-report/template/mock/district-root.html @@ -69,7 +69,7 @@

Report Standing Water

Report any water that has been sitting for several days, where mosquitoes can live.

- Report Source + Report Water diff --git a/public-report/template/mock/water.html b/public-report/template/mock/water.html new file mode 100644 index 00000000..52926830 --- /dev/null +++ b/public-report/template/mock/water.html @@ -0,0 +1,569 @@ +{{template "base.html" .}} + +{{define "title"}}Green Pool{{end}} +{{define "extraheader"}} + + + + + + +{{template "photo-upload-header"}} + + +{{end}} +{{define "content"}} +{{if .District}} + {{template "header" .}} +{{end}} + +
+
+ +
+
+

Report Standing Water

+

Help us locate and treat potential mosquito production sources in your area

+
+
+ + +
+
+ +
+
+ + +
+ +
+
+ +

Photos

+
+

Photos help us identify the severity of the issue and may contain location data that can help us find the source.

+
+ {{template "photo-upload"}} +
+
+ + +
+
+ +

Location

+
+

Please provide the location of the potential mosquito production source. We may be able to extract this information from your photos if they contain location data.

+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+ +

You can also click on the map to mark the location precisely

+ + +
+ + +
+
+ +

Source Details

+
+ +
+
+ + +
+ +
+ +
+ + +
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ +

Access Information

+
+

Please provide any details about how to access the mosquito source. This helps our technicians when they visit the site.

+ +
+
+ + +
+
+ +
+
+ +
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+ +

Contact Information

+
+ + +
Property Owner Information (if known)
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
Your Contact Information (for updates)
+
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+
+
+ + +
+
+ +

Additional Information

+
+

Please provide any other information that might help us address this mosquito source.

+ +
+
+ + +
+
+
+ + +
+
+
+

Thank you for helping us keep our community safe from mosquito-borne illnesses.

+

After submission, you will receive a confirmation with a report ID for tracking purposes.

+
+
+ +
+
+
+
+ + + +
+
+ + + +{{end}}