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"}} + -
-
+
+
-
-
-
Quick Search
+
+
- Search for anything: request ID, address, coordinates, contact name, or phone number + Quick search for request ID, address, coordinates, contact name, or phone number
-
-
-
-
-
Service Request Lookup
-
-
-
-
- - -
-
- - -
-
- - -
- -
-
-
-
- -
-
-
+
+ +
+
+
Mosquito Activity & Relief
New Service Request
-
+
- +
@@ -128,8 +133,8 @@
-
-
Recent Trap Counts
+
+
Recent Trap Counts
@@ -169,7 +174,7 @@
-
Nearby Service Requests
+
Nearby Service Requests
@@ -207,137 +212,110 @@ - -
-
-
-
-
Today's Technician Roster
-
-
-
-
-
-
- Technician Photo -
Sarah Johnson
-

Scheduled: 8

-

Completed: 5

-

(555) 234-5678

- Servicing Request -
-
-
- -
-
-
- Technician Photo -
Mark Williams
-

Scheduled: 7

-

Completed: 3

-

(555) 345-6789

- On Break -
-
-
- -
-
-
- Technician Photo -
Lisa Rodriguez
-

Scheduled: 9

-

Completed: 6

-

(555) 456-7890

- In Transit -
-
-
- -
-
-
- Technician Photo -
Carlos Martinez
-

Scheduled: 6

-

Completed: 4

-

(555) 567-8901

- Servicing Request -
-
-
-
-
-
-
-
- -
-
-
-
+ +
+
+
Calendar
-
-
-
+
+
+
October 2023
-
+
- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SuMoTuWeThFrSa
1234567
891011121314
15161718192021
22232425262728
2930311234
+
+ Light + Medium + Heavy +
+
+ +
Today's Schedule - October 23, 2023
+
+ + - - - - - - - + + + + + + + + + + + + - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +
1234567TimeAddressTypeTechnician
8:00 AM123 Maple StNuisanceS. Johnson
8910111213149:30 AM456 Oak AveGreen PoolM. Williams
15161718192021
22232425262728
2930311234
11:00 AM789 Pine LnPrev SourceL. Rodriguez
@@ -345,66 +323,80 @@
+
-
-
-
-
Today's Schedule - October 23, 2023
- + +
+
+
+
+
Today's Technician Roster
-
+
- +
- - - - + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + +
TimeAddressTypeResident TechnicianScheduledCompletedPhone StatusLocation
8:00 AM123 Maple St, AnytownMosquito NuisanceJohn SmithSarah JohnsonCompleted +
+ Photo + Sarah Johnson +
+
85(555) 234-5678Servicing123 Maple St, Zone 3
9:30 AM456 Oak Ave, AnytownGreen PoolEmily DavisMark WilliamsCompleted
11:00 AM789 Pine Ln, AnytownPrevious SourceRobert JonesLisa RodriguezIn Progress +
+ Photo + Mark Williams +
+
73(555) 345-6789On BreakOffice - Lunchroom
1:30 PM101 Cedar Blvd, AnytownMosquito NuisanceMaria GarciaCarlos MartinezScheduled +
+ Photo + Lisa Rodriguez +
+
96(555) 456-7890In TransitEn route to 789 Pine Ln
3:00 PM202 Birch Dr, AnytownGreen PoolDavid WilsonSarah JohnsonScheduled +
+ Photo + Carlos Martinez +
+
64(555) 567-8901Servicing202 Birch Dr, Zone 2