{{template "authenticated.html" .}} {{define "title"}}Dash{{end}} {{define "style"}} body { background-color: #f8f9fa; } .dashboard-container { padding: 20px 0; } .stats-card { border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.2s; height: 100%; } .stats-card:hover { transform: translateY(-5px); } .map-container { background-color: #e9ecef; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); height: 500px; display: flex; align-items: center; justify-content: center; margin-top: 20px; } .section-title { margin: 30px 0 20px; padding-bottom: 10px; border-bottom: 1px solid #dee2e6; } .last-refreshed { color: #6c757d; } .logo-placeholder { width: 100px; height: 40px; background-color: #e9ecef; display: flex; align-items: center; justify-content: center; border-radius: 4px; } .metric-icon { font-size: 2rem; margin-bottom: 10px; display: inline-block; width: 50px; height: 50px; line-height: 50px; text-align: center; border-radius: 50%; } .metric-value { font-size: 2rem; font-weight: bold; } {{end}} {{define "content"}}

{{ .Org }} Dashboard

Overview of mosquito control activities in your district

Last updated: {{ .LastSync | timeSince }}

Last Data Refresh

{{ .LastSync | timeSince }}

Last sync: 12:45 PM

Service Requests

{{ .CountServiceRequests }}

12% since last week

Mosquito Sources

{{ .CountMosquitoSources }}

8% since last month

Inspections

{{ .CountInspections }}

15% since last week

Mosquito Activity Heatmap

Mosquito Activity Heatmap

Map visualization will be displayed here

Showing activity data for the Central District area

Recent Activity

{{ range $i, $sr := .RecentRequests }} {{ end }}
Date Type Location Status Action
{{ $sr.Date | timeSince }} Service Request {{ $sr.Location }} Completed View
{{end}}