This commit is contained in:
Mann Patel
2025-08-29 22:51:04 -06:00
parent 2136dd6759
commit ef70ad8039
4 changed files with 268 additions and 370 deletions

View File

@@ -29,9 +29,7 @@
>
<th class="px-6 py-3 whitespace-nowrap">Poll</th>
<th class="px-6 py-3 whitespace-nowrap">Address</th>
<th class="px-6 py-3 whitespace-nowrap">Coordinates</th>
<th class="px-6 py-3 whitespace-nowrap">Appointment Date</th>
<th class="px-6 py-3 whitespace-nowrap">Appointment Time</th>
<th class="px-6 py-3 whitespace-nowrap">Appointment</th>
</tr>
</thead>
<tbody class="divide-y divide-gray-200">
@@ -49,21 +47,18 @@
</a>
{{ end }}
</td>
<td class="px-6 py-3 whitespace-nowrap">{{ .Address }}</td>
<td class="px-6 py-3 whitespace-nowrap">
<a
href="https://www.google.com/maps/search/?api=1&query={{ .Latitude }},{{ .Longitude }}"
target="_blank"
class="text-blue-600 hover:underline"
>
({{ .Latitude }}, {{ .Longitude }})
{{ .Address }}
</a>
</td>
<td class="px-6 py-3 whitespace-nowrap">
{{ .AppointmentDate.Format "2006-01-02" }}
</td>
<td class="px-6 py-3 whitespace-nowrap">
{{ .AppointmentTime.Format "15:04" }}
({{ .AppointmentDate.Format "2006-01-02" }} @ {{
.AppointmentTime.Format "15:04" }})
</td>
</tr>
{{ else }}