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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>Fleet Maintenance Module - Fuel Management System</title>
|
| 7 |
+
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
| 10 |
+
<style>
|
| 11 |
+
:root {
|
| 12 |
+
--bg-primary: #0a0f1a;
|
| 13 |
+
--bg-secondary: #111827;
|
| 14 |
+
--bg-card: #1a2234;
|
| 15 |
+
--bg-hover: #242f45;
|
| 16 |
+
--border-color: #2d3a52;
|
| 17 |
+
--text-primary: #f1f5f9;
|
| 18 |
+
--text-secondary: #94a3b8;
|
| 19 |
+
--text-muted: #64748b;
|
| 20 |
+
--accent-primary: #f59e0b;
|
| 21 |
+
--accent-secondary: #d97706;
|
| 22 |
+
--accent-glow: rgba(245, 158, 11, 0.3);
|
| 23 |
+
--success: #10b981;
|
| 24 |
+
--warning: #f59e0b;
|
| 25 |
+
--danger: #ef4444;
|
| 26 |
+
--info: #3b82f6;
|
| 27 |
+
--radius-sm: 6px;
|
| 28 |
+
--radius-md: 10px;
|
| 29 |
+
--radius-lg: 16px;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
* {
|
| 33 |
+
margin: 0;
|
| 34 |
+
padding: 0;
|
| 35 |
+
box-sizing: border-box;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
body {
|
| 39 |
+
font-family: 'Inter', sans-serif;
|
| 40 |
+
background: var(--bg-primary);
|
| 41 |
+
color: var(--text-primary);
|
| 42 |
+
min-height: 100vh;
|
| 43 |
+
overflow-x: hidden;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
/* Background Effects */
|
| 47 |
+
.bg-effects {
|
| 48 |
+
position: fixed;
|
| 49 |
+
top: 0;
|
| 50 |
+
left: 0;
|
| 51 |
+
width: 100%;
|
| 52 |
+
height: 100%;
|
| 53 |
+
pointer-events: none;
|
| 54 |
+
z-index: 0;
|
| 55 |
+
overflow: hidden;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.bg-effects::before {
|
| 59 |
+
content: '';
|
| 60 |
+
position: absolute;
|
| 61 |
+
top: -50%;
|
| 62 |
+
left: -50%;
|
| 63 |
+
width: 200%;
|
| 64 |
+
height: 200%;
|
| 65 |
+
background:
|
| 66 |
+
radial-gradient(ellipse at 20% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
|
| 67 |
+
radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
|
| 68 |
+
radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 60%);
|
| 69 |
+
animation: bgPulse 20s ease-in-out infinite;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
@keyframes bgPulse {
|
| 73 |
+
0%, 100% { transform: translate(0, 0) scale(1); }
|
| 74 |
+
50% { transform: translate(-2%, -2%) scale(1.05); }
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.grid-overlay {
|
| 78 |
+
position: absolute;
|
| 79 |
+
top: 0;
|
| 80 |
+
left: 0;
|
| 81 |
+
width: 100%;
|
| 82 |
+
height: 100%;
|
| 83 |
+
background-image:
|
| 84 |
+
linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
|
| 85 |
+
linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
|
| 86 |
+
background-size: 60px 60px;
|
| 87 |
+
opacity: 0.5;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
/* Header */
|
| 91 |
+
.header {
|
| 92 |
+
position: fixed;
|
| 93 |
+
top: 0;
|
| 94 |
+
left: 0;
|
| 95 |
+
right: 0;
|
| 96 |
+
height: 70px;
|
| 97 |
+
background: rgba(17, 24, 39, 0.95);
|
| 98 |
+
backdrop-filter: blur(20px);
|
| 99 |
+
border-bottom: 1px solid var(--border-color);
|
| 100 |
+
display: flex;
|
| 101 |
+
align-items: center;
|
| 102 |
+
justify-content: space-between;
|
| 103 |
+
padding: 0 30px;
|
| 104 |
+
z-index: 1000;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
.logo {
|
| 108 |
+
display: flex;
|
| 109 |
+
align-items: center;
|
| 110 |
+
gap: 12px;
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
.logo-icon {
|
| 114 |
+
width: 42px;
|
| 115 |
+
height: 42px;
|
| 116 |
+
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
| 117 |
+
border-radius: var(--radius-md);
|
| 118 |
+
display: flex;
|
| 119 |
+
align-items: center;
|
| 120 |
+
justify-content: center;
|
| 121 |
+
font-size: 20px;
|
| 122 |
+
color: var(--bg-primary);
|
| 123 |
+
box-shadow: 0 4px 20px var(--accent-glow);
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.logo-text {
|
| 127 |
+
font-size: 20px;
|
| 128 |
+
font-weight: 700;
|
| 129 |
+
letter-spacing: -0.5px;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.logo-text span {
|
| 133 |
+
color: var(--accent-primary);
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.header-right {
|
| 137 |
+
display: flex;
|
| 138 |
+
align-items: center;
|
| 139 |
+
gap: 20px;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.header-link {
|
| 143 |
+
color: var(--text-secondary);
|
| 144 |
+
text-decoration: none;
|
| 145 |
+
font-size: 13px;
|
| 146 |
+
transition: color 0.2s;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.header-link:hover {
|
| 150 |
+
color: var(--accent-primary);
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.current-time {
|
| 154 |
+
font-family: 'JetBrains Mono', monospace;
|
| 155 |
+
font-size: 13px;
|
| 156 |
+
color: var(--text-muted);
|
| 157 |
+
background: var(--bg-card);
|
| 158 |
+
padding: 8px 14px;
|
| 159 |
+
border-radius: var(--radius-sm);
|
| 160 |
+
border: 1px solid var(--border-color);
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
/* Sidebar */
|
| 164 |
+
.sidebar {
|
| 165 |
+
position: fixed;
|
| 166 |
+
top: 70px;
|
| 167 |
+
left: 0;
|
| 168 |
+
width: 260px;
|
| 169 |
+
height: calc(100vh - 70px);
|
| 170 |
+
background: rgba(17, 24, 39, 0.9);
|
| 171 |
+
backdrop-filter: blur(10px);
|
| 172 |
+
border-right: 1px solid var(--border-color);
|
| 173 |
+
padding: 20px 0;
|
| 174 |
+
z-index: 900;
|
| 175 |
+
overflow-y: auto;
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
.nav-section {
|
| 179 |
+
padding: 0 16px;
|
| 180 |
+
margin-bottom: 24px;
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
.nav-section-title {
|
| 184 |
+
font-size: 11px;
|
| 185 |
+
font-weight: 600;
|
| 186 |
+
color: var(--text-muted);
|
| 187 |
+
text-transform: uppercase;
|
| 188 |
+
letter-spacing: 1px;
|
| 189 |
+
padding: 0 12px;
|
| 190 |
+
margin-bottom: 8px;
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
.nav-item {
|
| 194 |
+
display: flex;
|
| 195 |
+
align-items: center;
|
| 196 |
+
gap: 12px;
|
| 197 |
+
padding: 12px 16px;
|
| 198 |
+
border-radius: var(--radius-md);
|
| 199 |
+
cursor: pointer;
|
| 200 |
+
transition: all 0.2s;
|
| 201 |
+
margin-bottom: 4px;
|
| 202 |
+
color: var(--text-secondary);
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
.nav-item:hover {
|
| 206 |
+
background: var(--bg-hover);
|
| 207 |
+
color: var(--text-primary);
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
.nav-item.active {
|
| 211 |
+
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
|
| 212 |
+
color: var(--accent-primary);
|
| 213 |
+
border: 1px solid rgba(245, 158, 11, 0.3);
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.nav-item i {
|
| 217 |
+
width: 20px;
|
| 218 |
+
text-align: center;
|
| 219 |
+
font-size: 16px;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.nav-item span {
|
| 223 |
+
font-size: 14px;
|
| 224 |
+
font-weight: 500;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
.nav-badge {
|
| 228 |
+
margin-left: auto;
|
| 229 |
+
background: var(--danger);
|
| 230 |
+
color: white;
|
| 231 |
+
font-size: 11px;
|
| 232 |
+
font-weight: 600;
|
| 233 |
+
padding: 2px 8px;
|
| 234 |
+
border-radius: 10px;
|
| 235 |
+
}
|
| 236 |
+
|
| 237 |
+
/* Main Content */
|
| 238 |
+
.main-content {
|
| 239 |
+
margin-left: 260px;
|
| 240 |
+
margin-top: 70px;
|
| 241 |
+
padding: 30px;
|
| 242 |
+
min-height: calc(100vh - 70px);
|
| 243 |
+
position: relative;
|
| 244 |
+
z-index: 1;
|
| 245 |
+
}
|
| 246 |
+
|
| 247 |
+
.page {
|
| 248 |
+
display: none;
|
| 249 |
+
animation: fadeIn 0.3s ease;
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
.page.active {
|
| 253 |
+
display: block;
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
@keyframes fadeIn {
|
| 257 |
+
from { opacity: 0; transform: translateY(10px); }
|
| 258 |
+
to { opacity: 1; transform: translateY(0); }
|
| 259 |
+
}
|
| 260 |
+
|
| 261 |
+
/* Page Header */
|
| 262 |
+
.page-header {
|
| 263 |
+
display: flex;
|
| 264 |
+
align-items: center;
|
| 265 |
+
justify-content: space-between;
|
| 266 |
+
margin-bottom: 30px;
|
| 267 |
+
flex-wrap: wrap;
|
| 268 |
+
gap: 16px;
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
.page-title {
|
| 272 |
+
font-size: 28px;
|
| 273 |
+
font-weight: 700;
|
| 274 |
+
letter-spacing: -0.5px;
|
| 275 |
+
}
|
| 276 |
+
|
| 277 |
+
.page-subtitle {
|
| 278 |
+
color: var(--text-muted);
|
| 279 |
+
font-size: 14px;
|
| 280 |
+
margin-top: 4px;
|
| 281 |
+
}
|
| 282 |
+
|
| 283 |
+
/* Buttons */
|
| 284 |
+
.btn {
|
| 285 |
+
display: inline-flex;
|
| 286 |
+
align-items: center;
|
| 287 |
+
gap: 8px;
|
| 288 |
+
padding: 10px 20px;
|
| 289 |
+
border-radius: var(--radius-md);
|
| 290 |
+
font-size: 14px;
|
| 291 |
+
font-weight: 500;
|
| 292 |
+
cursor: pointer;
|
| 293 |
+
transition: all 0.2s;
|
| 294 |
+
border: none;
|
| 295 |
+
font-family: inherit;
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
.btn-primary {
|
| 299 |
+
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
| 300 |
+
color: var(--bg-primary);
|
| 301 |
+
box-shadow: 0 4px 15px var(--accent-glow);
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
.btn-primary:hover {
|
| 305 |
+
transform: translateY(-2px);
|
| 306 |
+
box-shadow: 0 6px 25px var(--accent-glow);
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
.btn-secondary {
|
| 310 |
+
background: var(--bg-card);
|
| 311 |
+
color: var(--text-primary);
|
| 312 |
+
border: 1px solid var(--border-color);
|
| 313 |
+
}
|
| 314 |
+
|
| 315 |
+
.btn-secondary:hover {
|
| 316 |
+
background: var(--bg-hover);
|
| 317 |
+
border-color: var(--accent-primary);
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
.btn-danger {
|
| 321 |
+
background: var(--danger);
|
| 322 |
+
color: white;
|
| 323 |
+
}
|
| 324 |
+
|
| 325 |
+
.btn-danger:hover {
|
| 326 |
+
background: #dc2626;
|
| 327 |
+
}
|
| 328 |
+
|
| 329 |
+
.btn-success {
|
| 330 |
+
background: var(--success);
|
| 331 |
+
color: white;
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
.btn-sm {
|
| 335 |
+
padding: 6px 12px;
|
| 336 |
+
font-size: 12px;
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
.btn-icon {
|
| 340 |
+
width: 36px;
|
| 341 |
+
height: 36px;
|
| 342 |
+
padding: 0;
|
| 343 |
+
justify-content: center;
|
| 344 |
+
}
|
| 345 |
+
|
| 346 |
+
/* Cards */
|
| 347 |
+
.card {
|
| 348 |
+
background: var(--bg-card);
|
| 349 |
+
border: 1px solid var(--border-color);
|
| 350 |
+
border-radius: var(--radius-lg);
|
| 351 |
+
padding: 24px;
|
| 352 |
+
margin-bottom: 24px;
|
| 353 |
+
}
|
| 354 |
+
|
| 355 |
+
.card-header {
|
| 356 |
+
display: flex;
|
| 357 |
+
align-items: center;
|
| 358 |
+
justify-content: space-between;
|
| 359 |
+
margin-bottom: 20px;
|
| 360 |
+
padding-bottom: 16px;
|
| 361 |
+
border-bottom: 1px solid var(--border-color);
|
| 362 |
+
}
|
| 363 |
+
|
| 364 |
+
.card-title {
|
| 365 |
+
font-size: 16px;
|
| 366 |
+
font-weight: 600;
|
| 367 |
+
}
|
| 368 |
+
|
| 369 |
+
/* Stats Grid */
|
| 370 |
+
.stats-grid {
|
| 371 |
+
display: grid;
|
| 372 |
+
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
| 373 |
+
gap: 20px;
|
| 374 |
+
margin-bottom: 30px;
|
| 375 |
+
}
|
| 376 |
+
|
| 377 |
+
.stat-card {
|
| 378 |
+
background: var(--bg-card);
|
| 379 |
+
border: 1px solid var(--border-color);
|
| 380 |
+
border-radius: var(--radius-lg);
|
| 381 |
+
padding: 24px;
|
| 382 |
+
position: relative;
|
| 383 |
+
overflow: hidden;
|
| 384 |
+
transition: all 0.3s;
|
| 385 |
+
}
|
| 386 |
+
|
| 387 |
+
.stat-card:hover {
|
| 388 |
+
transform: translateY(-4px);
|
| 389 |
+
border-color: var(--accent-primary);
|
| 390 |
+
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
.stat-card::before {
|
| 394 |
+
content: '';
|
| 395 |
+
position: absolute;
|
| 396 |
+
top: 0;
|
| 397 |
+
left: 0;
|
| 398 |
+
width: 4px;
|
| 399 |
+
height: 100%;
|
| 400 |
+
}
|
| 401 |
+
|
| 402 |
+
.stat-card.warning::before { background: var(--warning); }
|
| 403 |
+
.stat-card.danger::before { background: var(--danger); }
|
| 404 |
+
.stat-card.success::before { background: var(--success); }
|
| 405 |
+
.stat-card.info::before { background: var(--info); }
|
| 406 |
+
|
| 407 |
+
.stat-icon {
|
| 408 |
+
width: 48px;
|
| 409 |
+
height: 48px;
|
| 410 |
+
border-radius: var(--radius-md);
|
| 411 |
+
display: flex;
|
| 412 |
+
align-items: center;
|
| 413 |
+
justify-content: center;
|
| 414 |
+
font-size: 20px;
|
| 415 |
+
margin-bottom: 16px;
|
| 416 |
+
}
|
| 417 |
+
|
| 418 |
+
.stat-card.warning .stat-icon { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
|
| 419 |
+
.stat-card.danger .stat-icon { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
|
| 420 |
+
.stat-card.success .stat-icon { background: rgba(16, 185, 129, 0.15); color: var(--success); }
|
| 421 |
+
.stat-card.info .stat-icon { background: rgba(59, 130, 246, 0.15); color: var(--info); }
|
| 422 |
+
|
| 423 |
+
.stat-value {
|
| 424 |
+
font-size: 32px;
|
| 425 |
+
font-weight: 700;
|
| 426 |
+
margin-bottom: 4px;
|
| 427 |
+
font-family: 'JetBrains Mono', monospace;
|
| 428 |
+
}
|
| 429 |
+
|
| 430 |
+
.stat-label {
|
| 431 |
+
color: var(--text-muted);
|
| 432 |
+
font-size: 13px;
|
| 433 |
+
}
|
| 434 |
+
|
| 435 |
+
/* Tables */
|
| 436 |
+
.table-container {
|
| 437 |
+
overflow-x: auto;
|
| 438 |
+
border-radius: var(--radius-md);
|
| 439 |
+
border: 1px solid var(--border-color);
|
| 440 |
+
}
|
| 441 |
+
|
| 442 |
+
table {
|
| 443 |
+
width: 100%;
|
| 444 |
+
border-collapse: collapse;
|
| 445 |
+
}
|
| 446 |
+
|
| 447 |
+
th, td {
|
| 448 |
+
padding: 14px 16px;
|
| 449 |
+
text-align: left;
|
| 450 |
+
border-bottom: 1px solid var(--border-color);
|
| 451 |
+
}
|
| 452 |
+
|
| 453 |
+
th {
|
| 454 |
+
background: var(--bg-secondary);
|
| 455 |
+
font-size: 12px;
|
| 456 |
+
font-weight: 600;
|
| 457 |
+
color: var(--text-muted);
|
| 458 |
+
text-transform: uppercase;
|
| 459 |
+
letter-spacing: 0.5px;
|
| 460 |
+
}
|
| 461 |
+
|
| 462 |
+
tr:hover td {
|
| 463 |
+
background: var(--bg-hover);
|
| 464 |
+
}
|
| 465 |
+
|
| 466 |
+
td {
|
| 467 |
+
font-size: 14px;
|
| 468 |
+
}
|
| 469 |
+
|
| 470 |
+
/* Status Badges */
|
| 471 |
+
.status {
|
| 472 |
+
display: inline-flex;
|
| 473 |
+
align-items: center;
|
| 474 |
+
gap: 6px;
|
| 475 |
+
padding: 4px 10px;
|
| 476 |
+
border-radius: 20px;
|
| 477 |
+
font-size: 12px;
|
| 478 |
+
font-weight: 500;
|
| 479 |
+
}
|
| 480 |
+
|
| 481 |
+
.status-overdue {
|
| 482 |
+
background: rgba(239, 68, 68, 0.15);
|
| 483 |
+
color: var(--danger);
|
| 484 |
+
}
|
| 485 |
+
|
| 486 |
+
.status-due-soon {
|
| 487 |
+
background: rgba(245, 158, 11, 0.15);
|
| 488 |
+
color: var(--warning);
|
| 489 |
+
}
|
| 490 |
+
|
| 491 |
+
.status-ok {
|
| 492 |
+
background: rgba(16, 185, 129, 0.15);
|
| 493 |
+
color: var(--success);
|
| 494 |
+
}
|
| 495 |
+
|
| 496 |
+
.status-info {
|
| 497 |
+
background: rgba(59, 130, 246, 0.15);
|
| 498 |
+
color: var(--info);
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
/* Trigger Type Badges */
|
| 502 |
+
.trigger-badge {
|
| 503 |
+
display: inline-flex;
|
| 504 |
+
align-items: center;
|
| 505 |
+
gap: 4px;
|
| 506 |
+
padding: 3px 8px;
|
| 507 |
+
border-radius: var(--radius-sm);
|
| 508 |
+
font-size: 11px;
|
| 509 |
+
font-weight: 500;
|
| 510 |
+
background: var(--bg-secondary);
|
| 511 |
+
border: 1px solid var(--border-color);
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
.trigger-badge.mileage { border-color: var(--info); color: var(--info); }
|
| 515 |
+
.trigger-badge.hours { border-color: var(--success); color: var(--success); }
|
| 516 |
+
.trigger-badge.calendar { border-color: var(--warning); color: var(--warning); }
|
| 517 |
+
|
| 518 |
+
/* Forms */
|
| 519 |
+
.form-grid {
|
| 520 |
+
display: grid;
|
| 521 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| 522 |
+
gap: 20px;
|
| 523 |
+
}
|
| 524 |
+
|
| 525 |
+
.form-group {
|
| 526 |
+
margin-bottom: 20px;
|
| 527 |
+
}
|
| 528 |
+
|
| 529 |
+
.form-group label {
|
| 530 |
+
display: block;
|
| 531 |
+
font-size: 13px;
|
| 532 |
+
font-weight: 500;
|
| 533 |
+
color: var(--text-secondary);
|
| 534 |
+
margin-bottom: 8px;
|
| 535 |
+
}
|
| 536 |
+
|
| 537 |
+
.form-control {
|
| 538 |
+
width: 100%;
|
| 539 |
+
padding: 12px 16px;
|
| 540 |
+
background: var(--bg-secondary);
|
| 541 |
+
border: 1px solid var(--border-color);
|
| 542 |
+
border-radius: var(--radius-md);
|
| 543 |
+
color: var(--text-primary);
|
| 544 |
+
font-size: 14px;
|
| 545 |
+
font-family: inherit;
|
| 546 |
+
transition: all 0.2s;
|
| 547 |
+
}
|
| 548 |
+
|
| 549 |
+
.form-control:focus {
|
| 550 |
+
outline: none;
|
| 551 |
+
border-color: var(--accent-primary);
|
| 552 |
+
box-shadow: 0 0 0 3px var(--accent-glow);
|
| 553 |
+
}
|
| 554 |
+
|
| 555 |
+
.form-control::placeholder {
|
| 556 |
+
color: var(--text-muted);
|
| 557 |
+
}
|
| 558 |
+
|
| 559 |
+
select.form-control {
|
| 560 |
+
cursor: pointer;
|
| 561 |
+
}
|
| 562 |
+
|
| 563 |
+
/* Modal */
|
| 564 |
+
.modal-overlay {
|
| 565 |
+
position: fixed;
|
| 566 |
+
top: 0;
|
| 567 |
+
left: 0;
|
| 568 |
+
width: 100%;
|
| 569 |
+
height: 100%;
|
| 570 |
+
background: rgba(0, 0, 0, 0.7);
|
| 571 |
+
backdrop-filter: blur(4px);
|
| 572 |
+
z-index: 2000;
|
| 573 |
+
display: none;
|
| 574 |
+
align-items: center;
|
| 575 |
+
justify-content: center;
|
| 576 |
+
padding: 20px;
|
| 577 |
+
}
|
| 578 |
+
|
| 579 |
+
.modal-overlay.active {
|
| 580 |
+
display: flex;
|
| 581 |
+
}
|
| 582 |
+
|
| 583 |
+
.modal {
|
| 584 |
+
background: var(--bg-card);
|
| 585 |
+
border: 1px solid var(--border-color);
|
| 586 |
+
border-radius: var(--radius-lg);
|
| 587 |
+
width: 100%;
|
| 588 |
+
max-width: 600px;
|
| 589 |
+
max-height: 90vh;
|
| 590 |
+
overflow-y: auto;
|
| 591 |
+
animation: modalSlide 0.3s ease;
|
| 592 |
+
}
|
| 593 |
+
|
| 594 |
+
@keyframes modalSlide {
|
| 595 |
+
from { opacity: 0; transform: scale(0.95) translateY(-20px); }
|
| 596 |
+
to { opacity: 1; transform: scale(1) translateY(0); }
|
| 597 |
+
}
|
| 598 |
+
|
| 599 |
+
.modal-header {
|
| 600 |
+
display: flex;
|
| 601 |
+
align-items: center;
|
| 602 |
+
justify-content: space-between;
|
| 603 |
+
padding: 20px 24px;
|
| 604 |
+
border-bottom: 1px solid var(--border-color);
|
| 605 |
+
}
|
| 606 |
+
|
| 607 |
+
.modal-title {
|
| 608 |
+
font-size: 18px;
|
| 609 |
+
font-weight: 600;
|
| 610 |
+
}
|
| 611 |
+
|
| 612 |
+
.modal-close {
|
| 613 |
+
width: 36px;
|
| 614 |
+
height: 36px;
|
| 615 |
+
border-radius: var(--radius-sm);
|
| 616 |
+
background: transparent;
|
| 617 |
+
border: none;
|
| 618 |
+
color: var(--text-muted);
|
| 619 |
+
cursor: pointer;
|
| 620 |
+
display: flex;
|
| 621 |
+
align-items: center;
|
| 622 |
+
justify-content: center;
|
| 623 |
+
transition: all 0.2s;
|
| 624 |
+
}
|
| 625 |
+
|
| 626 |
+
.modal-close:hover {
|
| 627 |
+
background: var(--bg-hover);
|
| 628 |
+
color: var(--text-primary);
|
| 629 |
+
}
|
| 630 |
+
|
| 631 |
+
.modal-body {
|
| 632 |
+
padding: 24px;
|
| 633 |
+
}
|
| 634 |
+
|
| 635 |
+
.modal-footer {
|
| 636 |
+
display: flex;
|
| 637 |
+
align-items: center;
|
| 638 |
+
justify-content: flex-end;
|
| 639 |
+
gap: 12px;
|
| 640 |
+
padding: 20px 24px;
|
| 641 |
+
border-top: 1px solid var(--border-color);
|
| 642 |
+
}
|
| 643 |
+
|
| 644 |
+
/* Alert List */
|
| 645 |
+
.alert-list {
|
| 646 |
+
display: flex;
|
| 647 |
+
flex-direction: column;
|
| 648 |
+
gap: 12px;
|
| 649 |
+
}
|
| 650 |
+
|
| 651 |
+
.alert-item {
|
| 652 |
+
display: flex;
|
| 653 |
+
align-items: center;
|
| 654 |
+
gap: 16px;
|
| 655 |
+
padding: 16px;
|
| 656 |
+
background: var(--bg-secondary);
|
| 657 |
+
border-radius: var(--radius-md);
|
| 658 |
+
border-left: 4px solid;
|
| 659 |
+
transition: all 0.2s;
|
| 660 |
+
}
|
| 661 |
+
|
| 662 |
+
.alert-item:hover {
|
| 663 |
+
background: var(--bg-hover);
|
| 664 |
+
}
|
| 665 |
+
|
| 666 |
+
.alert-item.critical { border-left-color: var(--danger); }
|
| 667 |
+
.alert-item.warning { border-left-color: var(--warning); }
|
| 668 |
+
.alert-item.info { border-left-color: var(--info); }
|
| 669 |
+
|
| 670 |
+
.alert-icon {
|
| 671 |
+
width: 40px;
|
| 672 |
+
height: 40px;
|
| 673 |
+
border-radius: var(--radius-sm);
|
| 674 |
+
display: flex;
|
| 675 |
+
align-items: center;
|
| 676 |
+
justify-content: center;
|
| 677 |
+
font-size: 18px;
|
| 678 |
+
}
|
| 679 |
+
|
| 680 |
+
.alert-item.critical .alert-icon { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
|
| 681 |
+
.alert-item.warning .alert-icon { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
|
| 682 |
+
.alert-item.info .alert-icon { background: rgba(59, 130, 246, 0.15); color: var(--info); }
|
| 683 |
+
|
| 684 |
+
.alert-content {
|
| 685 |
+
flex: 1;
|
| 686 |
+
}
|
| 687 |
+
|
| 688 |
+
.alert-title {
|
| 689 |
+
font-weight: 600;
|
| 690 |
+
margin-bottom: 4px;
|
| 691 |
+
}
|
| 692 |
+
|
| 693 |
+
.alert-meta {
|
| 694 |
+
font-size: 13px;
|
| 695 |
+
color: var(--text-muted);
|
| 696 |
+
}
|
| 697 |
+
|
| 698 |
+
.alert-actions {
|
| 699 |
+
display: flex;
|
| 700 |
+
gap: 8px;
|
| 701 |
+
}
|
| 702 |
+
|
| 703 |
+
/* Tabs */
|
| 704 |
+
.tabs {
|
| 705 |
+
display: flex;
|
| 706 |
+
gap: 4px;
|
| 707 |
+
background: var(--bg-secondary);
|
| 708 |
+
padding: 4px;
|
| 709 |
+
border-radius: var(--radius-md);
|
| 710 |
+
margin-bottom: 24px;
|
| 711 |
+
overflow-x: auto;
|
| 712 |
+
}
|
| 713 |
+
|
| 714 |
+
.tab {
|
| 715 |
+
padding: 10px 20px;
|
| 716 |
+
border-radius: var(--radius-sm);
|
| 717 |
+
font-size: 14px;
|
| 718 |
+
font-weight: 500;
|
| 719 |
+
color: var(--text-muted);
|
| 720 |
+
cursor: pointer;
|
| 721 |
+
transition: all 0.2s;
|
| 722 |
+
white-space: nowrap;
|
| 723 |
+
}
|
| 724 |
+
|
| 725 |
+
.tab:hover {
|
| 726 |
+
color: var(--text-primary);
|
| 727 |
+
}
|
| 728 |
+
|
| 729 |
+
.tab.active {
|
| 730 |
+
background: var(--accent-primary);
|
| 731 |
+
color: var(--bg-primary);
|
| 732 |
+
}
|
| 733 |
+
|
| 734 |
+
/* Trigger Definition Section */
|
| 735 |
+
.trigger-section {
|
| 736 |
+
background: var(--bg-secondary);
|
| 737 |
+
border-radius: var(--radius-md);
|
| 738 |
+
padding: 20px;
|
| 739 |
+
margin-bottom: 20px;
|
| 740 |
+
}
|
| 741 |
+
|
| 742 |
+
.trigger-section-title {
|
| 743 |
+
font-size: 14px;
|
| 744 |
+
font-weight: 600;
|
| 745 |
+
margin-bottom: 16px;
|
| 746 |
+
display: flex;
|
| 747 |
+
align-items: center;
|
| 748 |
+
gap: 8px;
|
| 749 |
+
}
|
| 750 |
+
|
| 751 |
+
.trigger-row {
|
| 752 |
+
display: grid;
|
| 753 |
+
grid-template-columns: 1fr 1fr auto;
|
| 754 |
+
gap: 12px;
|
| 755 |
+
align-items: end;
|
| 756 |
+
}
|
| 757 |
+
|
| 758 |
+
/* Action buttons in table */
|
| 759 |
+
.action-buttons {
|
| 760 |
+
display: flex;
|
| 761 |
+
gap: 6px;
|
| 762 |
+
}
|
| 763 |
+
|
| 764 |
+
/* Search */
|
| 765 |
+
.search-box {
|
| 766 |
+
position: relative;
|
| 767 |
+
width: 300px;
|
| 768 |
+
}
|
| 769 |
+
|
| 770 |
+
.search-box input {
|
| 771 |
+
padding-left: 42px;
|
| 772 |
+
}
|
| 773 |
+
|
| 774 |
+
.search-box i {
|
| 775 |
+
position: absolute;
|
| 776 |
+
left: 14px;
|
| 777 |
+
top: 50%;
|
| 778 |
+
transform: translateY(-50%);
|
| 779 |
+
color: var(--text-muted);
|
| 780 |
+
}
|
| 781 |
+
|
| 782 |
+
/* Progress Bar */
|
| 783 |
+
.progress-bar {
|
| 784 |
+
height: 6px;
|
| 785 |
+
background: var(--bg-secondary);
|
| 786 |
+
border-radius: 3px;
|
| 787 |
+
overflow: hidden;
|
| 788 |
+
}
|
| 789 |
+
|
| 790 |
+
.progress-fill {
|
| 791 |
+
height: 100%;
|
| 792 |
+
border-radius: 3px;
|
| 793 |
+
transition: width 0.3s;
|
| 794 |
+
}
|
| 795 |
+
|
| 796 |
+
.progress-fill.danger { background: var(--danger); }
|
| 797 |
+
.progress-fill.warning { background: var(--warning); }
|
| 798 |
+
.progress-fill.success { background: var(--success); }
|
| 799 |
+
|
| 800 |
+
/* Charts placeholder */
|
| 801 |
+
.chart-container {
|
| 802 |
+
height: 250px;
|
| 803 |
+
background: var(--bg-secondary);
|
| 804 |
+
border-radius: var(--radius-md);
|
| 805 |
+
display: flex;
|
| 806 |
+
align-items: center;
|
| 807 |
+
justify-content: center;
|
| 808 |
+
color: var(--text-muted);
|
| 809 |
+
}
|
| 810 |
+
|
| 811 |
+
/* Responsive */
|
| 812 |
+
@media (max-width: 1024px) {
|
| 813 |
+
.sidebar {
|
| 814 |
+
transform: translateX(-100%);
|
| 815 |
+
transition: transform 0.3s;
|
| 816 |
+
}
|
| 817 |
+
|
| 818 |
+
.sidebar.open {
|
| 819 |
+
transform: translateX(0);
|
| 820 |
+
}
|
| 821 |
+
|
| 822 |
+
.main-content {
|
| 823 |
+
margin-left: 0;
|
| 824 |
+
}
|
| 825 |
+
|
| 826 |
+
.menu-toggle {
|
| 827 |
+
display: flex !important;
|
| 828 |
+
}
|
| 829 |
+
}
|
| 830 |
+
|
| 831 |
+
@media (max-width: 768px) {
|
| 832 |
+
.header {
|
| 833 |
+
padding: 0 16px;
|
| 834 |
+
}
|
| 835 |
+
|
| 836 |
+
.main-content {
|
| 837 |
+
padding: 16px;
|
| 838 |
+
}
|
| 839 |
+
|
| 840 |
+
.page-header {
|
| 841 |
+
flex-direction: column;
|
| 842 |
+
align-items: flex-start;
|
| 843 |
+
}
|
| 844 |
+
|
| 845 |
+
.stats-grid {
|
| 846 |
+
grid-template-columns: 1fr;
|
| 847 |
+
}
|
| 848 |
+
|
| 849 |
+
.trigger-row {
|
| 850 |
+
grid-template-columns: 1fr;
|
| 851 |
+
}
|
| 852 |
+
}
|
| 853 |
+
|
| 854 |
+
.menu-toggle {
|
| 855 |
+
display: none;
|
| 856 |
+
width: 40px;
|
| 857 |
+
height: 40px;
|
| 858 |
+
align-items: center;
|
| 859 |
+
justify-content: center;
|
| 860 |
+
background: var(--bg-card);
|
| 861 |
+
border: 1px solid var(--border-color);
|
| 862 |
+
border-radius: var(--radius-sm);
|
| 863 |
+
cursor: pointer;
|
| 864 |
+
color: var(--text-primary);
|
| 865 |
+
}
|
| 866 |
+
|
| 867 |
+
/* Toast Notification */
|
| 868 |
+
.toast-container {
|
| 869 |
+
position: fixed;
|
| 870 |
+
bottom: 24px;
|
| 871 |
+
right: 24px;
|
| 872 |
+
z-index: 3000;
|
| 873 |
+
display: flex;
|
| 874 |
+
flex-direction: column;
|
| 875 |
+
gap: 12px;
|
| 876 |
+
}
|
| 877 |
+
|
| 878 |
+
.toast {
|
| 879 |
+
background: var(--bg-card);
|
| 880 |
+
border: 1px solid var(--border-color);
|
| 881 |
+
border-radius: var(--radius-md);
|
| 882 |
+
padding: 16px 20px;
|
| 883 |
+
display: flex;
|
| 884 |
+
align-items: center;
|
| 885 |
+
gap: 12px;
|
| 886 |
+
min-width: 300px;
|
| 887 |
+
animation: toastSlide 0.3s ease;
|
| 888 |
+
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
|
| 889 |
+
}
|
| 890 |
+
|
| 891 |
+
@keyframes toastSlide {
|
| 892 |
+
from { opacity: 0; transform: translateX(100px); }
|
| 893 |
+
to { opacity: 1; transform: translateX(0); }
|
| 894 |
+
}
|
| 895 |
+
|
| 896 |
+
.toast.success { border-left: 4px solid var(--success); }
|
| 897 |
+
.toast.error { border-left: 4px solid var(--danger); }
|
| 898 |
+
.toast.warning { border-left: 4px solid var(--warning); }
|
| 899 |
+
|
| 900 |
+
/* Fuel type indicator */
|
| 901 |
+
.fuel-type {
|
| 902 |
+
display: inline-flex;
|
| 903 |
+
align-items: center;
|
| 904 |
+
gap: 6px;
|
| 905 |
+
padding: 3px 10px;
|
| 906 |
+
border-radius: 20px;
|
| 907 |
+
font-size: 12px;
|
| 908 |
+
font-weight: 500;
|
| 909 |
+
}
|
| 910 |
+
|
| 911 |
+
.fuel-type.diesel { background: rgba(59, 130, 246, 0.15); color: var(--info); }
|
| 912 |
+
.fuel-type.gasoline { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
|
| 913 |
+
.fuel-type.electric { background: rgba(16, 185, 129, 0.15); color: var(--success); }
|
| 914 |
+
.fuel-type.hybrid { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
|
| 915 |
+
|
| 916 |
+
/* Checkbox */
|
| 917 |
+
.checkbox-wrapper {
|
| 918 |
+
display: flex;
|
| 919 |
+
align-items: center;
|
| 920 |
+
gap: 10px;
|
| 921 |
+
cursor: pointer;
|
| 922 |
+
}
|
| 923 |
+
|
| 924 |
+
.checkbox-wrapper input {
|
| 925 |
+
width: 18px;
|
| 926 |
+
height: 18px;
|
| 927 |
+
accent-color: var(--accent-primary);
|
| 928 |
+
}
|
| 929 |
+
|
| 930 |
+
/* Empty State */
|
| 931 |
+
.empty-state {
|
| 932 |
+
text-align: center;
|
| 933 |
+
padding: 60px 20px;
|
| 934 |
+
color: var(--text-muted);
|
| 935 |
+
}
|
| 936 |
+
|
| 937 |
+
.empty-state i {
|
| 938 |
+
font-size: 48px;
|
| 939 |
+
margin-bottom: 16px;
|
| 940 |
+
opacity: 0.5;
|
| 941 |
+
}
|
| 942 |
+
|
| 943 |
+
.empty-state p {
|
| 944 |
+
font-size: 14px;
|
| 945 |
+
}
|
| 946 |
+
</style>
|
| 947 |
+
</head>
|
| 948 |
+
<body>
|
| 949 |
+
<div class="bg-effects">
|
| 950 |
+
<div class="grid-overlay"></div>
|
| 951 |
+
</div>
|
| 952 |
+
|
| 953 |
+
<!-- Header -->
|
| 954 |
+
<header class="header">
|
| 955 |
+
<div class="logo">
|
| 956 |
+
<div class="logo-icon">
|
| 957 |
+
<i class="fas fa-gas-pump"></i>
|
| 958 |
+
</div>
|
| 959 |
+
<div class="logo-text">Fuel<span>Track</span> Pro</div>
|
| 960 |
+
</div>
|
| 961 |
+
<div class="header-right">
|
| 962 |
+
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="header-link">Built with anycoder</a>
|
| 963 |
+
<div class="current-time" id="currentTime"></div>
|
| 964 |
+
<button class="menu-toggle" id="menuToggle">
|
| 965 |
+
<i class="fas fa-bars"></i>
|
| 966 |
+
</button>
|
| 967 |
+
</div>
|
| 968 |
+
</header>
|
| 969 |
+
|
| 970 |
+
<!-- Sidebar -->
|
| 971 |
+
<nav class="sidebar" id="sidebar">
|
| 972 |
+
<div class="nav-section">
|
| 973 |
+
<div class="nav-section-title">Main</div>
|
| 974 |
+
<div class="nav-item active" data-page="dashboard">
|
| 975 |
+
<i class="fas fa-chart-pie"></i>
|
| 976 |
+
<span>Dashboard</span>
|
| 977 |
+
</div>
|
| 978 |
+
<div class="nav-item" data-page="alerts">
|
| 979 |
+
<i class="fas fa-bell"></i>
|
| 980 |
+
<span>Maintenance Alerts</span>
|
| 981 |
+
<span class="nav-badge" id="alertCount">5</span>
|
| 982 |
+
</div>
|
| 983 |
+
</div>
|
| 984 |
+
<div class="nav-section">
|
| 985 |
+
<div class="nav-section-title">Management</div>
|
| 986 |
+
<div class="nav-item" data-page="fleets">
|
| 987 |
+
<i class="fas fa-layer-group"></i>
|
| 988 |
+
<span>Fleets & Vehicles</span>
|
| 989 |
+
</div>
|
| 990 |
+
<div class="nav-item" data-page="maintenance-types">
|
| 991 |
+
<i class="fas fa-tools"></i>
|
| 992 |
+
<span>Maintenance Types</span>
|
| 993 |
+
</div>
|
| 994 |
+
<div class="nav-item" data-page="vehicle-maintenance">
|
| 995 |
+
<i class="fas fa-truck-monster"></i>
|
| 996 |
+
<span>Vehicle Maintenance</span>
|
| 997 |
+
</div>
|
| 998 |
+
</div>
|
| 999 |
+
<div class="nav-section">
|
| 1000 |
+
<div class="nav-section-title">Operations</div>
|
| 1001 |
+
<div class="nav-item" data-page="metrics">
|
| 1002 |
+
<i class="fas fa-tachometer-alt"></i>
|
| 1003 |
+
<span>Metrics Entry</span>
|
| 1004 |
+
</div>
|
| 1005 |
+
<div class="nav-item" data-page="work-orders">
|
| 1006 |
+
<i class="fas fa-clipboard-list"></i>
|
| 1007 |
+
<span>Work Orders</span>
|
| 1008 |
+
</div>
|
| 1009 |
+
</div>
|
| 1010 |
+
<div class="nav-section">
|
| 1011 |
+
<div class="nav-section-title">Reports</div>
|
| 1012 |
+
<div class="nav-item" data-page="reports">
|
| 1013 |
+
<i class="fas fa-file-alt"></i>
|
| 1014 |
+
<span>Reports</span>
|
| 1015 |
+
</div>
|
| 1016 |
+
</div>
|
| 1017 |
+
</nav>
|
| 1018 |
+
|
| 1019 |
+
<!-- Main Content -->
|
| 1020 |
+
<main class="main-content">
|
| 1021 |
+
<!-- Dashboard Page -->
|
| 1022 |
+
<div class="page active" id="page-dashboard">
|
| 1023 |
+
<div class="page-header">
|
| 1024 |
+
<div>
|
| 1025 |
+
<h1 class="page-title">Maintenance Dashboard</h1>
|
| 1026 |
+
<p class="page-subtitle">Overview of fleet maintenance status and alerts</p>
|
| 1027 |
+
</div>
|
| 1028 |
+
</div>
|
| 1029 |
+
|
| 1030 |
+
<div class="stats-grid">
|
| 1031 |
+
<div class="stat-card danger">
|
| 1032 |
+
<div class="stat-icon"><i class="fas fa-exclamation-triangle"></i></div>
|
| 1033 |
+
<div class="stat-value" id="overdueCount">3</div>
|
| 1034 |
+
<div class="stat-label">Overdue Maintenance</div>
|
| 1035 |
+
</div>
|
| 1036 |
+
<div class="stat-card warning">
|
| 1037 |
+
<div class="stat-icon"><i class="fas fa-clock"></i></div>
|
| 1038 |
+
<div class="stat-value" id="dueSoonCount">5</div>
|
| 1039 |
+
<div class="stat-label">Due This Week</div>
|
| 1040 |
+
</div>
|
| 1041 |
+
<div class="stat-card success">
|
| 1042 |
+
<div class="stat-icon"><i class="fas fa-check-circle"></i></div>
|
| 1043 |
+
<div class="stat-value" id="completedCount">12</div>
|
| 1044 |
+
<div class="stat-label">Completed This Month</div>
|
| 1045 |
+
</div>
|
| 1046 |
+
<div class="stat-card info">
|
| 1047 |
+
<div class="stat-icon"><i class="fas fa-truck"></i></div>
|
| 1048 |
+
<div class="stat-value" id="totalVehicles">24</div>
|
| 1049 |
+
<div class="stat-label">Total Vehicles</div>
|
| 1050 |
+
</div>
|
| 1051 |
+
</div>
|
| 1052 |
+
|
| 1053 |
+
<div class="card">
|
| 1054 |
+
<div class="card-header">
|
| 1055 |
+
<h3 class="card-title"><i class="fas fa-bell"></i> Recent Alerts</h3>
|
| 1056 |
+
<button class="btn btn-secondary btn-sm" onclick="app.showPage('alerts')">View All</button>
|
| 1057 |
+
</div>
|
| 1058 |
+
<div class="alert-list" id="dashboardAlerts"></div>
|
| 1059 |
+
</div>
|
| 1060 |
+
|
| 1061 |
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 24px;">
|
| 1062 |
+
<div class="card">
|
| 1063 |
+
<div class="card-header">
|
| 1064 |
+
<h3 class="card-title"><i class="fas fa-chart-bar"></i> Maintenance by Type</h3>
|
| 1065 |
+
</div>
|
| 1066 |
+
<div id="maintenanceChart"></div>
|
| 1067 |
+
</div>
|
| 1068 |
+
<div class="card">
|
| 1069 |
+
<div class="card-header">
|
| 1070 |
+
<h3 class="card-title"><i class="fas fa-history"></i> Recent Activity</h3>
|
| 1071 |
+
</div>
|
| 1072 |
+
<div id="recentActivity"></div>
|
| 1073 |
+
</div>
|
| 1074 |
+
</div>
|
| 1075 |
+
</div>
|
| 1076 |
+
|
| 1077 |
+
<!-- Alerts Page -->
|
| 1078 |
+
<div class="page" id="page-alerts">
|
| 1079 |
+
<div class="page-header">
|
| 1080 |
+
<div>
|
| 1081 |
+
<h1 class="page-title">Maintenance Alerts</h1>
|
| 1082 |
+
<p class="page-subtitle">View and manage all maintenance alerts</p>
|
| 1083 |
+
</div>
|
| 1084 |
+
<button class="btn btn-primary" onclick="workOrderHandler().openCreateFromAlerts()">
|
| 1085 |
+
<i class="fas fa-plus"></i> Create Work Orders
|
| 1086 |
+
</button>
|
| 1087 |
+
</div>
|
| 1088 |
+
|
| 1089 |
+
<div class="tabs">
|
| 1090 |
+
<div class="tab active" data-filter="all">All Alerts</div>
|
| 1091 |
+
<div class="tab" data-filter="overdue">Overdue</div>
|
| 1092 |
+
<div class="tab" data-filter="due-soon">Due Soon</div>
|
| 1093 |
+
<div class="tab" data-filter="upcoming">Upcoming</div>
|
| 1094 |
+
</div>
|
| 1095 |
+
|
| 1096 |
+
<div class="card">
|
| 1097 |
+
<div class="table-container">
|
| 1098 |
+
<table>
|
| 1099 |
+
<thead>
|
| 1100 |
+
<tr>
|
| 1101 |
+
<th><input type="checkbox" id="selectAllAlerts"></th>
|
| 1102 |
+
<th>Priority</th>
|
| 1103 |
+
<th>Vehicle</th>
|
| 1104 |
+
<th>Maintenance Type</th>
|
| 1105 |
+
<th>Trigger</th>
|
| 1106 |
+
<th>Due</th>
|
| 1107 |
+
<th>Status</th>
|
| 1108 |
+
<th>Actions</th>
|
| 1109 |
+
</tr>
|
| 1110 |
+
</thead>
|
| 1111 |
+
<tbody id="alertsTable"></tbody>
|
| 1112 |
+
</table>
|
| 1113 |
+
</div>
|
| 1114 |
+
</div>
|
| 1115 |
+
</div>
|
| 1116 |
+
|
| 1117 |
+
<!-- Fleets & Vehicles Page -->
|
| 1118 |
+
<div class="page" id="page-fleets">
|
| 1119 |
+
<div class="page-header">
|
| 1120 |
+
<div>
|
| 1121 |
+
<h1 class="page-title">Fleets & Vehicles</h1>
|
| 1122 |
+
<p class="page-subtitle">Manage your fleets and vehicles</p>
|
| 1123 |
+
</div>
|
| 1124 |
+
<div style="display: flex; gap: 12px;">
|
| 1125 |
+
<button class="btn btn-secondary" onclick="fleetHandler().openCreate()">
|
| 1126 |
+
<i class="fas fa-plus"></i> Add Fleet
|
| 1127 |
+
</button>
|
| 1128 |
+
<button class="btn btn-primary" onclick="vehicleHandler().openCreate()">
|
| 1129 |
+
<i class="fas fa-plus"></i> Add Vehicle
|
| 1130 |
+
</button>
|
| 1131 |
+
</div>
|
| 1132 |
+
</div>
|
| 1133 |
+
|
| 1134 |
+
<div class="tabs">
|
| 1135 |
+
<div class="tab active" data-fleet-tab="all">All Vehicles</div>
|
| 1136 |
+
<div id="fleetTabs"></div>
|
| 1137 |
+
</div>
|
| 1138 |
+
|
| 1139 |
+
<div class="card">
|
| 1140 |
+
<div class="table-container">
|
| 1141 |
+
<table>
|
| 1142 |
+
<thead>
|
| 1143 |
+
<tr>
|
| 1144 |
+
<th>Vehicle ID</th>
|
| 1145 |
+
<th>Name</th>
|
| 1146 |
+
<th>Fleet</th>
|
| 1147 |
+
<th>Fuel Type</th>
|
| 1148 |
+
<th>Current Mileage</th>
|
| 1149 |
+
<th>Working Hours</th>
|
| 1150 |
+
<th>Status</th>
|
| 1151 |
+
<th>Actions</th>
|
| 1152 |
+
</tr>
|
| 1153 |
+
</thead>
|
| 1154 |
+
<tbody id="vehiclesTable"></tbody>
|
| 1155 |
+
</table>
|
| 1156 |
+
</div>
|
| 1157 |
+
</div>
|
| 1158 |
+
</div>
|
| 1159 |
+
|
| 1160 |
+
<!-- Maintenance Types Page -->
|
| 1161 |
+
<div class="page" id="page-maintenance-types">
|
| 1162 |
+
<div class="page-header">
|
| 1163 |
+
<div>
|
| 1164 |
+
<h1 class="page-title">Maintenance Types</h1>
|
| 1165 |
+
<p class="page-subtitle">Define maintenance types and their triggers</p>
|
| 1166 |
+
</div>
|
| 1167 |
+
<button class="btn btn-primary" onclick="maintenanceTypeHandler().openCreate()">
|
| 1168 |
+
<i class="fas fa-plus"></i> Add Maintenance Type
|
| 1169 |
+
</button>
|
| 1170 |
+
</div>
|
| 1171 |
+
|
| 1172 |
+
<div class="card">
|
| 1173 |
+
<div class="table-container">
|
| 1174 |
+
<table>
|
| 1175 |
+
<thead>
|
| 1176 |
+
<tr>
|
| 1177 |
+
<th>Name</th>
|
| 1178 |
+
<th>Description</th>
|
| 1179 |
+
<th>Trigger Types</th>
|
| 1180 |
+
<th>Category</th>
|
| 1181 |
+
<th>Est. Duration</th>
|
| 1182 |
+
<th>Actions</th>
|
| 1183 |
+
</tr>
|
| 1184 |
+
</thead>
|
| 1185 |
+
<tbody id="maintenanceTypesTable"></tbody>
|
| 1186 |
+
</table>
|
| 1187 |
+
</div>
|
| 1188 |
+
</div>
|
| 1189 |
+
</div>
|
| 1190 |
+
|
| 1191 |
+
<!-- Vehicle Maintenance Page -->
|
| 1192 |
+
<div class="page" id="page-vehicle-maintenance">
|
| 1193 |
+
<div class="page-header">
|
| 1194 |
+
<div>
|
| 1195 |
+
<h1 class="page-title">Vehicle Maintenance</h1>
|
| 1196 |
+
<p class="page-subtitle">Assign maintenance schedules to vehicles</p>
|
| 1197 |
+
</div>
|
| 1198 |
+
<button class="btn btn-primary" onclick="vehicleMaintenanceHandler().openCreate()">
|
| 1199 |
+
<i class="fas fa-plus"></i> Assign Maintenance
|
| 1200 |
+
</button>
|
| 1201 |
+
</div>
|
| 1202 |
+
|
| 1203 |
+
<div class="card">
|
| 1204 |
+
<div style="display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap;">
|
| 1205 |
+
<div class="search-box">
|
| 1206 |
+
<i class="fas fa-search"></i>
|
| 1207 |
+
<input type="text" class="form-control" placeholder="Search vehicles..." id="vmSearch">
|
| 1208 |
+
</div>
|
| 1209 |
+
<select class="form-control" style="width: 200px;" id="vmFilterFleet">
|
| 1210 |
+
<option value="">All Fleets</option>
|
| 1211 |
+
</select>
|
| 1212 |
+
</div>
|
| 1213 |
+
<div class="table-container">
|
| 1214 |
+
<table>
|
| 1215 |
+
<thead>
|
| 1216 |
+
<tr>
|
| 1217 |
+
<th>Vehicle</th>
|
| 1218 |
+
<th>Maintenance Type</th>
|
| 1219 |
+
<th>Triggers</th>
|
| 1220 |
+
<th>Last Service</th>
|
| 1221 |
+
<th>Next Due</th>
|
| 1222 |
+
<th>Progress</th>
|
| 1223 |
+
<th>Actions</th>
|
| 1224 |
+
</tr>
|
| 1225 |
+
</thead>
|
| 1226 |
+
<tbody id="vehicleMaintenanceTable"></tbody>
|
| 1227 |
+
</table>
|
| 1228 |
+
</div>
|
| 1229 |
+
</div>
|
| 1230 |
+
</div>
|
| 1231 |
+
|
| 1232 |
+
<!-- Metrics Entry Page -->
|
| 1233 |
+
<div class="page" id="page-metrics">
|
| 1234 |
+
<div class="page-header">
|
| 1235 |
+
<div>
|
| 1236 |
+
<h1 class="page-title">Metrics Entry</h1>
|
| 1237 |
+
<p class="page-subtitle">Update vehicle mileage, hours, and other metrics</p>
|
| 1238 |
+
</div>
|
| 1239 |
+
</div>
|
| 1240 |
+
|
| 1241 |
+
<div class="card">
|
| 1242 |
+
<div style="display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap;">
|
| 1243 |
+
<div class="search-box">
|
| 1244 |
+
<i class="fas fa-search"></i>
|
| 1245 |
+
<input type="text" class="form-control" placeholder="Search vehicles..." id="metricsSearch">
|
| 1246 |
+
</div>
|
| 1247 |
+
<select class="form-control" style="width: 200px;" id="metricsFilterFleet">
|
| 1248 |
+
<option value="">All Fleets</option>
|
| 1249 |
+
</select>
|
| 1250 |
+
</div>
|
| 1251 |
+
<div class="table-container">
|
| 1252 |
+
<table>
|
| 1253 |
+
<thead>
|
| 1254 |
+
<tr>
|
| 1255 |
+
<th>Vehicle</th>
|
| 1256 |
+
<th>Fleet</th>
|
| 1257 |
+
<th>Current Mileage</th>
|
| 1258 |
+
<th>Working Hours</th>
|
| 1259 |
+
<th>Last Updated</th>
|
| 1260 |
+
<th>Actions</th>
|
| 1261 |
+
</tr>
|
| 1262 |
+
</thead>
|
| 1263 |
+
<tbody id="metricsTable"></tbody>
|
| 1264 |
+
</table>
|
| 1265 |
+
</div>
|
| 1266 |
+
</div>
|
| 1267 |
+
</div>
|
| 1268 |
+
|
| 1269 |
+
<!-- Work Orders Page -->
|
| 1270 |
+
<div class="page" id="page-work-orders">
|
| 1271 |
+
<div class="page-header">
|
| 1272 |
+
<div>
|
| 1273 |
+
<h1 class="page-title">Work Orders</h1>
|
| 1274 |
+
<p class="page-subtitle">Manage maintenance work orders</p>
|
| 1275 |
+
</div>
|
| 1276 |
+
<button class="btn btn-primary" onclick="workOrderHandler().openCreate()">
|
| 1277 |
+
<i class="fas fa-plus"></i> Create Work Order
|
| 1278 |
+
</button>
|
| 1279 |
+
</div>
|
| 1280 |
+
|
| 1281 |
+
<div class="tabs">
|
| 1282 |
+
<div class="tab active" data-wo-status="all">All</div>
|
| 1283 |
+
<div class="tab" data-wo-status="pending">Pending</div>
|
| 1284 |
+
<div class="tab" data-wo-status="in-progress">In Progress</div>
|
| 1285 |
+
<div class="tab" data-wo-status="completed">Completed</div>
|
| 1286 |
+
</div>
|
| 1287 |
+
|
| 1288 |
+
<div class="card">
|
| 1289 |
+
<div class="table-container">
|
| 1290 |
+
<table>
|
| 1291 |
+
<thead>
|
| 1292 |
+
<tr>
|
| 1293 |
+
<th>WO Number</th>
|
| 1294 |
+
<th>Vehicle</th>
|
| 1295 |
+
<th>Maintenance Type</th>
|
| 1296 |
+
<th>Priority</th>
|
| 1297 |
+
<th>Assigned To</th>
|
| 1298 |
+
<th>Status</th>
|
| 1299 |
+
<th>Created</th>
|
| 1300 |
+
<th>Actions</th>
|
| 1301 |
+
</tr>
|
| 1302 |
+
</thead>
|
| 1303 |
+
<tbody id="workOrdersTable"></tbody>
|
| 1304 |
+
</table>
|
| 1305 |
+
</div>
|
| 1306 |
+
</div>
|
| 1307 |
+
</div>
|
| 1308 |
+
|
| 1309 |
+
<!-- Reports Page -->
|
| 1310 |
+
<div class="page" id="page-reports">
|
| 1311 |
+
<div class="page-header">
|
| 1312 |
+
<div>
|
| 1313 |
+
<h1 class="page-title">Reports</h1>
|
| 1314 |
+
<p class="page-subtitle">Maintenance analytics and reports</p>
|
| 1315 |
+
</div>
|
| 1316 |
+
</div>
|
| 1317 |
+
|
| 1318 |
+
<div class="stats-grid">
|
| 1319 |
+
<div class="stat-card info">
|
| 1320 |
+
<div class="stat-icon"><i class="fas fa-wrench"></i></div>
|
| 1321 |
+
<div class="stat-value">47</div>
|
| 1322 |
+
<div class="stat-label">Total Maintenance (This Month)</div>
|
| 1323 |
+
</div>
|
| 1324 |
+
<div class="stat-card success">
|
| 1325 |
+
<div class="stat-icon"><i class="fas fa-dollar-sign"></i></div>
|
| 1326 |
+
<div class="stat-value">$12,450</div>
|
| 1327 |
+
<div class="stat-label">Maintenance Cost (This Month)</div>
|
| 1328 |
+
</div>
|
| 1329 |
+
<div class="stat-card warning">
|
| 1330 |
+
<div class="stat-icon"><i class="fas fa-clock"></i></div>
|
| 1331 |
+
<div class="stat-value">98.2%</div>
|
| 1332 |
+
<div class="stat-label">On-Time Completion Rate</div>
|
| 1333 |
+
</div>
|
| 1334 |
+
<div class="stat-card danger">
|
| 1335 |
+
<div class="stat-icon"><i class="fas fa-exclamation-circle"></i></div>
|
| 1336 |
+
<div class="stat-value">2.3</div>
|
| 1337 |
+
<div class="stat-label">Avg. Days Overdue</div>
|
| 1338 |
+
</div>
|
| 1339 |
+
</div>
|
| 1340 |
+
|
| 1341 |
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 24px;">
|
| 1342 |
+
<div class="card">
|
| 1343 |
+
<div class="card-header">
|
| 1344 |
+
<h3 class="card-title"><i class="fas fa-chart-line"></i> Maintenance Trend</h3>
|
| 1345 |
+
</div>
|
| 1346 |
+
<div class="chart
|