From ef70ad80391b7874881a808a32db4034a574111c Mon Sep 17 00:00:00 2001 From: Mann Patel <130435633+Patel-Mann@users.noreply.github.com> Date: Fri, 29 Aug 2025 22:51:04 -0600 Subject: [PATCH] update --- app/internal/templates/appointment.html | 13 +- .../dashboard/volunteer_dashboard.html | 197 +------- .../templates/volunteer/poll_form.html | 428 +++++++++++------- app/tmp/main | Bin 13292080 -> 13292080 bytes 4 files changed, 268 insertions(+), 370 deletions(-) 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 e7a8bcc60f2693bf423750785db7907a98aead4d..b5234123d21467fc569183b1ffa5fc8797a8d91c 100755 GIT binary patch delta 1138 zcmb`@$y@ELDxIG&5J9sxVjtr_q@rG~_1M7MI$zm5pkv zB2io9C=|+FdWYRrZOJp*r1~6%=rXJ9Msi{(&22>~KhP(y<_XrY51@mPVCNWdzr#u_9d3CT!7D%N5h(vXe} zpIdGSZ4D7cwO&xgih?T6;fT{}^g7Wu&}9()V*Z`}OyubT1LcHI5TI9Yj?S`*1Pj;^XMr2|=vXBiEaGY2l%oQbs6sVrPzwolaKeRpG@ubX zu?xGg2Yb;3H}+w_FT1xnYvjMT^w1Iqa1b6G!eJc2QMBS1j^hMQ;uP9&8tpiP4tUXt zvp9$I=)whDL^pcSi%YnSK3qXR25=SEa2mcK}*vAO^N delta 1138 zcmb`@$vcz*0LSrXh(ybXR8*u*i)QAXdA(@0msd=-iI&OCI}?V;2yG}MEm}y8N}(*3 z7Om61@0U7utYbG%r@HlZ>ksJgxqP4JclizX4fzg_stZuJH9JOB{o>D&YM;RRkY91LJgI%)V74>gY^g63(R}6YZvS}@PQ8dH}l2}Br z3vN}n9OkDL;{_>RFt{~Nm(KlrAU(+ay~m~YeC?3GsalM^GBU6ZnaF|>>yeEd7A#gw5CjGq$1#7FeOc20ON)7$qo$17#@3c2uAeJ5U8Ds<9I_s6`!iVK??* zFZQ7x4QRxE9Pk)>o3g(A_b*%c63sY>797H19Klhv;uwzO1Wuw2?Kp)FoW>cr(TTG- zhx6#d1zbcodeDnYxQssZV*rD=f~&ZOAza4|+{7&m<2LT#F7Dwz9>9Z#c!bAzf~RpF