diff --git a/app/internal/templates/appointment.html b/app/internal/templates/appointment.html index b9cfe1c..52d71c8 100644 --- a/app/internal/templates/appointment.html +++ b/app/internal/templates/appointment.html @@ -29,9 +29,7 @@ > Poll Address - Coordinates - Appointment Date - Appointment Time + Appointment @@ -49,21 +47,18 @@ {{ end }} - {{ .Address }} - ({{ .Latitude }}, {{ .Longitude }}) + {{ .Address }} - {{ .AppointmentDate.Format "2006-01-02" }} - - - {{ .AppointmentTime.Format "15:04" }} + ({{ .AppointmentDate.Format "2006-01-02" }} @ {{ + .AppointmentTime.Format "15:04" }}) {{ else }} diff --git a/app/internal/templates/dashboard/volunteer_dashboard.html b/app/internal/templates/dashboard/volunteer_dashboard.html index ff6cd68..e1a8816 100644 --- a/app/internal/templates/dashboard/volunteer_dashboard.html +++ b/app/internal/templates/dashboard/volunteer_dashboard.html @@ -4,7 +4,7 @@
-
+
{{ if .Posts }}{{range .Posts}}
@@ -84,10 +84,9 @@
{{ end }}
-
@@ -199,198 +198,6 @@
- - -
-
-

- Signs Requested -

-
-
-
-
- -
- Lawn Signs -
- - {{ .Statistics.LawnSignsRequested }} - -
- -
-
-
- -
- Banner Signs -
- - {{ .Statistics.BannerSignsRequested }} - -
-
-
-
-
- - -
- -
-
-

- Today's Overview -

-
-
-
-
- -
- Appointments Today -
- - {{ .Statistics.AppointmentsToday }} - -
- -
-
-
- -
- Appointments Tomorrow -
- - {{ .Statistics.AppointmentsTomorrow }} - -
- -
-
-
- -
- This Week -
- - {{ .Statistics.AppointmentsThisWeek }} - -
-
-
-
- - -
-
-

- Polling Progress -

-
-
-
-
- -
- Polls Completed -
- - {{ .Statistics.PollsCompleted }} - -
- -
-
-
- -
- Polls Remaining -
- - {{ .Statistics.PollsRemaining }} - -
- - - {{ if gt .Statistics.TotalAppointments 0 }} -
-
- Progress - {{ .Statistics.PollsCompleted }}/{{ - .Statistics.TotalAppointments }} -
-
-
-
-
- {{ end }} -
-
-
- - -
-
-

- Signs Requested -

-
-
-
-
- -
- Lawn Signs -
- - {{ .Statistics.LawnSignsRequested }} - -
- -
-
-
- -
- Banner Signs -
- - {{ .Statistics.BannerSignsRequested }} - -
-
-
-
diff --git a/app/internal/templates/volunteer/poll_form.html b/app/internal/templates/volunteer/poll_form.html index c7c9279..346418c 100644 --- a/app/internal/templates/volunteer/poll_form.html +++ b/app/internal/templates/volunteer/poll_form.html @@ -1,175 +1,271 @@ {{ define "content" }} -
- -
-
-
-
-

- Campaign Poll Questions -

-

Address: {{ .Address }}

+ + + + + + Campaign Management System - Poll Response + + + + +
+ +
+
+ +
+
+
+ +
+

+ Voter Response Form +

+
+ + +
+
+ + + +
+ + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + signs (max 10) +
+
+ + +
+ +
+ + signs (max 5) +
+
+ + +
+ + +
+ + + +
+
+ + +
+
+ + +
+
+
+
+
- -
- - - -
- - -
- - -
- -
- - -
-
- - -
- -
- - -
-
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - Cancel - - -
-
-
-
- + // Mark this as active + this.classList.add("active"); + + // Set hidden input value + hiddenInput.value = value; + }); + }); + }); + + + {{ end }} diff --git a/app/tmp/main b/app/tmp/main index e7a8bcc..b523412 100755 Binary files a/app/tmp/main and b/app/tmp/main differ