diff --git a/public-report/page.go b/public-report/page.go index a0b6e06a..cd1efd70 100644 --- a/public-report/page.go +++ b/public-report/page.go @@ -39,7 +39,7 @@ var ( Status = buildTemplate("status", "base") ) -var components = [...]string{"footer"} +var components = [...]string{"footer", "photo-upload", "photo-upload-header"} func buildTemplate(files ...string) *htmlpage.BuiltTemplate { subdir := "public-report" diff --git a/public-report/template/component/photo-upload-header.html b/public-report/template/component/photo-upload-header.html new file mode 100644 index 00000000..fecbdd4b --- /dev/null +++ b/public-report/template/component/photo-upload-header.html @@ -0,0 +1,126 @@ +{{define "photo-upload-header"}} + + +{{end}} diff --git a/public-report/template/component/photo-upload.html b/public-report/template/component/photo-upload.html new file mode 100644 index 00000000..29499e65 --- /dev/null +++ b/public-report/template/component/photo-upload.html @@ -0,0 +1,19 @@ +{{define "photo-upload"}} + +
+ + + + +
+ + +
+ Take pictures of the mosquito problem area + + +
+ +
+
+{{end}} diff --git a/public-report/template/pool.html b/public-report/template/pool.html index 9c8e2da6..0ea0e6c7 100644 --- a/public-report/template/pool.html +++ b/public-report/template/pool.html @@ -2,80 +2,7 @@ {{define "title"}}Green Pool{{end}} {{define "extraheader"}} - +{{template "photo-upload-header"}}