Initial DeepSite commit
Browse files- README.md +8 -5
- employees.json +492 -0
- index.html +1186 -19
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji: 🐢
|
| 4 |
colorFrom: green
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: DeepSite Project
|
|
|
|
| 3 |
colorFrom: green
|
| 4 |
+
colorTo: green
|
| 5 |
sdk: static
|
| 6 |
+
emoji: 🔥
|
| 7 |
+
tags:
|
| 8 |
+
- deepsite-v4
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# DeepSite Project
|
| 12 |
+
|
| 13 |
+
This project has been created with [DeepSite](https://deepsite.hf.co) AI Vibe Coding.
|
employees.json
ADDED
|
@@ -0,0 +1,492 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"fullName": "Luna Davis",
|
| 4 |
+
"employeeNumber": "E100001",
|
| 5 |
+
"email": "luna.davis.e100001@company.example",
|
| 6 |
+
"phoneNumber": "+1-555-125-5506",
|
| 7 |
+
"department": "Support",
|
| 8 |
+
"teamLeader": "Avery Patel",
|
| 9 |
+
"shiftStartTime": "9:00",
|
| 10 |
+
"daysOff": "Thu & Fri"
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"fullName": "Mia Nelson",
|
| 14 |
+
"employeeNumber": "E100002",
|
| 15 |
+
"email": "mia.nelson.e100002@company.example",
|
| 16 |
+
"phoneNumber": "+1-555-858-9935",
|
| 17 |
+
"department": "Support",
|
| 18 |
+
"teamLeader": "Cameron Davis",
|
| 19 |
+
"shiftStartTime": "14:00",
|
| 20 |
+
"daysOff": "Sat & Sun"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"fullName": "Noah Garcia",
|
| 24 |
+
"employeeNumber": "E100003",
|
| 25 |
+
"email": "noah.garcia.e100003@company.example",
|
| 26 |
+
"phoneNumber": "+1-555-323-4811",
|
| 27 |
+
"department": "Sales",
|
| 28 |
+
"teamLeader": "Cameron Davis",
|
| 29 |
+
"shiftStartTime": "7:00",
|
| 30 |
+
"daysOff": "Wed & Thu"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"fullName": "Isabella Mitchell",
|
| 34 |
+
"employeeNumber": "E100004",
|
| 35 |
+
"email": "isabella.mitchell.e100004@company.example",
|
| 36 |
+
"phoneNumber": "+1-555-765-9928",
|
| 37 |
+
"department": "Trust and Safety",
|
| 38 |
+
"teamLeader": "Avery Patel",
|
| 39 |
+
"shiftStartTime": "16:00",
|
| 40 |
+
"daysOff": "Wed & Thu"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"fullName": "Harper Smith",
|
| 44 |
+
"employeeNumber": "E100005",
|
| 45 |
+
"email": "harper.smith.e100005@company.example",
|
| 46 |
+
"phoneNumber": "+1-555-877-3615",
|
| 47 |
+
"department": "Sales",
|
| 48 |
+
"teamLeader": "Jamie Rivera",
|
| 49 |
+
"shiftStartTime": "12:00",
|
| 50 |
+
"daysOff": "Mon & Tue"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"fullName": "Ethan Wilson",
|
| 54 |
+
"employeeNumber": "E100006",
|
| 55 |
+
"email": "ethan.wilson.e100006@company.example",
|
| 56 |
+
"phoneNumber": "+1-555-881-6514",
|
| 57 |
+
"department": "Support",
|
| 58 |
+
"teamLeader": "Morgan Reed",
|
| 59 |
+
"shiftStartTime": "14:00",
|
| 60 |
+
"daysOff": "Sat & Sun"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"fullName": "Chloe Thompson",
|
| 64 |
+
"employeeNumber": "E100007",
|
| 65 |
+
"email": "chloe.thompson.e100007@company.example",
|
| 66 |
+
"phoneNumber": "+1-555-718-5333",
|
| 67 |
+
"department": "Support",
|
| 68 |
+
"teamLeader": "Parker Singh",
|
| 69 |
+
"shiftStartTime": "8:00",
|
| 70 |
+
"daysOff": "Tue & Wed"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"fullName": "Sophia Scott",
|
| 74 |
+
"employeeNumber": "E100008",
|
| 75 |
+
"email": "sophia.scott.e100008@company.example",
|
| 76 |
+
"phoneNumber": "+1-555-400-6925",
|
| 77 |
+
"department": "Sales",
|
| 78 |
+
"teamLeader": "Avery Patel",
|
| 79 |
+
"shiftStartTime": "8:00",
|
| 80 |
+
"daysOff": "Sat & Sun"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"fullName": "Ivy Anderson",
|
| 84 |
+
"employeeNumber": "E100009",
|
| 85 |
+
"email": "ivy.anderson.e100009@company.example",
|
| 86 |
+
"phoneNumber": "+1-555-891-5741",
|
| 87 |
+
"department": "Support",
|
| 88 |
+
"teamLeader": "Avery Patel",
|
| 89 |
+
"shiftStartTime": "8:00",
|
| 90 |
+
"daysOff": "Tue & Wed"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"fullName": "Harper Robinson",
|
| 94 |
+
"employeeNumber": "E100010",
|
| 95 |
+
"email": "harper.robinson.e100010@company.example",
|
| 96 |
+
"phoneNumber": "+1-555-750-6977",
|
| 97 |
+
"department": "Support",
|
| 98 |
+
"teamLeader": "Casey Thompson",
|
| 99 |
+
"shiftStartTime": "12:00",
|
| 100 |
+
"daysOff": "Sun & Mon"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"fullName": "Ivy Moore",
|
| 104 |
+
"employeeNumber": "E100011",
|
| 105 |
+
"email": "ivy.moore.e100011@company.example",
|
| 106 |
+
"phoneNumber": "+1-555-818-2169",
|
| 107 |
+
"department": "Sales",
|
| 108 |
+
"teamLeader": "Taylor Chen",
|
| 109 |
+
"shiftStartTime": "10:00",
|
| 110 |
+
"daysOff": "Sun & Mon"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"fullName": "Mateo Harris",
|
| 114 |
+
"employeeNumber": "E100012",
|
| 115 |
+
"email": "mateo.harris.e100012@company.example",
|
| 116 |
+
"phoneNumber": "+1-555-376-4598",
|
| 117 |
+
"department": "Sales",
|
| 118 |
+
"teamLeader": "Casey Thompson",
|
| 119 |
+
"shiftStartTime": "7:00",
|
| 120 |
+
"daysOff": "Sun & Mon"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"fullName": "Liam Lee",
|
| 124 |
+
"employeeNumber": "E100013",
|
| 125 |
+
"email": "liam.lee.e100013@company.example",
|
| 126 |
+
"phoneNumber": "+1-555-510-5386",
|
| 127 |
+
"department": "Support",
|
| 128 |
+
"teamLeader": "Avery Patel",
|
| 129 |
+
"shiftStartTime": "12:00",
|
| 130 |
+
"daysOff": "Sun & Mon"
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"fullName": "Zara Young",
|
| 134 |
+
"employeeNumber": "E100014",
|
| 135 |
+
"email": "zara.young.e100014@company.example",
|
| 136 |
+
"phoneNumber": "+1-555-505-8517",
|
| 137 |
+
"department": "Support",
|
| 138 |
+
"teamLeader": "Riley Nguyen",
|
| 139 |
+
"shiftStartTime": "9:00",
|
| 140 |
+
"daysOff": "Sun & Mon"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"fullName": "Samuel Wright",
|
| 144 |
+
"employeeNumber": "E100015",
|
| 145 |
+
"email": "samuel.wright.e100015@company.example",
|
| 146 |
+
"phoneNumber": "+1-555-369-8019",
|
| 147 |
+
"department": "Sales",
|
| 148 |
+
"teamLeader": "Jamie Rivera",
|
| 149 |
+
"shiftStartTime": "12:00",
|
| 150 |
+
"daysOff": "Sun & Mon"
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"fullName": "Lucas Allen",
|
| 154 |
+
"employeeNumber": "E100016",
|
| 155 |
+
"email": "lucas.allen.e100016@company.example",
|
| 156 |
+
"phoneNumber": "+1-555-605-2489",
|
| 157 |
+
"department": "Support",
|
| 158 |
+
"teamLeader": "Morgan Reed",
|
| 159 |
+
"shiftStartTime": "9:00",
|
| 160 |
+
"daysOff": "Thu & Fri"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"fullName": "Mason Nelson",
|
| 164 |
+
"employeeNumber": "E100017",
|
| 165 |
+
"email": "mason.nelson.e100017@company.example",
|
| 166 |
+
"phoneNumber": "+1-555-532-2040",
|
| 167 |
+
"department": "Trust and Safety",
|
| 168 |
+
"teamLeader": "Jamie Rivera",
|
| 169 |
+
"shiftStartTime": "16:00",
|
| 170 |
+
"daysOff": "Wed & Thu"
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"fullName": "Benjamin Scott",
|
| 174 |
+
"employeeNumber": "E100018",
|
| 175 |
+
"email": "benjamin.scott.e100018@company.example",
|
| 176 |
+
"phoneNumber": "+1-555-981-1188",
|
| 177 |
+
"department": "Sales",
|
| 178 |
+
"teamLeader": "Morgan Reed",
|
| 179 |
+
"shiftStartTime": "11:00",
|
| 180 |
+
"daysOff": "Fri & Sat"
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"fullName": "Zara Perez",
|
| 184 |
+
"employeeNumber": "E100019",
|
| 185 |
+
"email": "zara.perez.e100019@company.example",
|
| 186 |
+
"phoneNumber": "+1-555-214-5808",
|
| 187 |
+
"department": "Trust and Safety",
|
| 188 |
+
"teamLeader": "Taylor Chen",
|
| 189 |
+
"shiftStartTime": "16:00",
|
| 190 |
+
"daysOff": "Sat & Sun"
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"fullName": "Benjamin Allen",
|
| 194 |
+
"employeeNumber": "E100020",
|
| 195 |
+
"email": "benjamin.allen.e100020@company.example",
|
| 196 |
+
"phoneNumber": "+1-555-880-3927",
|
| 197 |
+
"department": "Sales",
|
| 198 |
+
"teamLeader": "Morgan Reed",
|
| 199 |
+
"shiftStartTime": "11:00",
|
| 200 |
+
"daysOff": "Fri & Sat"
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"fullName": "Luna Allen",
|
| 204 |
+
"employeeNumber": "E100021",
|
| 205 |
+
"email": "luna.allen.e100021@company.example",
|
| 206 |
+
"phoneNumber": "+1-555-723-4258",
|
| 207 |
+
"department": "Support",
|
| 208 |
+
"teamLeader": "Casey Thompson",
|
| 209 |
+
"shiftStartTime": "9:00",
|
| 210 |
+
"daysOff": "Wed & Thu"
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"fullName": "Hannah Smith",
|
| 214 |
+
"employeeNumber": "E100022",
|
| 215 |
+
"email": "hannah.smith.e100022@company.example",
|
| 216 |
+
"phoneNumber": "+1-555-713-6310",
|
| 217 |
+
"department": "Trust and Safety",
|
| 218 |
+
"teamLeader": "Jordan Blake",
|
| 219 |
+
"shiftStartTime": "8:00",
|
| 220 |
+
"daysOff": "Mon & Tue"
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"fullName": "Henry Thomas",
|
| 224 |
+
"employeeNumber": "E100023",
|
| 225 |
+
"email": "henry.thomas.e100023@company.example",
|
| 226 |
+
"phoneNumber": "+1-555-159-4946",
|
| 227 |
+
"department": "Sales",
|
| 228 |
+
"teamLeader": "Morgan Reed",
|
| 229 |
+
"shiftStartTime": "8:00",
|
| 230 |
+
"daysOff": "Thu & Fri"
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"fullName": "Riley Jones",
|
| 234 |
+
"employeeNumber": "E100024",
|
| 235 |
+
"email": "riley.jones.e100024@company.example",
|
| 236 |
+
"phoneNumber": "+1-555-878-9727",
|
| 237 |
+
"department": "Support",
|
| 238 |
+
"teamLeader": "Taylor Chen",
|
| 239 |
+
"shiftStartTime": "16:00",
|
| 240 |
+
"daysOff": "Wed & Thu"
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"fullName": "Mason Taylor",
|
| 244 |
+
"employeeNumber": "E100025",
|
| 245 |
+
"email": "mason.taylor.e100025@company.example",
|
| 246 |
+
"phoneNumber": "+1-555-640-7932",
|
| 247 |
+
"department": "Support",
|
| 248 |
+
"teamLeader": "Quinn Walker",
|
| 249 |
+
"shiftStartTime": "10:00",
|
| 250 |
+
"daysOff": "Thu & Fri"
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"fullName": "Henry Sanchez",
|
| 254 |
+
"employeeNumber": "E100026",
|
| 255 |
+
"email": "henry.sanchez.e100026@company.example",
|
| 256 |
+
"phoneNumber": "+1-555-787-7118",
|
| 257 |
+
"department": "Trust and Safety",
|
| 258 |
+
"teamLeader": "Quinn Walker",
|
| 259 |
+
"shiftStartTime": "16:00",
|
| 260 |
+
"daysOff": "Sat & Sun"
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"fullName": "James Anderson",
|
| 264 |
+
"employeeNumber": "E100027",
|
| 265 |
+
"email": "james.anderson.e100027@company.example",
|
| 266 |
+
"phoneNumber": "+1-555-165-6539",
|
| 267 |
+
"department": "Support",
|
| 268 |
+
"teamLeader": "Cameron Davis",
|
| 269 |
+
"shiftStartTime": "10:00",
|
| 270 |
+
"daysOff": "Wed & Thu"
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"fullName": "Elijah Smith",
|
| 274 |
+
"employeeNumber": "E100028",
|
| 275 |
+
"email": "elijah.smith.e100028@company.example",
|
| 276 |
+
"phoneNumber": "+1-555-172-1964",
|
| 277 |
+
"department": "Support",
|
| 278 |
+
"teamLeader": "Morgan Reed",
|
| 279 |
+
"shiftStartTime": "7:00",
|
| 280 |
+
"daysOff": "Fri & Sat"
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"fullName": "Daniel Jones",
|
| 284 |
+
"employeeNumber": "E100029",
|
| 285 |
+
"email": "daniel.jones.e100029@company.example",
|
| 286 |
+
"phoneNumber": "+1-555-626-4899",
|
| 287 |
+
"department": "Trust and Safety",
|
| 288 |
+
"teamLeader": "Parker Singh",
|
| 289 |
+
"shiftStartTime": "10:00",
|
| 290 |
+
"daysOff": "Wed & Thu"
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"fullName": "Lucas Patel",
|
| 294 |
+
"employeeNumber": "E100030",
|
| 295 |
+
"email": "lucas.patel.e100030@company.example",
|
| 296 |
+
"phoneNumber": "+1-555-684-8744",
|
| 297 |
+
"department": "Support",
|
| 298 |
+
"teamLeader": "Parker Singh",
|
| 299 |
+
"shiftStartTime": "14:00",
|
| 300 |
+
"daysOff": "Sun & Mon"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"fullName": "Mia Miller",
|
| 304 |
+
"employeeNumber": "E100031",
|
| 305 |
+
"email": "mia.miller.e100031@company.example",
|
| 306 |
+
"phoneNumber": "+1-555-774-8062",
|
| 307 |
+
"department": "Trust and Safety",
|
| 308 |
+
"teamLeader": "Jamie Rivera",
|
| 309 |
+
"shiftStartTime": "14:00",
|
| 310 |
+
"daysOff": "Tue & Wed"
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"fullName": "Emma Nelson",
|
| 314 |
+
"employeeNumber": "E100032",
|
| 315 |
+
"email": "emma.nelson.e100032@company.example",
|
| 316 |
+
"phoneNumber": "+1-555-769-2612",
|
| 317 |
+
"department": "Support",
|
| 318 |
+
"teamLeader": "Jamie Rivera",
|
| 319 |
+
"shiftStartTime": "12:00",
|
| 320 |
+
"daysOff": "Fri & Sat"
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"fullName": "Mia Thomas",
|
| 324 |
+
"employeeNumber": "E100033",
|
| 325 |
+
"email": "mia.thomas.e100033@company.example",
|
| 326 |
+
"phoneNumber": "+1-555-296-4116",
|
| 327 |
+
"department": "Sales",
|
| 328 |
+
"teamLeader": "Parker Singh",
|
| 329 |
+
"shiftStartTime": "9:00",
|
| 330 |
+
"daysOff": "Tue & Wed"
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"fullName": "Logan Moore",
|
| 334 |
+
"employeeNumber": "E100034",
|
| 335 |
+
"email": "logan.moore.e100034@company.example",
|
| 336 |
+
"phoneNumber": "+1-555-573-5092",
|
| 337 |
+
"department": "Support",
|
| 338 |
+
"teamLeader": "Parker Singh",
|
| 339 |
+
"shiftStartTime": "8:00",
|
| 340 |
+
"daysOff": "Sat & Sun"
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"fullName": "Zara Wright",
|
| 344 |
+
"employeeNumber": "E100035",
|
| 345 |
+
"email": "zara.wright.e100035@company.example",
|
| 346 |
+
"phoneNumber": "+1-555-956-1241",
|
| 347 |
+
"department": "Support",
|
| 348 |
+
"teamLeader": "Avery Patel",
|
| 349 |
+
"shiftStartTime": "9:00",
|
| 350 |
+
"daysOff": "Tue & Wed"
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"fullName": "Riley Walker",
|
| 354 |
+
"employeeNumber": "E100036",
|
| 355 |
+
"email": "riley.walker.e100036@company.example",
|
| 356 |
+
"phoneNumber": "+1-555-318-7570",
|
| 357 |
+
"department": "Support",
|
| 358 |
+
"teamLeader": "Taylor Chen",
|
| 359 |
+
"shiftStartTime": "14:00",
|
| 360 |
+
"daysOff": "Sat & Sun"
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"fullName": "Aria Taylor",
|
| 364 |
+
"employeeNumber": "E100037",
|
| 365 |
+
"email": "aria.taylor.e100037@company.example",
|
| 366 |
+
"phoneNumber": "+1-555-902-8454",
|
| 367 |
+
"department": "Trust and Safety",
|
| 368 |
+
"teamLeader": "Jamie Rivera",
|
| 369 |
+
"shiftStartTime": "16:00",
|
| 370 |
+
"daysOff": "Sun & Mon"
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"fullName": "Isabella Jackson",
|
| 374 |
+
"employeeNumber": "E100038",
|
| 375 |
+
"email": "isabella.jackson.e100038@company.example",
|
| 376 |
+
"phoneNumber": "+1-555-322-1958",
|
| 377 |
+
"department": "Sales",
|
| 378 |
+
"teamLeader": "Quinn Walker",
|
| 379 |
+
"shiftStartTime": "7:00",
|
| 380 |
+
"daysOff": "Thu & Fri"
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"fullName": "Alexander Brown",
|
| 384 |
+
"employeeNumber": "E100039",
|
| 385 |
+
"email": "alexander.brown.e100039@company.example",
|
| 386 |
+
"phoneNumber": "+1-555-151-8811",
|
| 387 |
+
"department": "Sales",
|
| 388 |
+
"teamLeader": "Quinn Walker",
|
| 389 |
+
"shiftStartTime": "9:00",
|
| 390 |
+
"daysOff": "Sat & Sun"
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"fullName": "Grace Garcia",
|
| 394 |
+
"employeeNumber": "E100040",
|
| 395 |
+
"email": "grace.garcia.e100040@company.example",
|
| 396 |
+
"phoneNumber": "+1-555-971-4044",
|
| 397 |
+
"department": "Support",
|
| 398 |
+
"teamLeader": "Cameron Davis",
|
| 399 |
+
"shiftStartTime": "8:00",
|
| 400 |
+
"daysOff": "Thu & Fri"
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"fullName": "James Sanchez",
|
| 404 |
+
"employeeNumber": "E100041",
|
| 405 |
+
"email": "james.sanchez.e100041@company.example",
|
| 406 |
+
"phoneNumber": "+1-555-222-5033",
|
| 407 |
+
"department": "Sales",
|
| 408 |
+
"teamLeader": "Cameron Davis",
|
| 409 |
+
"shiftStartTime": "7:00",
|
| 410 |
+
"daysOff": "Wed & Thu"
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"fullName": "Sophia Clark",
|
| 414 |
+
"employeeNumber": "E100042",
|
| 415 |
+
"email": "sophia.clark.e100042@company.example",
|
| 416 |
+
"phoneNumber": "+1-555-773-9565",
|
| 417 |
+
"department": "Trust and Safety",
|
| 418 |
+
"teamLeader": "Riley Nguyen",
|
| 419 |
+
"shiftStartTime": "10:00",
|
| 420 |
+
"daysOff": "Thu & Fri"
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"fullName": "Leah Lee",
|
| 424 |
+
"employeeNumber": "E100043",
|
| 425 |
+
"email": "leah.lee.e100043@company.example",
|
| 426 |
+
"phoneNumber": "+1-555-344-5351",
|
| 427 |
+
"department": "Trust and Safety",
|
| 428 |
+
"teamLeader": "Taylor Chen",
|
| 429 |
+
"shiftStartTime": "11:00",
|
| 430 |
+
"daysOff": "Tue & Wed"
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"fullName": "Alexander Khan",
|
| 434 |
+
"employeeNumber": "E100044",
|
| 435 |
+
"email": "alexander.khan.e100044@company.example",
|
| 436 |
+
"phoneNumber": "+1-555-174-1152",
|
| 437 |
+
"department": "Trust and Safety",
|
| 438 |
+
"teamLeader": "Cameron Davis",
|
| 439 |
+
"shiftStartTime": "8:00",
|
| 440 |
+
"daysOff": "Sat & Sun"
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"fullName": "Aiden Wilson",
|
| 444 |
+
"employeeNumber": "E100045",
|
| 445 |
+
"email": "aiden.wilson.e100045@company.example",
|
| 446 |
+
"phoneNumber": "+1-555-618-5345",
|
| 447 |
+
"department": "Support",
|
| 448 |
+
"teamLeader": "Casey Thompson",
|
| 449 |
+
"shiftStartTime": "8:00",
|
| 450 |
+
"daysOff": "Sun & Mon"
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"fullName": "Zoey Jackson",
|
| 454 |
+
"employeeNumber": "E100046",
|
| 455 |
+
"email": "zoey.jackson.e100046@company.example",
|
| 456 |
+
"phoneNumber": "+1-555-261-8179",
|
| 457 |
+
"department": "Sales",
|
| 458 |
+
"teamLeader": "Riley Nguyen",
|
| 459 |
+
"shiftStartTime": "7:00",
|
| 460 |
+
"daysOff": "Thu & Fri"
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"fullName": "Samuel Martin",
|
| 464 |
+
"employeeNumber": "E100047",
|
| 465 |
+
"email": "samuel.martin.e100047@company.example",
|
| 466 |
+
"phoneNumber": "+1-555-779-2697",
|
| 467 |
+
"department": "Support",
|
| 468 |
+
"teamLeader": "Riley Nguyen",
|
| 469 |
+
"shiftStartTime": "8:00",
|
| 470 |
+
"daysOff": "Sat & Sun"
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"fullName": "Samuel Martinez",
|
| 474 |
+
"employeeNumber": "E100048",
|
| 475 |
+
"email": "samuel.martinez.e100048@company.example",
|
| 476 |
+
"phoneNumber": "+1-555-378-5616",
|
| 477 |
+
"department": "Sales",
|
| 478 |
+
"teamLeader": "Avery Patel",
|
| 479 |
+
"shiftStartTime": "12:00",
|
| 480 |
+
"daysOff": "Sun & Mon"
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"fullName": "Sofia Green",
|
| 484 |
+
"employeeNumber": "E100049",
|
| 485 |
+
"email": "sofia.green.e100049@company.example",
|
| 486 |
+
"phoneNumber": "+1-555-973-5325",
|
| 487 |
+
"department": "Sales",
|
| 488 |
+
"teamLeader": "Parker Singh",
|
| 489 |
+
"shiftStartTime": "11:00",
|
| 490 |
+
"daysOff": "Fri & Sat"
|
| 491 |
+
}
|
| 492 |
+
]
|
index.html
CHANGED
|
@@ -1,19 +1,1186 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Employee Directory Dashboard</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/lucide@latest"></script>
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
| 10 |
+
<style>
|
| 11 |
+
* {
|
| 12 |
+
font-family: 'Inter', sans-serif;
|
| 13 |
+
}
|
| 14 |
+
.glass-effect {
|
| 15 |
+
background: rgba(255, 255, 255, 0.95);
|
| 16 |
+
backdrop-filter: blur(10px);
|
| 17 |
+
}
|
| 18 |
+
.gradient-bg {
|
| 19 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 20 |
+
}
|
| 21 |
+
.card-hover {
|
| 22 |
+
transition: all 0.3s ease;
|
| 23 |
+
}
|
| 24 |
+
.card-hover:hover {
|
| 25 |
+
transform: translateY(-4px);
|
| 26 |
+
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
|
| 27 |
+
}
|
| 28 |
+
.animate-fade-in {
|
| 29 |
+
animation: fadeIn 0.5s ease-out;
|
| 30 |
+
}
|
| 31 |
+
@keyframes fadeIn {
|
| 32 |
+
from { opacity: 0; transform: translateY(20px); }
|
| 33 |
+
to { opacity: 1; transform: translateY(0); }
|
| 34 |
+
}
|
| 35 |
+
.custom-scrollbar::-webkit-scrollbar {
|
| 36 |
+
width: 6px;
|
| 37 |
+
height: 6px;
|
| 38 |
+
}
|
| 39 |
+
.custom-scrollbar::-webkit-scrollbar-track {
|
| 40 |
+
background: #f1f1f1;
|
| 41 |
+
border-radius: 3px;
|
| 42 |
+
}
|
| 43 |
+
.custom-scrollbar::-webkit-scrollbar-thumb {
|
| 44 |
+
background: #c1c1c1;
|
| 45 |
+
border-radius: 3px;
|
| 46 |
+
}
|
| 47 |
+
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
|
| 48 |
+
background: #a1a1a1;
|
| 49 |
+
}
|
| 50 |
+
</style>
|
| 51 |
+
</head>
|
| 52 |
+
<body class="bg-gray-50 min-h-screen">
|
| 53 |
+
<!-- Header -->
|
| 54 |
+
<header class="gradient-bg text-white shadow-lg sticky top-0 z-50">
|
| 55 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
|
| 56 |
+
<div class="flex items-center justify-between">
|
| 57 |
+
<div class="flex items-center gap-3">
|
| 58 |
+
<div class="p-2 bg-white/20 rounded-xl">
|
| 59 |
+
<i data-lucide="users" class="w-6 h-6"></i>
|
| 60 |
+
</div>
|
| 61 |
+
<div>
|
| 62 |
+
<h1 class="text-xl font-bold">Employee Directory</h1>
|
| 63 |
+
<p class="text-sm text-white/80" id="total-count">Loading...</p>
|
| 64 |
+
</div>
|
| 65 |
+
</div>
|
| 66 |
+
<div class="flex items-center gap-3">
|
| 67 |
+
<button onclick="toggleView()" class="p-2 bg-white/20 hover:bg-white/30 rounded-xl transition-colors" title="Toggle View">
|
| 68 |
+
<i data-lucide="layout-grid" class="w-5 h-5" id="view-icon"></i>
|
| 69 |
+
</button>
|
| 70 |
+
<button onclick="exportData()" class="hidden sm:flex items-center gap-2 px-4 py-2 bg-white/20 hover:bg-white/30 rounded-xl transition-colors">
|
| 71 |
+
<i data-lucide="download" class="w-4 h-4"></i>
|
| 72 |
+
<span class="text-sm font-medium">Export</span>
|
| 73 |
+
</button>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</div>
|
| 77 |
+
</header>
|
| 78 |
+
|
| 79 |
+
<!-- Main Content -->
|
| 80 |
+
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
|
| 81 |
+
<!-- Stats Cards -->
|
| 82 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-6">
|
| 83 |
+
<div class="bg-white rounded-2xl p-4 shadow-sm border border-gray-100">
|
| 84 |
+
<div class="flex items-center gap-3">
|
| 85 |
+
<div class="p-3 bg-blue-100 rounded-xl">
|
| 86 |
+
<i data-lucide="users" class="w-5 h-5 text-blue-600"></i>
|
| 87 |
+
</div>
|
| 88 |
+
<div>
|
| 89 |
+
<p class="text-sm text-gray-500">Total</p>
|
| 90 |
+
<p class="text-2xl font-bold text-gray-800" id="stat-total">0</p>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
+
</div>
|
| 94 |
+
<div class="bg-white rounded-2xl p-4 shadow-sm border border-gray-100">
|
| 95 |
+
<div class="flex items-center gap-3">
|
| 96 |
+
<div class="p-3 bg-green-100 rounded-xl">
|
| 97 |
+
<i data-lucide="headset" class="w-5 h-5 text-green-600"></i>
|
| 98 |
+
</div>
|
| 99 |
+
<div>
|
| 100 |
+
<p class="text-sm text-gray-500">Support</p>
|
| 101 |
+
<p class="text-2xl font-bold text-gray-800" id="stat-support">0</p>
|
| 102 |
+
</div>
|
| 103 |
+
</div>
|
| 104 |
+
</div>
|
| 105 |
+
<div class="bg-white rounded-2xl p-4 shadow-sm border border-gray-100">
|
| 106 |
+
<div class="flex items-center gap-3">
|
| 107 |
+
<div class="p-3 bg-purple-100 rounded-xl">
|
| 108 |
+
<i data-lucide="trending-up" class="w-5 h-5 text-purple-600"></i>
|
| 109 |
+
</div>
|
| 110 |
+
<div>
|
| 111 |
+
<p class="text-sm text-gray-500">Sales</p>
|
| 112 |
+
<p class="text-2xl font-bold text-gray-800" id="stat-sales">0</p>
|
| 113 |
+
</div>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
<div class="bg-white rounded-2xl p-4 shadow-sm border border-gray-100">
|
| 117 |
+
<div class="flex items-center gap-3">
|
| 118 |
+
<div class="p-3 bg-orange-100 rounded-xl">
|
| 119 |
+
<i data-lucide="shield-check" class="w-5 h-5 text-orange-600"></i>
|
| 120 |
+
</div>
|
| 121 |
+
<div>
|
| 122 |
+
<p class="text-sm text-gray-500">Trust & Safety</p>
|
| 123 |
+
<p class="text-2xl font-bold text-gray-800" id="stat-trust">0</p>
|
| 124 |
+
</div>
|
| 125 |
+
</div>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
|
| 129 |
+
<!-- Filters & Search -->
|
| 130 |
+
<div class="bg-white rounded-2xl shadow-sm border border-gray-100 p-4 mb-6">
|
| 131 |
+
<div class="flex flex-col lg:flex-row gap-4">
|
| 132 |
+
<!-- Search -->
|
| 133 |
+
<div class="flex-1 relative">
|
| 134 |
+
<i data-lucide="search" class="w-5 h-5 text-gray-400 absolute left-3 top-1/2 -translate-y-1/2"></i>
|
| 135 |
+
<input
|
| 136 |
+
type="text"
|
| 137 |
+
id="search-input"
|
| 138 |
+
placeholder="Search by name, email, phone, or employee number..."
|
| 139 |
+
class="w-full pl-10 pr-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all"
|
| 140 |
+
>
|
| 141 |
+
</div>
|
| 142 |
+
|
| 143 |
+
<!-- Department Filter -->
|
| 144 |
+
<div class="relative min-w-[180px]">
|
| 145 |
+
<i data-lucide="building-2" class="w-5 h-5 text-gray-400 absolute left-3 top-1/2 -translate-y-1/2"></i>
|
| 146 |
+
<select
|
| 147 |
+
id="dept-filter"
|
| 148 |
+
class="w-full pl-10 pr-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent appearance-none cursor-pointer"
|
| 149 |
+
>
|
| 150 |
+
<option value="">All Departments</option>
|
| 151 |
+
<option value="Support">Support</option>
|
| 152 |
+
<option value="Sales">Sales</option>
|
| 153 |
+
<option value="Trust and Safety">Trust and Safety</option>
|
| 154 |
+
</select>
|
| 155 |
+
<i data-lucide="chevron-down" class="w-4 h-4 text-gray-400 absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none"></i>
|
| 156 |
+
</div>
|
| 157 |
+
|
| 158 |
+
<!-- Team Leader Filter -->
|
| 159 |
+
<div class="relative min-w-[180px]">
|
| 160 |
+
<i data-lucide="user-cog" class="w-5 h-5 text-gray-400 absolute left-3 top-1/2 -translate-y-1/2"></i>
|
| 161 |
+
<select
|
| 162 |
+
id="leader-filter"
|
| 163 |
+
class="w-full pl-10 pr-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent appearance-none cursor-pointer"
|
| 164 |
+
>
|
| 165 |
+
<option value="">All Team Leaders</option>
|
| 166 |
+
</select>
|
| 167 |
+
<i data-lucide="chevron-down" class="w-4 h-4 text-gray-400 absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none"></i>
|
| 168 |
+
</div>
|
| 169 |
+
|
| 170 |
+
<!-- Sort -->
|
| 171 |
+
<div class="relative min-w-[160px]">
|
| 172 |
+
<i data-lucide="arrow-up-down" class="w-5 h-5 text-gray-400 absolute left-3 top-1/2 -translate-y-1/2"></i>
|
| 173 |
+
<select
|
| 174 |
+
id="sort-select"
|
| 175 |
+
class="w-full pl-10 pr-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent appearance-none cursor-pointer"
|
| 176 |
+
>
|
| 177 |
+
<option value="name-asc">Name (A-Z)</option>
|
| 178 |
+
<option value="name-desc">Name (Z-A)</option>
|
| 179 |
+
<option value="dept">Department</option>
|
| 180 |
+
<option value="shift">Shift Time</option>
|
| 181 |
+
</select>
|
| 182 |
+
<i data-lucide="chevron-down" class="w-4 h-4 text-gray-400 absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none"></i>
|
| 183 |
+
</div>
|
| 184 |
+
</div>
|
| 185 |
+
|
| 186 |
+
<!-- Active Filters -->
|
| 187 |
+
<div id="active-filters" class="flex flex-wrap gap-2 mt-4 hidden">
|
| 188 |
+
<!-- Dynamic filter tags -->
|
| 189 |
+
</div>
|
| 190 |
+
</div>
|
| 191 |
+
|
| 192 |
+
<!-- Results Info -->
|
| 193 |
+
<div class="flex items-center justify-between mb-4">
|
| 194 |
+
<p class="text-gray-600" id="results-info">Showing all employees</p>
|
| 195 |
+
<button onclick="clearFilters()" class="text-sm text-blue-600 hover:text-blue-700 font-medium hidden" id="clear-btn">
|
| 196 |
+
Clear all filters
|
| 197 |
+
</button>
|
| 198 |
+
</div>
|
| 199 |
+
|
| 200 |
+
<!-- Employee Grid -->
|
| 201 |
+
<div id="employee-grid" class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4">
|
| 202 |
+
<!-- Cards will be inserted here -->
|
| 203 |
+
</div>
|
| 204 |
+
|
| 205 |
+
<!-- Employee Table (Hidden by default) -->
|
| 206 |
+
<div id="employee-table" class="hidden bg-white rounded-2xl shadow-sm border border-gray-100 overflow-hidden">
|
| 207 |
+
<div class="overflow-x-auto custom-scrollbar">
|
| 208 |
+
<table class="w-full">
|
| 209 |
+
<thead class="bg-gray-50 border-b border-gray-100">
|
| 210 |
+
<tr>
|
| 211 |
+
<th class="text-left py-4 px-4 text-sm font-semibold text-gray-600">Employee</th>
|
| 212 |
+
<th class="text-left py-4 px-4 text-sm font-semibold text-gray-600">Department</th>
|
| 213 |
+
<th class="text-left py-4 px-4 text-sm font-semibold text-gray-600">Team Leader</th>
|
| 214 |
+
<th class="text-left py-4 px-4 text-sm font-semibold text-gray-600">Shift</th>
|
| 215 |
+
<th class="text-left py-4 px-4 text-sm font-semibold text-gray-600">Days Off</th>
|
| 216 |
+
<th class="text-left py-4 px-4 text-sm font-semibold text-gray-600">Contact</th>
|
| 217 |
+
</tr>
|
| 218 |
+
</thead>
|
| 219 |
+
<tbody id="table-body" class="divide-y divide-gray-100">
|
| 220 |
+
<!-- Table rows will be inserted here -->
|
| 221 |
+
</tbody>
|
| 222 |
+
</table>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
|
| 226 |
+
<!-- Empty State -->
|
| 227 |
+
<div id="empty-state" class="hidden text-center py-16">
|
| 228 |
+
<div class="inline-flex items-center justify-center w-20 h-20 bg-gray-100 rounded-full mb-4">
|
| 229 |
+
<i data-lucide="search-x" class="w-10 h-10 text-gray-400"></i>
|
| 230 |
+
</div>
|
| 231 |
+
<h3 class="text-lg font-semibold text-gray-800 mb-2">No employees found</h3>
|
| 232 |
+
<p class="text-gray-500">Try adjusting your search or filters</p>
|
| 233 |
+
</div>
|
| 234 |
+
|
| 235 |
+
<!-- Pagination -->
|
| 236 |
+
<div class="flex items-center justify-between mt-6" id="pagination">
|
| 237 |
+
<p class="text-sm text-gray-500" id="pagination-info">Page 1 of 1</p>
|
| 238 |
+
<div class="flex gap-2">
|
| 239 |
+
<button onclick="changePage(-1)" id="prev-btn" class="px-4 py-2 bg-white border border-gray-200 rounded-xl text-sm font-medium text-gray-600 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed transition-colors">
|
| 240 |
+
Previous
|
| 241 |
+
</button>
|
| 242 |
+
<button onclick="changePage(1)" id="next-btn" class="px-4 py-2 bg-white border border-gray-200 rounded-xl text-sm font-medium text-gray-600 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed transition-colors">
|
| 243 |
+
Next
|
| 244 |
+
</button>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
</main>
|
| 248 |
+
|
| 249 |
+
<!-- Employee Detail Modal -->
|
| 250 |
+
<div id="detail-modal" class="fixed inset-0 bg-black/50 backdrop-blur-sm z-50 hidden items-center justify-center p-4">
|
| 251 |
+
<div class="bg-white rounded-2xl max-w-md w-full max-h-[90vh] overflow-y-auto animate-fade-in">
|
| 252 |
+
<div class="p-6">
|
| 253 |
+
<div class="flex items-start justify-between mb-6">
|
| 254 |
+
<div class="flex items-center gap-4">
|
| 255 |
+
<div class="w-16 h-16 rounded-2xl gradient-bg flex items-center justify-center text-white text-2xl font-bold" id="modal-avatar">
|
| 256 |
+
<!-- Initials -->
|
| 257 |
+
</div>
|
| 258 |
+
<div>
|
| 259 |
+
<h2 class="text-xl font-bold text-gray-800" id="modal-name">Name</h2>
|
| 260 |
+
<p class="text-sm text-gray-500" id="modal-id">ID</p>
|
| 261 |
+
</div>
|
| 262 |
+
</div>
|
| 263 |
+
<button onclick="closeModal()" class="p-2 hover:bg-gray-100 rounded-xl transition-colors">
|
| 264 |
+
<i data-lucide="x" class="w-5 h-5 text-gray-500"></i>
|
| 265 |
+
</button>
|
| 266 |
+
</div>
|
| 267 |
+
|
| 268 |
+
<div class="space-y-4">
|
| 269 |
+
<div class="flex items-center gap-3 p-3 bg-gray-50 rounded-xl">
|
| 270 |
+
<i data-lucide="building-2" class="w-5 h-5 text-gray-400"></i>
|
| 271 |
+
<div>
|
| 272 |
+
<p class="text-sm text-gray-500">Department</p>
|
| 273 |
+
<p class="font-medium text-gray-800" id="modal-dept">-</p>
|
| 274 |
+
</div>
|
| 275 |
+
</div>
|
| 276 |
+
|
| 277 |
+
<div class="flex items-center gap-3 p-3 bg-gray-50 rounded-xl">
|
| 278 |
+
<i data-lucide="user-cog" class="w-5 h-5 text-gray-400"></i>
|
| 279 |
+
<div>
|
| 280 |
+
<p class="text-sm text-gray-500">Team Leader</p>
|
| 281 |
+
<p class="font-medium text-gray-800" id="modal-leader">-</p>
|
| 282 |
+
</div>
|
| 283 |
+
</div>
|
| 284 |
+
|
| 285 |
+
<div class="flex items-center gap-3 p-3 bg-gray-50 rounded-xl">
|
| 286 |
+
<i data-lucide="clock" class="w-5 h-5 text-gray-400"></i>
|
| 287 |
+
<div>
|
| 288 |
+
<p class="text-sm text-gray-500">Shift Time</p>
|
| 289 |
+
<p class="font-medium text-gray-800" id="modal-shift">-</p>
|
| 290 |
+
</div>
|
| 291 |
+
</div>
|
| 292 |
+
|
| 293 |
+
<div class="flex items-center gap-3 p-3 bg-gray-50 rounded-xl">
|
| 294 |
+
<i data-lucide="calendar" class="w-5 h-5 text-gray-400"></i>
|
| 295 |
+
<div>
|
| 296 |
+
<p class="text-sm text-gray-500">Days Off</p>
|
| 297 |
+
<p class="font-medium text-gray-800" id="modal-days">-</p>
|
| 298 |
+
</div>
|
| 299 |
+
</div>
|
| 300 |
+
|
| 301 |
+
<div class="flex items-center gap-3 p-3 bg-gray-50 rounded-xl">
|
| 302 |
+
<i data-lucide="mail" class="w-5 h-5 text-gray-400"></i>
|
| 303 |
+
<div>
|
| 304 |
+
<p class="text-sm text-gray-500">Email</p>
|
| 305 |
+
<a href="#" class="font-medium text-blue-600 hover:underline" id="modal-email">-</a>
|
| 306 |
+
</div>
|
| 307 |
+
</div>
|
| 308 |
+
|
| 309 |
+
<div class="flex items-center gap-3 p-3 bg-gray-50 rounded-xl">
|
| 310 |
+
<i data-lucide="phone" class="w-5 h-5 text-gray-400"></i>
|
| 311 |
+
<div>
|
| 312 |
+
<p class="text-sm text-gray-500">Phone</p>
|
| 313 |
+
<a href="#" class="font-medium text-blue-600 hover:underline" id="modal-phone">-</a>
|
| 314 |
+
</div>
|
| 315 |
+
</div>
|
| 316 |
+
</div>
|
| 317 |
+
|
| 318 |
+
<div class="mt-6 flex gap-3">
|
| 319 |
+
<a href="#" id="modal-email-btn" class="flex-1 flex items-center justify-center gap-2 px-4 py-3 bg-blue-600 hover:bg-blue-700 text-white rounded-xl font-medium transition-colors">
|
| 320 |
+
<i data-lucide="mail" class="w-4 h-4"></i>
|
| 321 |
+
Send Email
|
| 322 |
+
</a>
|
| 323 |
+
<a href="#" id="modal-call-btn" class="flex-1 flex items-center justify-center gap-2 px-4 py-3 bg-green-600 hover:bg-green-700 text-white rounded-xl font-medium transition-colors">
|
| 324 |
+
<i data-lucide="phone" class="w-4 h-4"></i>
|
| 325 |
+
Call
|
| 326 |
+
</a>
|
| 327 |
+
</div>
|
| 328 |
+
</div>
|
| 329 |
+
</div>
|
| 330 |
+
</div>
|
| 331 |
+
|
| 332 |
+
<script>
|
| 333 |
+
// Employee Data - embedded directly in HTML
|
| 334 |
+
let employees = [
|
| 335 |
+
{
|
| 336 |
+
"fullName": "Luna Davis",
|
| 337 |
+
"employeeNumber": "E100001",
|
| 338 |
+
"email": "luna.davis.e100001@company.example",
|
| 339 |
+
"phoneNumber": "+1-555-125-5506",
|
| 340 |
+
"department": "Support",
|
| 341 |
+
"teamLeader": "Avery Patel",
|
| 342 |
+
"shiftStartTime": "9:00",
|
| 343 |
+
"daysOff": "Thu & Fri"
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"fullName": "Mia Nelson",
|
| 347 |
+
"employeeNumber": "E100002",
|
| 348 |
+
"email": "mia.nelson.e100002@company.example",
|
| 349 |
+
"phoneNumber": "+1-555-858-9935",
|
| 350 |
+
"department": "Support",
|
| 351 |
+
"teamLeader": "Cameron Davis",
|
| 352 |
+
"shiftStartTime": "14:00",
|
| 353 |
+
"daysOff": "Sat & Sun"
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"fullName": "Noah Garcia",
|
| 357 |
+
"employeeNumber": "E100003",
|
| 358 |
+
"email": "noah.garcia.e100003@company.example",
|
| 359 |
+
"phoneNumber": "+1-555-323-4811",
|
| 360 |
+
"department": "Sales",
|
| 361 |
+
"teamLeader": "Cameron Davis",
|
| 362 |
+
"shiftStartTime": "7:00",
|
| 363 |
+
"daysOff": "Wed & Thu"
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"fullName": "Isabella Mitchell",
|
| 367 |
+
"employeeNumber": "E100004",
|
| 368 |
+
"email": "isabella.mitchell.e100004@company.example",
|
| 369 |
+
"phoneNumber": "+1-555-765-9928",
|
| 370 |
+
"department": "Trust and Safety",
|
| 371 |
+
"teamLeader": "Avery Patel",
|
| 372 |
+
"shiftStartTime": "16:00",
|
| 373 |
+
"daysOff": "Wed & Thu"
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"fullName": "Harper Smith",
|
| 377 |
+
"employeeNumber": "E100005",
|
| 378 |
+
"email": "harper.smith.e100005@company.example",
|
| 379 |
+
"phoneNumber": "+1-555-877-3615",
|
| 380 |
+
"department": "Sales",
|
| 381 |
+
"teamLeader": "Jamie Rivera",
|
| 382 |
+
"shiftStartTime": "12:00",
|
| 383 |
+
"daysOff": "Mon & Tue"
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"fullName": "Ethan Wilson",
|
| 387 |
+
"employeeNumber": "E100006",
|
| 388 |
+
"email": "ethan.wilson.e100006@company.example",
|
| 389 |
+
"phoneNumber": "+1-555-881-6514",
|
| 390 |
+
"department": "Support",
|
| 391 |
+
"teamLeader": "Morgan Reed",
|
| 392 |
+
"shiftStartTime": "14:00",
|
| 393 |
+
"daysOff": "Sat & Sun"
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"fullName": "Chloe Thompson",
|
| 397 |
+
"employeeNumber": "E100007",
|
| 398 |
+
"email": "chloe.thompson.e100007@company.example",
|
| 399 |
+
"phoneNumber": "+1-555-718-5333",
|
| 400 |
+
"department": "Support",
|
| 401 |
+
"teamLeader": "Parker Singh",
|
| 402 |
+
"shiftStartTime": "8:00",
|
| 403 |
+
"daysOff": "Tue & Wed"
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"fullName": "Sophia Scott",
|
| 407 |
+
"employeeNumber": "E100008",
|
| 408 |
+
"email": "sophia.scott.e100008@company.example",
|
| 409 |
+
"phoneNumber": "+1-555-400-6925",
|
| 410 |
+
"department": "Sales",
|
| 411 |
+
"teamLeader": "Avery Patel",
|
| 412 |
+
"shiftStartTime": "8:00",
|
| 413 |
+
"daysOff": "Sat & Sun"
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"fullName": "Ivy Anderson",
|
| 417 |
+
"employeeNumber": "E100009",
|
| 418 |
+
"email": "ivy.anderson.e100009@company.example",
|
| 419 |
+
"phoneNumber": "+1-555-891-5741",
|
| 420 |
+
"department": "Support",
|
| 421 |
+
"teamLeader": "Avery Patel",
|
| 422 |
+
"shiftStartTime": "8:00",
|
| 423 |
+
"daysOff": "Tue & Wed"
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"fullName": "Harper Robinson",
|
| 427 |
+
"employeeNumber": "E100010",
|
| 428 |
+
"email": "harper.robinson.e100010@company.example",
|
| 429 |
+
"phoneNumber": "+1-555-750-6977",
|
| 430 |
+
"department": "Support",
|
| 431 |
+
"teamLeader": "Casey Thompson",
|
| 432 |
+
"shiftStartTime": "12:00",
|
| 433 |
+
"daysOff": "Sun & Mon"
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"fullName": "Ivy Moore",
|
| 437 |
+
"employeeNumber": "E100011",
|
| 438 |
+
"email": "ivy.moore.e100011@company.example",
|
| 439 |
+
"phoneNumber": "+1-555-818-2169",
|
| 440 |
+
"department": "Sales",
|
| 441 |
+
"teamLeader": "Taylor Chen",
|
| 442 |
+
"shiftStartTime": "10:00",
|
| 443 |
+
"daysOff": "Sun & Mon"
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"fullName": "Mateo Harris",
|
| 447 |
+
"employeeNumber": "E100012",
|
| 448 |
+
"email": "mateo.harris.e100012@company.example",
|
| 449 |
+
"phoneNumber": "+1-555-376-4598",
|
| 450 |
+
"department": "Sales",
|
| 451 |
+
"teamLeader": "Casey Thompson",
|
| 452 |
+
"shiftStartTime": "7:00",
|
| 453 |
+
"daysOff": "Sun & Mon"
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"fullName": "Liam Lee",
|
| 457 |
+
"employeeNumber": "E100013",
|
| 458 |
+
"email": "liam.lee.e100013@company.example",
|
| 459 |
+
"phoneNumber": "+1-555-510-5386",
|
| 460 |
+
"department": "Support",
|
| 461 |
+
"teamLeader": "Avery Patel",
|
| 462 |
+
"shiftStartTime": "12:00",
|
| 463 |
+
"daysOff": "Sun & Mon"
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"fullName": "Zara Young",
|
| 467 |
+
"employeeNumber": "E100014",
|
| 468 |
+
"email": "zara.young.e100014@company.example",
|
| 469 |
+
"phoneNumber": "+1-555-505-8517",
|
| 470 |
+
"department": "Support",
|
| 471 |
+
"teamLeader": "Riley Nguyen",
|
| 472 |
+
"shiftStartTime": "9:00",
|
| 473 |
+
"daysOff": "Sun & Mon"
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"fullName": "Samuel Wright",
|
| 477 |
+
"employeeNumber": "E100015",
|
| 478 |
+
"email": "samuel.wright.e100015@company.example",
|
| 479 |
+
"phoneNumber": "+1-555-369-8019",
|
| 480 |
+
"department": "Sales",
|
| 481 |
+
"teamLeader": "Jamie Rivera",
|
| 482 |
+
"shiftStartTime": "12:00",
|
| 483 |
+
"daysOff": "Sun & Mon"
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"fullName": "Lucas Allen",
|
| 487 |
+
"employeeNumber": "E100016",
|
| 488 |
+
"email": "lucas.allen.e100016@company.example",
|
| 489 |
+
"phoneNumber": "+1-555-605-2489",
|
| 490 |
+
"department": "Support",
|
| 491 |
+
"teamLeader": "Morgan Reed",
|
| 492 |
+
"shiftStartTime": "9:00",
|
| 493 |
+
"daysOff": "Thu & Fri"
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"fullName": "Mason Nelson",
|
| 497 |
+
"employeeNumber": "E100017",
|
| 498 |
+
"email": "mason.nelson.e100017@company.example",
|
| 499 |
+
"phoneNumber": "+1-555-532-2040",
|
| 500 |
+
"department": "Trust and Safety",
|
| 501 |
+
"teamLeader": "Jamie Rivera",
|
| 502 |
+
"shiftStartTime": "16:00",
|
| 503 |
+
"daysOff": "Wed & Thu"
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"fullName": "Benjamin Scott",
|
| 507 |
+
"employeeNumber": "E100018",
|
| 508 |
+
"email": "benjamin.scott.e100018@company.example",
|
| 509 |
+
"phoneNumber": "+1-555-981-1188",
|
| 510 |
+
"department": "Sales",
|
| 511 |
+
"teamLeader": "Morgan Reed",
|
| 512 |
+
"shiftStartTime": "11:00",
|
| 513 |
+
"daysOff": "Fri & Sat"
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"fullName": "Zara Perez",
|
| 517 |
+
"employeeNumber": "E100019",
|
| 518 |
+
"email": "zara.perez.e100019@company.example",
|
| 519 |
+
"phoneNumber": "+1-555-214-5808",
|
| 520 |
+
"department": "Trust and Safety",
|
| 521 |
+
"teamLeader": "Taylor Chen",
|
| 522 |
+
"shiftStartTime": "16:00",
|
| 523 |
+
"daysOff": "Sat & Sun"
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"fullName": "Benjamin Allen",
|
| 527 |
+
"employeeNumber": "E100020",
|
| 528 |
+
"email": "benjamin.allen.e100020@company.example",
|
| 529 |
+
"phoneNumber": "+1-555-880-3927",
|
| 530 |
+
"department": "Sales",
|
| 531 |
+
"teamLeader": "Morgan Reed",
|
| 532 |
+
"shiftStartTime": "11:00",
|
| 533 |
+
"daysOff": "Fri & Sat"
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"fullName": "Luna Allen",
|
| 537 |
+
"employeeNumber": "E100021",
|
| 538 |
+
"email": "luna.allen.e100021@company.example",
|
| 539 |
+
"phoneNumber": "+1-555-723-4258",
|
| 540 |
+
"department": "Support",
|
| 541 |
+
"teamLeader": "Casey Thompson",
|
| 542 |
+
"shiftStartTime": "9:00",
|
| 543 |
+
"daysOff": "Wed & Thu"
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"fullName": "Hannah Smith",
|
| 547 |
+
"employeeNumber": "E100022",
|
| 548 |
+
"email": "hannah.smith.e100022@company.example",
|
| 549 |
+
"phoneNumber": "+1-555-713-6310",
|
| 550 |
+
"department": "Trust and Safety",
|
| 551 |
+
"teamLeader": "Jordan Blake",
|
| 552 |
+
"shiftStartTime": "8:00",
|
| 553 |
+
"daysOff": "Mon & Tue"
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"fullName": "Henry Thomas",
|
| 557 |
+
"employeeNumber": "E100023",
|
| 558 |
+
"email": "henry.thomas.e100023@company.example",
|
| 559 |
+
"phoneNumber": "+1-555-159-4946",
|
| 560 |
+
"department": "Sales",
|
| 561 |
+
"teamLeader": "Morgan Reed",
|
| 562 |
+
"shiftStartTime": "8:00",
|
| 563 |
+
"daysOff": "Thu & Fri"
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"fullName": "Riley Jones",
|
| 567 |
+
"employeeNumber": "E100024",
|
| 568 |
+
"email": "riley.jones.e100024@company.example",
|
| 569 |
+
"phoneNumber": "+1-555-878-9727",
|
| 570 |
+
"department": "Support",
|
| 571 |
+
"teamLeader": "Taylor Chen",
|
| 572 |
+
"shiftStartTime": "16:00",
|
| 573 |
+
"daysOff": "Wed & Thu"
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"fullName": "Mason Taylor",
|
| 577 |
+
"employeeNumber": "E100025",
|
| 578 |
+
"email": "mason.taylor.e100025@company.example",
|
| 579 |
+
"phoneNumber": "+1-555-640-7932",
|
| 580 |
+
"department": "Support",
|
| 581 |
+
"teamLeader": "Quinn Walker",
|
| 582 |
+
"shiftStartTime": "10:00",
|
| 583 |
+
"daysOff": "Thu & Fri"
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"fullName": "Henry Sanchez",
|
| 587 |
+
"employeeNumber": "E100026",
|
| 588 |
+
"email": "henry.sanchez.e100026@company.example",
|
| 589 |
+
"phoneNumber": "+1-555-787-7118",
|
| 590 |
+
"department": "Trust and Safety",
|
| 591 |
+
"teamLeader": "Quinn Walker",
|
| 592 |
+
"shiftStartTime": "16:00",
|
| 593 |
+
"daysOff": "Sat & Sun"
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"fullName": "James Anderson",
|
| 597 |
+
"employeeNumber": "E100027",
|
| 598 |
+
"email": "james.anderson.e100027@company.example",
|
| 599 |
+
"phoneNumber": "+1-555-165-6539",
|
| 600 |
+
"department": "Support",
|
| 601 |
+
"teamLeader": "Cameron Davis",
|
| 602 |
+
"shiftStartTime": "10:00",
|
| 603 |
+
"daysOff": "Wed & Thu"
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"fullName": "Elijah Smith",
|
| 607 |
+
"employeeNumber": "E100028",
|
| 608 |
+
"email": "elijah.smith.e100028@company.example",
|
| 609 |
+
"phoneNumber": "+1-555-172-1964",
|
| 610 |
+
"department": "Support",
|
| 611 |
+
"teamLeader": "Morgan Reed",
|
| 612 |
+
"shiftStartTime": "7:00",
|
| 613 |
+
"daysOff": "Fri & Sat"
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"fullName": "Daniel Jones",
|
| 617 |
+
"employeeNumber": "E100029",
|
| 618 |
+
"email": "daniel.jones.e100029@company.example",
|
| 619 |
+
"phoneNumber": "+1-555-626-4899",
|
| 620 |
+
"department": "Trust and Safety",
|
| 621 |
+
"teamLeader": "Parker Singh",
|
| 622 |
+
"shiftStartTime": "10:00",
|
| 623 |
+
"daysOff": "Wed & Thu"
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"fullName": "Lucas Patel",
|
| 627 |
+
"employeeNumber": "E100030",
|
| 628 |
+
"email": "lucas.patel.e100030@company.example",
|
| 629 |
+
"phoneNumber": "+1-555-684-8744",
|
| 630 |
+
"department": "Support",
|
| 631 |
+
"teamLeader": "Parker Singh",
|
| 632 |
+
"shiftStartTime": "14:00",
|
| 633 |
+
"daysOff": "Sun & Mon"
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"fullName": "Mia Miller",
|
| 637 |
+
"employeeNumber": "E100031",
|
| 638 |
+
"email": "mia.miller.e100031@company.example",
|
| 639 |
+
"phoneNumber": "+1-555-774-8062",
|
| 640 |
+
"department": "Trust and Safety",
|
| 641 |
+
"teamLeader": "Jamie Rivera",
|
| 642 |
+
"shiftStartTime": "14:00",
|
| 643 |
+
"daysOff": "Tue & Wed"
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"fullName": "Emma Nelson",
|
| 647 |
+
"employeeNumber": "E100032",
|
| 648 |
+
"email": "emma.nelson.e100032@company.example",
|
| 649 |
+
"phoneNumber": "+1-555-769-2612",
|
| 650 |
+
"department": "Support",
|
| 651 |
+
"teamLeader": "Jamie Rivera",
|
| 652 |
+
"shiftStartTime": "12:00",
|
| 653 |
+
"daysOff": "Fri & Sat"
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"fullName": "Mia Thomas",
|
| 657 |
+
"employeeNumber": "E100033",
|
| 658 |
+
"email": "mia.thomas.e100033@company.example",
|
| 659 |
+
"phoneNumber": "+1-555-296-4116",
|
| 660 |
+
"department": "Sales",
|
| 661 |
+
"teamLeader": "Parker Singh",
|
| 662 |
+
"shiftStartTime": "9:00",
|
| 663 |
+
"daysOff": "Tue & Wed"
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"fullName": "Logan Moore",
|
| 667 |
+
"employeeNumber": "E100034",
|
| 668 |
+
"email": "logan.moore.e100034@company.example",
|
| 669 |
+
"phoneNumber": "+1-555-573-5092",
|
| 670 |
+
"department": "Support",
|
| 671 |
+
"teamLeader": "Parker Singh",
|
| 672 |
+
"shiftStartTime": "8:00",
|
| 673 |
+
"daysOff": "Sat & Sun"
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"fullName": "Zara Wright",
|
| 677 |
+
"employeeNumber": "E100035",
|
| 678 |
+
"email": "zara.wright.e100035@company.example",
|
| 679 |
+
"phoneNumber": "+1-555-956-1241",
|
| 680 |
+
"department": "Support",
|
| 681 |
+
"teamLeader": "Avery Patel",
|
| 682 |
+
"shiftStartTime": "9:00",
|
| 683 |
+
"daysOff": "Tue & Wed"
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"fullName": "Riley Walker",
|
| 687 |
+
"employeeNumber": "E100036",
|
| 688 |
+
"email": "riley.walker.e100036@company.example",
|
| 689 |
+
"phoneNumber": "+1-555-318-7570",
|
| 690 |
+
"department": "Support",
|
| 691 |
+
"teamLeader": "Taylor Chen",
|
| 692 |
+
"shiftStartTime": "14:00",
|
| 693 |
+
"daysOff": "Sat & Sun"
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"fullName": "Aria Taylor",
|
| 697 |
+
"employeeNumber": "E100037",
|
| 698 |
+
"email": "aria.taylor.e100037@company.example",
|
| 699 |
+
"phoneNumber": "+1-555-902-8454",
|
| 700 |
+
"department": "Trust and Safety",
|
| 701 |
+
"teamLeader": "Jamie Rivera",
|
| 702 |
+
"shiftStartTime": "16:00",
|
| 703 |
+
"daysOff": "Sun & Mon"
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"fullName": "Isabella Jackson",
|
| 707 |
+
"employeeNumber": "E100038",
|
| 708 |
+
"email": "isabella.jackson.e100038@company.example",
|
| 709 |
+
"phoneNumber": "+1-555-322-1958",
|
| 710 |
+
"department": "Sales",
|
| 711 |
+
"teamLeader": "Quinn Walker",
|
| 712 |
+
"shiftStartTime": "7:00",
|
| 713 |
+
"daysOff": "Thu & Fri"
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"fullName": "Alexander Brown",
|
| 717 |
+
"employeeNumber": "E100039",
|
| 718 |
+
"email": "alexander.brown.e100039@company.example",
|
| 719 |
+
"phoneNumber": "+1-555-151-8811",
|
| 720 |
+
"department": "Sales",
|
| 721 |
+
"teamLeader": "Quinn Walker",
|
| 722 |
+
"shiftStartTime": "9:00",
|
| 723 |
+
"daysOff": "Sat & Sun"
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"fullName": "Grace Garcia",
|
| 727 |
+
"employeeNumber": "E100040",
|
| 728 |
+
"email": "grace.garcia.e100040@company.example",
|
| 729 |
+
"phoneNumber": "+1-555-971-4044",
|
| 730 |
+
"department": "Support",
|
| 731 |
+
"teamLeader": "Cameron Davis",
|
| 732 |
+
"shiftStartTime": "8:00",
|
| 733 |
+
"daysOff": "Thu & Fri"
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"fullName": "James Sanchez",
|
| 737 |
+
"employeeNumber": "E100041",
|
| 738 |
+
"email": "james.sanchez.e100041@company.example",
|
| 739 |
+
"phoneNumber": "+1-555-222-5033",
|
| 740 |
+
"department": "Sales",
|
| 741 |
+
"teamLeader": "Cameron Davis",
|
| 742 |
+
"shiftStartTime": "7:00",
|
| 743 |
+
"daysOff": "Wed & Thu"
|
| 744 |
+
},
|
| 745 |
+
{
|
| 746 |
+
"fullName": "Sophia Clark",
|
| 747 |
+
"employeeNumber": "E100042",
|
| 748 |
+
"email": "sophia.clark.e100042@company.example",
|
| 749 |
+
"phoneNumber": "+1-555-773-9565",
|
| 750 |
+
"department": "Trust and Safety",
|
| 751 |
+
"teamLeader": "Riley Nguyen",
|
| 752 |
+
"shiftStartTime": "10:00",
|
| 753 |
+
"daysOff": "Thu & Fri"
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"fullName": "Leah Lee",
|
| 757 |
+
"employeeNumber": "E100043",
|
| 758 |
+
"email": "leah.lee.e100043@company.example",
|
| 759 |
+
"phoneNumber": "+1-555-344-5351",
|
| 760 |
+
"department": "Trust and Safety",
|
| 761 |
+
"teamLeader": "Taylor Chen",
|
| 762 |
+
"shiftStartTime": "11:00",
|
| 763 |
+
"daysOff": "Tue & Wed"
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"fullName": "Alexander Khan",
|
| 767 |
+
"employeeNumber": "E100044",
|
| 768 |
+
"email": "alexander.khan.e100044@company.example",
|
| 769 |
+
"phoneNumber": "+1-555-174-1152",
|
| 770 |
+
"department": "Trust and Safety",
|
| 771 |
+
"teamLeader": "Cameron Davis",
|
| 772 |
+
"shiftStartTime": "8:00",
|
| 773 |
+
"daysOff": "Sat & Sun"
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"fullName": "Aiden Wilson",
|
| 777 |
+
"employeeNumber": "E100045",
|
| 778 |
+
"email": "aiden.wilson.e100045@company.example",
|
| 779 |
+
"phoneNumber": "+1-555-618-5345",
|
| 780 |
+
"department": "Support",
|
| 781 |
+
"teamLeader": "Casey Thompson",
|
| 782 |
+
"shiftStartTime": "8:00",
|
| 783 |
+
"daysOff": "Sun & Mon"
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"fullName": "Zoey Jackson",
|
| 787 |
+
"employeeNumber": "E100046",
|
| 788 |
+
"email": "zoey.jackson.e100046@company.example",
|
| 789 |
+
"phoneNumber": "+1-555-261-8179",
|
| 790 |
+
"department": "Sales",
|
| 791 |
+
"teamLeader": "Riley Nguyen",
|
| 792 |
+
"shiftStartTime": "7:00",
|
| 793 |
+
"daysOff": "Thu & Fri"
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"fullName": "Samuel Martin",
|
| 797 |
+
"employeeNumber": "E100047",
|
| 798 |
+
"email": "samuel.martin.e100047@company.example",
|
| 799 |
+
"phoneNumber": "+1-555-779-2697",
|
| 800 |
+
"department": "Support",
|
| 801 |
+
"teamLeader": "Riley Nguyen",
|
| 802 |
+
"shiftStartTime": "8:00",
|
| 803 |
+
"daysOff": "Sat & Sun"
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"fullName": "Samuel Martinez",
|
| 807 |
+
"employeeNumber": "E100048",
|
| 808 |
+
"email": "samuel.martinez.e100048@company.example",
|
| 809 |
+
"phoneNumber": "+1-555-378-5616",
|
| 810 |
+
"department": "Sales",
|
| 811 |
+
"teamLeader": "Avery Patel",
|
| 812 |
+
"shiftStartTime": "12:00",
|
| 813 |
+
"daysOff": "Sun & Mon"
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"fullName": "Sofia Green",
|
| 817 |
+
"employeeNumber": "E100049",
|
| 818 |
+
"email": "sofia.green.e100049@company.example",
|
| 819 |
+
"phoneNumber": "+1-555-973-5325",
|
| 820 |
+
"department": "Sales",
|
| 821 |
+
"teamLeader": "Parker Singh",
|
| 822 |
+
"shiftStartTime": "11:00",
|
| 823 |
+
"daysOff": "Fri & Sat"
|
| 824 |
+
}
|
| 825 |
+
];
|
| 826 |
+
let filteredEmployees = [...employees];
|
| 827 |
+
let currentPage = 1;
|
| 828 |
+
const itemsPerPage = 12;
|
| 829 |
+
let isGridView = true;
|
| 830 |
+
|
| 831 |
+
function initializeApp() {
|
| 832 |
+
populateTeamLeaders();
|
| 833 |
+
updateStats();
|
| 834 |
+
renderCards();
|
| 835 |
+
// Initialize icons after DOM is updated
|
| 836 |
+
if (typeof lucide !== 'undefined') {
|
| 837 |
+
lucide.createIcons();
|
| 838 |
+
}
|
| 839 |
+
}
|
| 840 |
+
|
| 841 |
+
function getInitials(name) {
|
| 842 |
+
return name.split(' ').map(n => n[0]).join('').toUpperCase();
|
| 843 |
+
}
|
| 844 |
+
|
| 845 |
+
function getDepartmentColor(dept) {
|
| 846 |
+
const colors = {
|
| 847 |
+
'Support': 'bg-green-100 text-green-700',
|
| 848 |
+
'Sales': 'bg-purple-100 text-purple-700',
|
| 849 |
+
'Trust and Safety': 'bg-orange-100 text-orange-700'
|
| 850 |
+
};
|
| 851 |
+
return colors[dept] || 'bg-gray-100 text-gray-700';
|
| 852 |
+
}
|
| 853 |
+
|
| 854 |
+
function getShiftColor(time) {
|
| 855 |
+
const hour = parseInt(time.split(':')[0]);
|
| 856 |
+
if (hour < 10) return 'bg-blue-100 text-blue-700';
|
| 857 |
+
if (hour < 14) return 'bg-yellow-100 text-yellow-700';
|
| 858 |
+
return 'bg-indigo-100 text-indigo-700';
|
| 859 |
+
}
|
| 860 |
+
|
| 861 |
+
function populateTeamLeaders() {
|
| 862 |
+
const leaders = [...new Set(employees.map(e => e.teamLeader))].sort();
|
| 863 |
+
const select = document.getElementById('leader-filter');
|
| 864 |
+
leaders.forEach(leader => {
|
| 865 |
+
const option = document.createElement('option');
|
| 866 |
+
option.value = leader;
|
| 867 |
+
option.textContent = leader;
|
| 868 |
+
select.appendChild(option);
|
| 869 |
+
});
|
| 870 |
+
}
|
| 871 |
+
|
| 872 |
+
function updateStats() {
|
| 873 |
+
document.getElementById('stat-total').textContent = employees.length;
|
| 874 |
+
document.getElementById('stat-support').textContent = employees.filter(e => e.department === 'Support').length;
|
| 875 |
+
document.getElementById('stat-sales').textContent = employees.filter(e => e.department === 'Sales').length;
|
| 876 |
+
document.getElementById('stat-trust').textContent = employees.filter(e => e.department === 'Trust and Safety').length;
|
| 877 |
+
document.getElementById('total-count').textContent = `${employees.length} employees in directory`;
|
| 878 |
+
}
|
| 879 |
+
|
| 880 |
+
function renderCards() {
|
| 881 |
+
const grid = document.getElementById('employee-grid');
|
| 882 |
+
const table = document.getElementById('employee-table');
|
| 883 |
+
const tableBody = document.getElementById('table-body');
|
| 884 |
+
const emptyState = document.getElementById('empty-state');
|
| 885 |
+
|
| 886 |
+
if (filteredEmployees.length === 0) {
|
| 887 |
+
grid.classList.add('hidden');
|
| 888 |
+
table.classList.add('hidden');
|
| 889 |
+
emptyState.classList.remove('hidden');
|
| 890 |
+
document.getElementById('pagination').classList.add('hidden');
|
| 891 |
+
return;
|
| 892 |
+
}
|
| 893 |
+
|
| 894 |
+
emptyState.classList.add('hidden');
|
| 895 |
+
document.getElementById('pagination').classList.remove('hidden');
|
| 896 |
+
|
| 897 |
+
const start = (currentPage - 1) * itemsPerPage;
|
| 898 |
+
const end = start + itemsPerPage;
|
| 899 |
+
const pageEmployees = filteredEmployees.slice(start, end);
|
| 900 |
+
|
| 901 |
+
// Update pagination info
|
| 902 |
+
const totalPages = Math.ceil(filteredEmployees.length / itemsPerPage);
|
| 903 |
+
document.getElementById('pagination-info').textContent = `Page ${currentPage} of ${totalPages}`;
|
| 904 |
+
document.getElementById('prev-btn').disabled = currentPage === 1;
|
| 905 |
+
document.getElementById('next-btn').disabled = currentPage === totalPages;
|
| 906 |
+
|
| 907 |
+
// Update results info
|
| 908 |
+
document.getElementById('results-info').textContent =
|
| 909 |
+
filteredEmployees.length === employees.length
|
| 910 |
+
? `Showing all ${employees.length} employees`
|
| 911 |
+
: `Showing ${filteredEmployees.length} of ${employees.length} employees`;
|
| 912 |
+
|
| 913 |
+
if (isGridView) {
|
| 914 |
+
grid.classList.remove('hidden');
|
| 915 |
+
table.classList.add('hidden');
|
| 916 |
+
|
| 917 |
+
grid.innerHTML = pageEmployees.map(emp => `
|
| 918 |
+
<div class="bg-white rounded-2xl p-5 shadow-sm border border-gray-100 card-hover cursor-pointer animate-fade-in" onclick="openModal('${emp.employeeNumber}')">
|
| 919 |
+
<div class="flex items-start gap-4">
|
| 920 |
+
<div class="w-14 h-14 rounded-2xl gradient-bg flex items-center justify-center text-white text-lg font-bold flex-shrink-0">
|
| 921 |
+
${getInitials(emp.fullName)}
|
| 922 |
+
</div>
|
| 923 |
+
<div class="flex-1 min-w-0">
|
| 924 |
+
<h3 class="font-semibold text-gray-800 truncate">${emp.fullName}</h3>
|
| 925 |
+
<p class="text-sm text-gray-500">${emp.employeeNumber}</p>
|
| 926 |
+
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium mt-2 ${getDepartmentColor(emp.department)}">
|
| 927 |
+
${emp.department}
|
| 928 |
+
</span>
|
| 929 |
+
</div>
|
| 930 |
+
</div>
|
| 931 |
+
|
| 932 |
+
<div class="mt-4 pt-4 border-t border-gray-100 space-y-2">
|
| 933 |
+
<div class="flex items-center gap-2 text-sm">
|
| 934 |
+
<i data-lucide="user-cog" class="w-4 h-4 text-gray-400"></i>
|
| 935 |
+
<span class="text-gray-600 truncate">${emp.teamLeader}</span>
|
| 936 |
+
</div>
|
| 937 |
+
<div class="flex items-center gap-2 text-sm">
|
| 938 |
+
<i data-lucide="clock" class="w-4 h-4 text-gray-400"></i>
|
| 939 |
+
<span class="text-gray-600">${emp.shiftStartTime}</span>
|
| 940 |
+
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium ${getShiftColor(emp.shiftStartTime)}">
|
| 941 |
+
Shift
|
| 942 |
+
</span>
|
| 943 |
+
</div>
|
| 944 |
+
<div class="flex items-center gap-2 text-sm">
|
| 945 |
+
<i data-lucide="calendar" class="w-4 h-4 text-gray-400"></i>
|
| 946 |
+
<span class="text-gray-600">${emp.daysOff}</span>
|
| 947 |
+
</div>
|
| 948 |
+
</div>
|
| 949 |
+
|
| 950 |
+
<div class="mt-4 flex gap-2">
|
| 951 |
+
<a href="mailto:${emp.email}" class="flex-1 flex items-center justify-center gap-1.5 px-3 py-2 bg-gray-50 hover:bg-gray-100 rounded-xl text-sm font-medium text-gray-700 transition-colors" onclick="event.stopPropagation()">
|
| 952 |
+
<i data-lucide="mail" class="w-4 h-4"></i>
|
| 953 |
+
Email
|
| 954 |
+
</a>
|
| 955 |
+
<a href="tel:${emp.phoneNumber}" class="flex-1 flex items-center justify-center gap-1.5 px-3 py-2 bg-gray-50 hover:bg-gray-100 rounded-xl text-sm font-medium text-gray-700 transition-colors" onclick="event.stopPropagation()">
|
| 956 |
+
<i data-lucide="phone" class="w-4 h-4"></i>
|
| 957 |
+
Call
|
| 958 |
+
</a>
|
| 959 |
+
</div>
|
| 960 |
+
</div>
|
| 961 |
+
`).join('');
|
| 962 |
+
} else {
|
| 963 |
+
grid.classList.add('hidden');
|
| 964 |
+
table.classList.remove('hidden');
|
| 965 |
+
|
| 966 |
+
tableBody.innerHTML = pageEmployees.map(emp => `
|
| 967 |
+
<tr class="hover:bg-gray-50 transition-colors cursor-pointer" onclick="openModal('${emp.employeeNumber}')">
|
| 968 |
+
<td class="py-4 px-4">
|
| 969 |
+
<div class="flex items-center gap-3">
|
| 970 |
+
<div class="w-10 h-10 rounded-xl gradient-bg flex items-center justify-center text-white text-sm font-bold">
|
| 971 |
+
${getInitials(emp.fullName)}
|
| 972 |
+
</div>
|
| 973 |
+
<div>
|
| 974 |
+
<p class="font-medium text-gray-800">${emp.fullName}</p>
|
| 975 |
+
<p class="text-sm text-gray-500">${emp.employeeNumber}</p>
|
| 976 |
+
</div>
|
| 977 |
+
</div>
|
| 978 |
+
</td>
|
| 979 |
+
<td class="py-4 px-4">
|
| 980 |
+
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ${getDepartmentColor(emp.department)}">
|
| 981 |
+
${emp.department}
|
| 982 |
+
</span>
|
| 983 |
+
</td>
|
| 984 |
+
<td class="py-4 px-4 text-sm text-gray-600">${emp.teamLeader}</td>
|
| 985 |
+
<td class="py-4 px-4">
|
| 986 |
+
<div class="flex items-center gap-2">
|
| 987 |
+
<span class="text-sm text-gray-600">${emp.shiftStartTime}</span>
|
| 988 |
+
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium ${getShiftColor(emp.shiftStartTime)}">
|
| 989 |
+
Shift
|
| 990 |
+
</span>
|
| 991 |
+
</div>
|
| 992 |
+
</td>
|
| 993 |
+
<td class="py-4 px-4 text-sm text-gray-600">${emp.daysOff}</td>
|
| 994 |
+
<td class="py-4 px-4">
|
| 995 |
+
<div class="flex items-center gap-2">
|
| 996 |
+
<a href="mailto:${emp.email}" class="p-2 hover:bg-gray-200 rounded-lg transition-colors" title="${emp.email}" onclick="event.stopPropagation()">
|
| 997 |
+
<i data-lucide="mail" class="w-4 h-4 text-gray-500"></i>
|
| 998 |
+
</a>
|
| 999 |
+
<a href="tel:${emp.phoneNumber}" class="p-2 hover:bg-gray-200 rounded-lg transition-colors" title="${emp.phoneNumber}" onclick="event.stopPropagation()">
|
| 1000 |
+
<i data-lucide="phone" class="w-4 h-4 text-gray-500"></i>
|
| 1001 |
+
</a>
|
| 1002 |
+
</div>
|
| 1003 |
+
</td>
|
| 1004 |
+
</tr>
|
| 1005 |
+
`).join('');
|
| 1006 |
+
}
|
| 1007 |
+
|
| 1008 |
+
lucide.createIcons();
|
| 1009 |
+
}
|
| 1010 |
+
|
| 1011 |
+
function filterEmployees() {
|
| 1012 |
+
const search = document.getElementById('search-input').value.toLowerCase();
|
| 1013 |
+
const dept = document.getElementById('dept-filter').value;
|
| 1014 |
+
const leader = document.getElementById('leader-filter').value;
|
| 1015 |
+
|
| 1016 |
+
filteredEmployees = employees.filter(emp => {
|
| 1017 |
+
const matchesSearch = !search ||
|
| 1018 |
+
emp.fullName.toLowerCase().includes(search) ||
|
| 1019 |
+
emp.email.toLowerCase().includes(search) ||
|
| 1020 |
+
emp.phoneNumber.toLowerCase().includes(search) ||
|
| 1021 |
+
emp.employeeNumber.toLowerCase().includes(search);
|
| 1022 |
+
|
| 1023 |
+
const matchesDept = !dept || emp.department === dept;
|
| 1024 |
+
const matchesLeader = !leader || emp.teamLeader === leader;
|
| 1025 |
+
|
| 1026 |
+
return matchesSearch && matchesDept && matchesLeader;
|
| 1027 |
+
});
|
| 1028 |
+
|
| 1029 |
+
// Apply sorting
|
| 1030 |
+
const sortValue = document.getElementById('sort-select').value;
|
| 1031 |
+
sortEmployees(sortValue);
|
| 1032 |
+
|
| 1033 |
+
currentPage = 1;
|
| 1034 |
+
renderCards();
|
| 1035 |
+
updateActiveFilters();
|
| 1036 |
+
}
|
| 1037 |
+
|
| 1038 |
+
function sortEmployees(sortValue) {
|
| 1039 |
+
switch(sortValue) {
|
| 1040 |
+
case 'name-asc':
|
| 1041 |
+
filteredEmployees.sort((a, b) => a.fullName.localeCompare(b.fullName));
|
| 1042 |
+
break;
|
| 1043 |
+
case 'name-desc':
|
| 1044 |
+
filteredEmployees.sort((a, b) => b.fullName.localeCompare(a.fullName));
|
| 1045 |
+
break;
|
| 1046 |
+
case 'dept':
|
| 1047 |
+
filteredEmployees.sort((a, b) => a.department.localeCompare(b.department) || a.fullName.localeCompare(b.fullName));
|
| 1048 |
+
break;
|
| 1049 |
+
case 'shift':
|
| 1050 |
+
filteredEmployees.sort((a, b) => parseInt(a.shiftStartTime) - parseInt(b.shiftStartTime));
|
| 1051 |
+
break;
|
| 1052 |
+
}
|
| 1053 |
+
}
|
| 1054 |
+
|
| 1055 |
+
function updateActiveFilters() {
|
| 1056 |
+
const container = document.getElementById('active-filters');
|
| 1057 |
+
const clearBtn = document.getElementById('clear-btn');
|
| 1058 |
+
const search = document.getElementById('search-input').value;
|
| 1059 |
+
const dept = document.getElementById('dept-filter').value;
|
| 1060 |
+
const leader = document.getElementById('leader-filter').value;
|
| 1061 |
+
|
| 1062 |
+
const filters = [];
|
| 1063 |
+
if (search) filters.push({ type: 'search', value: search, label: `Search: "${search}"` });
|
| 1064 |
+
if (dept) filters.push({ type: 'dept', value: dept, label: dept });
|
| 1065 |
+
if (leader) filters.push({ type: 'leader', value: leader, label: `Leader: ${leader}` });
|
| 1066 |
+
|
| 1067 |
+
if (filters.length > 0) {
|
| 1068 |
+
container.classList.remove('hidden');
|
| 1069 |
+
clearBtn.classList.remove('hidden');
|
| 1070 |
+
container.innerHTML = filters.map(f => `
|
| 1071 |
+
<span class="inline-flex items-center gap-1 px-3 py-1.5 bg-blue-50 text-blue-700 rounded-lg text-sm font-medium">
|
| 1072 |
+
${f.label}
|
| 1073 |
+
<button onclick="removeFilter('${f.type}')" class="hover:bg-blue-100 rounded p-0.5">
|
| 1074 |
+
<i data-lucide="x" class="w-3 h-3"></i>
|
| 1075 |
+
</button>
|
| 1076 |
+
</span>
|
| 1077 |
+
`).join('');
|
| 1078 |
+
lucide.createIcons();
|
| 1079 |
+
} else {
|
| 1080 |
+
container.classList.add('hidden');
|
| 1081 |
+
clearBtn.classList.add('hidden');
|
| 1082 |
+
}
|
| 1083 |
+
}
|
| 1084 |
+
|
| 1085 |
+
function removeFilter(type) {
|
| 1086 |
+
if (type === 'search') document.getElementById('search-input').value = '';
|
| 1087 |
+
if (type === 'dept') document.getElementById('dept-filter').value = '';
|
| 1088 |
+
if (type === 'leader') document.getElementById('leader-filter').value = '';
|
| 1089 |
+
filterEmployees();
|
| 1090 |
+
}
|
| 1091 |
+
|
| 1092 |
+
function clearFilters() {
|
| 1093 |
+
document.getElementById('search-input').value = '';
|
| 1094 |
+
document.getElementById('dept-filter').value = '';
|
| 1095 |
+
document.getElementById('leader-filter').value = '';
|
| 1096 |
+
document.getElementById('sort-select').value = 'name-asc';
|
| 1097 |
+
filterEmployees();
|
| 1098 |
+
}
|
| 1099 |
+
|
| 1100 |
+
function changePage(delta) {
|
| 1101 |
+
const totalPages = Math.ceil(filteredEmployees.length / itemsPerPage);
|
| 1102 |
+
const newPage = currentPage + delta;
|
| 1103 |
+
if (newPage >= 1 && newPage <= totalPages) {
|
| 1104 |
+
currentPage = newPage;
|
| 1105 |
+
renderCards();
|
| 1106 |
+
document.getElementById('employee-grid').scrollIntoView({ behavior: 'smooth', block: 'start' });
|
| 1107 |
+
}
|
| 1108 |
+
}
|
| 1109 |
+
|
| 1110 |
+
function toggleView() {
|
| 1111 |
+
isGridView = !isGridView;
|
| 1112 |
+
document.getElementById('view-icon').setAttribute('data-lucide', isGridView ? 'layout-grid' : 'list');
|
| 1113 |
+
lucide.createIcons();
|
| 1114 |
+
renderCards();
|
| 1115 |
+
}
|
| 1116 |
+
|
| 1117 |
+
function openModal(employeeNumber) {
|
| 1118 |
+
const emp = employees.find(e => e.employeeNumber === employeeNumber);
|
| 1119 |
+
if (!emp) return;
|
| 1120 |
+
|
| 1121 |
+
document.getElementById('modal-avatar').textContent = getInitials(emp.fullName);
|
| 1122 |
+
document.getElementById('modal-name').textContent = emp.fullName;
|
| 1123 |
+
document.getElementById('modal-id').textContent = emp.employeeNumber;
|
| 1124 |
+
document.getElementById('modal-dept').textContent = emp.department;
|
| 1125 |
+
document.getElementById('modal-leader').textContent = emp.teamLeader;
|
| 1126 |
+
document.getElementById('modal-shift').textContent = emp.shiftStartTime;
|
| 1127 |
+
document.getElementById('modal-days').textContent = emp.daysOff;
|
| 1128 |
+
document.getElementById('modal-email').textContent = emp.email;
|
| 1129 |
+
document.getElementById('modal-email').href = `mailto:${emp.email}`;
|
| 1130 |
+
document.getElementById('modal-phone').textContent = emp.phoneNumber;
|
| 1131 |
+
document.getElementById('modal-phone').href = `tel:${emp.phoneNumber}`;
|
| 1132 |
+
document.getElementById('modal-email-btn').href = `mailto:${emp.email}`;
|
| 1133 |
+
document.getElementById('modal-call-btn').href = `tel:${emp.phoneNumber}`;
|
| 1134 |
+
|
| 1135 |
+
document.getElementById('detail-modal').classList.remove('hidden');
|
| 1136 |
+
document.getElementById('detail-modal').classList.add('flex');
|
| 1137 |
+
lucide.createIcons();
|
| 1138 |
+
}
|
| 1139 |
+
|
| 1140 |
+
function closeModal() {
|
| 1141 |
+
document.getElementById('detail-modal').classList.add('hidden');
|
| 1142 |
+
document.getElementById('detail-modal').classList.remove('flex');
|
| 1143 |
+
}
|
| 1144 |
+
|
| 1145 |
+
function exportData() {
|
| 1146 |
+
const csv = [
|
| 1147 |
+
['Full Name', 'Employee Number', 'Email', 'Phone Number', 'Department', 'Team Leader', 'Shift Start Time', 'Days Off'],
|
| 1148 |
+
...filteredEmployees.map(e => [e.fullName, e.employeeNumber, e.email, e.phoneNumber, e.department, e.teamLeader, e.shiftStartTime, e.daysOff])
|
| 1149 |
+
].map(row => row.join(',')).join('\n');
|
| 1150 |
+
|
| 1151 |
+
const blob = new Blob([csv], { type: 'text/csv' });
|
| 1152 |
+
const url = URL.createObjectURL(blob);
|
| 1153 |
+
const a = document.createElement('a');
|
| 1154 |
+
a.href = url;
|
| 1155 |
+
a.download = 'employees.csv';
|
| 1156 |
+
a.click();
|
| 1157 |
+
URL.revokeObjectURL(url);
|
| 1158 |
+
}
|
| 1159 |
+
|
| 1160 |
+
// Event listeners
|
| 1161 |
+
document.getElementById('search-input').addEventListener('input', filterEmployees);
|
| 1162 |
+
document.getElementById('dept-filter').addEventListener('change', filterEmployees);
|
| 1163 |
+
document.getElementById('leader-filter').addEventListener('change', filterEmployees);
|
| 1164 |
+
document.getElementById('sort-select').addEventListener('change', filterEmployees);
|
| 1165 |
+
|
| 1166 |
+
// Close modal on outside click
|
| 1167 |
+
document.getElementById('detail-modal').addEventListener('click', (e) => {
|
| 1168 |
+
if (e.target === e.currentTarget) closeModal();
|
| 1169 |
+
});
|
| 1170 |
+
|
| 1171 |
+
// Close modal on Escape key
|
| 1172 |
+
document.addEventListener('keydown', (e) => {
|
| 1173 |
+
if (e.key === 'Escape') closeModal();
|
| 1174 |
+
});
|
| 1175 |
+
|
| 1176 |
+
// Initialize Lucide icons first, then initialize app
|
| 1177 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 1178 |
+
if (typeof lucide !== 'undefined') {
|
| 1179 |
+
lucide.createIcons();
|
| 1180 |
+
}
|
| 1181 |
+
initializeApp();
|
| 1182 |
+
});
|
| 1183 |
+
</script>
|
| 1184 |
+
<script src="https://deepsite.hf.co/deepsite-badge.js"></script>
|
| 1185 |
+
</body>
|
| 1186 |
+
</html>
|