diff --git a/templates/phone-call.html b/templates/phone-call.html index d876d554..70128dc2 100644 --- a/templates/phone-call.html +++ b/templates/phone-call.html @@ -2,23 +2,55 @@ {{define "title"}}Dash{{end}} {{define "style"}} +body { + overflow-x: hidden; +} .map-container { - height: 300px; + height: 250px; background-color: #e9ecef; border-radius: 4px; } -.technician-card { - transition: all 0.2s; -} -.technician-card:hover { - transform: translateY(-5px); - box-shadow: 0 5px 15px rgba(0,0,0,0.1); -} .calendar-container { - min-height: 300px; background-color: #f8f9fa; border-radius: 4px; } +.calendar-day { + width: 2.5rem; + height: 2.5rem; + line-height: 2.5rem; + text-align: center; +} +.calendar-day.has-events { + position: relative; +} +.calendar-day.has-events::after { + content: ''; + position: absolute; + bottom: 0.2rem; + left: 50%; + transform: translateX(-50%); + height: 0.25rem; + border-radius: 0.125rem; + background-color: #0d6efd; +} +.calendar-day.has-events.light::after { + width: 0.25rem; + background-color: #0d6efd; +} +.calendar-day.has-events.medium::after { + width: 0.5rem; + background-color: #fd7e14; +} +.calendar-day.has-events.heavy::after { + width: 0.75rem; + background-color: #dc3545; +} +.trap-increase { + color: #dc3545; +} +.trap-decrease { + color: #28a745; +} .status-active { background-color: #d4edda; } @@ -28,18 +60,16 @@ .status-transit { background-color: #cce5ff; } -.trap-increase { - color: #dc3545; -} -.trap-decrease { - color: #28a745; +.tech-table tr td { + vertical-align: middle; } {{end}} {{define "content"}} + -
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
| 1 | +2 | +3 | +4 | +5 | +6 | +7 | +
| 8 | +9 | +10 | +11 | +12 | +13 | +14 | +
| 15 | +16 | +17 | +18 | +19 | +20 | +21 | +
| 22 | +23 | +24 | +25 | +26 | +27 | +28 | +
| 29 | +30 | +31 | +1 | +2 | +3 | +4 | +
| 1 | -2 | -3 | -4 | -5 | -6 | -7 | +Time | +Address | +Type | +Technician | +
|---|---|---|---|---|---|---|---|---|---|---|
| 8:00 AM | +123 Maple St | +Nuisance | +S. Johnson | |||||||
| 8 | -9 | -10 | -11 | -12 | -13 | -14 | +9:30 AM | +456 Oak Ave | +Green Pool | +M. Williams |
| 15 | -16 | -17 | -18 | -19 | -20 | -21 | -||||
| 22 | -23 | -24 | -25 | -26 | -27 | -28 | -||||
| 29 | -30 | -31 | -1 | -2 | -3 | -4 | +||||
| 11:00 AM | +789 Pine Ln | +Prev Source | +L. Rodriguez |
| Time | -Address | -Type | -Resident | Technician | +Scheduled | +Completed | +Phone | Status | +Location | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 8:00 AM | -123 Maple St, Anytown | -Mosquito Nuisance | -John Smith | -Sarah Johnson | -Completed | +
+
+
+ |
+ 8 | +5 | +(555) 234-5678 | +Servicing | +123 Maple St, Zone 3 |
| 9:30 AM | -456 Oak Ave, Anytown | -Green Pool | -Emily Davis | -Mark Williams | -Completed | -||||||
| 11:00 AM | -789 Pine Ln, Anytown | -Previous Source | -Robert Jones | -Lisa Rodriguez | -In Progress | +
+
+
+ |
+ 7 | +3 | +(555) 345-6789 | +On Break | +Office - Lunchroom |
| 1:30 PM | -101 Cedar Blvd, Anytown | -Mosquito Nuisance | -Maria Garcia | -Carlos Martinez | -Scheduled | +
+
+
+ |
+ 9 | +6 | +(555) 456-7890 | +In Transit | +En route to 789 Pine Ln |
| 3:00 PM | -202 Birch Dr, Anytown | -Green Pool | -David Wilson | -Sarah Johnson | -Scheduled | +
+
+
+ |
+ 6 | +4 | +(555) 567-8901 | +Servicing | +202 Birch Dr, Zone 2 |