-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdas2.html
644 lines (585 loc) · 27 KB
/
das2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard</title>
<style>
header {
background-color: #333;
color: white;
padding: 1rem 0;
}
header .container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 1rem;
}
header .logo a {
color: #fff;
font-size: 1.8rem;
text-decoration: none;
font-weight: bold;
}
header nav ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
}
header nav ul li {
margin: 0 1rem;
}
header nav ul li a {
color: #fff;
text-decoration: none;
font-size: 1rem;
transition: color 0.3s;
}
header nav ul li a:hover {
color: #ff7e5f; /* Change color on hover */
}
/* Global Styles */
:root {
--bg-color: #f4f4f4;
--text-color: #333;
--container-bg-color: #fff;
--section-bg-color: #fff;
--input-bg-color: #ddd;
--button-bg-color: #007bff;
--button-hover-bg-color: #0056b3;
}
body.dark-mode {
--bg-color: #1c1c1c;
--text-color: #f4f4f4;
--container-bg-color: #333;
--section-bg-color: #444;
--input-bg-color: #666;
--button-bg-color: #0056b3;
--button-hover-bg-color: #003d7a;
}
body {
font-family: 'Open Sans', sans-serif;
background: linear-gradient(135deg, #f0f8ff, #e6e6fa);
color: var(--text-color);
margin: 0;
padding: 0;
}
.container1 {
width: 90%;
margin: 20px auto;
padding: 20px;
background-color: var(--container-bg-color);
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
h1, h2, h3 {
font-weight: bold;
color: var(--text-color);
}
h1 {
font-size: 24px;
}
h2 {
font-size: 18px;
}
h3 {
font-size: 14px;
}
.section {
background: linear-gradient(135deg, #ffffff, #f0f8ff);
padding: 20px;
margin-bottom: 20px;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.section h2 {
margin-top: 0;
}
.summary-cards {
display: flex;
justify-content: space-between;
gap: 20px;
}
.summary-card {
flex: 1;
background: linear-gradient(135deg, #e6e6fa, #ffffff);
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.chart-container {
width: 90%;
height: 400px;
background: linear-gradient(135deg, #f0f8ff, #e6e6fa);
border-radius: 10px;
padding: 20px;
}
.footer {
margin-top: 20px;
padding: 10px;
background: linear-gradient(135deg, #ffffff, #f0f8ff);
text-align: center;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.footer a {
margin: 0 10px;
color: var(--text-color);
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}
.alert {
background: linear-gradient(135deg, #ffffff, #f0f8ff);
padding: 10px;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
.alert ul {
list-style: none;
padding: 0;
margin: 0;
}
.alert li {
padding: 10px;
border-bottom: 1px solid #ddd;
}
.alert li:last-child {
border-bottom: none;
}
.action-buttons {
display: flex;
justify-content: space-between;
}
.action-buttons button {
padding: 10px 20px;
border: none;
border-radius: 5px;
background: var(--button-bg-color);
color: var(--bg-color);
cursor: pointer;
}
.action-buttons button:hover {
background: var(--button-hover-bg-color);
}
.user-profile {
background: linear-gradient(135deg, #ffffff, #e6e6fa);
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
.user-profile h3 {
margin-top: 0;
}
.search-bar {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.search-bar input {
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
margin-right: 10px;
flex: 1;
max-width: 300px;
}
.search-bar button {
padding: 10px 20px;
border: none;
border-radius: 5px;
background: var(--button-bg-color);
color: var(--bg-color);
cursor: pointer;
}
.search-bar button:hover {
background: var(--button-hover-bg-color);
}
.search-bar .instructions {
color: var(--text-color);
font-size: 14px;
margin-top: 10px;
}
.class-report {
background: linear-gradient(135deg, #ffffff, #e6e6fa);
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
</style>
<!-- Include Chart.js library -->
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
<header>
<div class="container">
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="dashboard.html">Dashboard</a></li>
<li><a href="energy-consumption.html">Energy Consumption</a></li>
<li><a href="peak-load-management.html">Peak Load Management</a></li>
<!-- <li><a href="real-time-monitoring.html">Real-Time Monitoring</a></li> -->
<li><a href="settings.html">Settings</a></li>
<li><a href="user-management.html">Users</a></li>
<li><a href="notifications.html">Notifications</a></li>
<li><a href="about-us.html">About Us</a></li>
<li><a href="contact-us.html">Contact Us</a></li>
</ul>
</nav>
</div>
</header>
<div class="container1">
<!-- Page Title -->
<h1>Dashboard</h1>
<h2>Overview of Energy Management</h2>
<!-- Search Bar -->
<div class="search-bar">
<input type="text" id="classNumberInput" placeholder="Enter class number...">
<button onclick="searchClass()">Search</button>
</div>
<div class="instructions">
Enter the class number and click "Search" to view the report in a new window.
</div>
<!-- Class Report -->
<div class="class-report" id="classReport" style="display: none;">
<h2>Class Report</h2>
<p id="reportDetails">Report details will be shown here...</p>
</div>
<!-- Summary Overview -->
<div class="section">
<h2>Summary Overview</h2>
<div class="summary-cards">
<div class="summary-card">
<h3>Total Energy Consumed</h3>
<p id="totalEnergy">56,000 watts (56 kW)</p>
</div>
<div class="summary-card">
<h3>Total Savings</h3>
<p id="totalSavings">16800 Rs</p>
</div>
<div class="summary-card">
<h3>Current Power Usage</h3>
<p id="currentPowerUsage">150 kWh</p>
</div>
</div>
</div>
<!-- Power Distribution -->
<div class="section">
<h2>Power Distribution for Each Component</h2>
<div class="summary-cards">
<div class="summary-card">
<h3>Total Power for Fans</h3>
<p id="totalFansPower">28,800 watts</p>
</div>
<div class="summary-card">
<h3>Total Power for Lights</h3>
<p id="totalLightsPower">3,200 watts</p>
</div>
<div class="summary-card">
<h3>Total Power for Projectors</h3>
<p id="totalProjectorsPower">24,000 watts</p>
</div>
</div>
</div>
<!-- Real-Time Data Visualization -->
<div class="section">
<h2>Real-Time Data Visualization</h2>
<div class="chart-container">
<canvas id="liveChart"></canvas>
</div>
</div>
<!-- Historical Data and Trends -->
<div class="section">
<h2>Historical Data and Trends</h2>
<div class="chart-container">
<canvas id="historicalChart"></canvas>
</div>
</div>
<!-- Peak Load Management -->
<div class="section">
<h2>Peak Load Management</h2>
<div class="alert">
<h3>Peak Load Insights</h3>
<p id="peakLoadForecast">Upcoming peak load forecast details...</p>
</div>
<div class="alert">
<h3>Alerts</h3>
<ul id="peakLoadAlerts">
<li>Alert 1: Peak load expected at 6 PM</li>
<li>Alert 2: High usage in last hour</li>
</ul>
</div>
</div>
<!-- Energy Savings and Efficiency -->
<div class="section">
<h2>Energy Savings and Efficiency</h2>
<div class="chart-container">
<canvas id="savingsChart"></canvas>
</div>
</div>
<!-- Alerts and Notifications -->
<div class="section">
<h2>Alerts and Notifications</h2>
<div class="alert">
<h3>Recent Alerts</h3>
<ul id="recentAlerts">
<li>System Alert: Power outage detected</li>
<li>Energy Anomaly: Unusual consumption pattern</li>
</ul>
</div>
</div>
<!-- Quick Actions and Controls -->
<div class="section">
<h2>Quick Actions and Controls</h2>
<div class="action-buttons">
<button id="configureAlerts">Configure Alerts</button>
<button id="viewReports">View Reports</button>
<button id="adjustSettings">Adjust Settings</button>
</div>
</div>
<!-- User Summary -->
<div class="section user-profile">
<h2>User Profile</h2>
<h3>Username: <span id="username">John Doe</span></h3>
<a href="#manageAccountSettings">Manage Account Settings</a>
</div>
<!-- Footer -->
<div class="footer">
<a href="#helpSupport">Help & Support</a>
<a href="#contactUs">Contact Us</a>
<a href="#privacyPolicy">Privacy Policy</a>
</div>
</div>
<script>
const ctxLive = document.getElementById('liveChart').getContext('2d');
const ctxHistorical = document.getElementById('historicalChart').getContext('2d');
const ctxSavings = document.getElementById('savingsChart').getContext('2d');
const liveChart = new Chart(ctxLive, {
type: 'line',
data: {
labels: ['Now', '1 min ago', '2 min ago', '3 min ago', '4 min ago'],
datasets: [{
label: 'Live Energy Usage (kWh)',
data: [50, 55, 53, 60, 65],
backgroundColor: 'rgba(76, 175, 80, 0.2)',
borderColor: 'rgba(76, 175, 80, 1)',
borderWidth: 2,
fill: true
}]
},
options: {
responsive: true,
plugins: {
tooltip: {
callbacks: {
label: function(tooltipItem) {
return `${tooltipItem.formattedValue} kWh`;
}
}
}
},
scales: {
x: {
display: true
},
y: {
beginAtZero: true
}
}
}
});
const historicalChart = new Chart(ctxHistorical, {
type: 'line',
data: {
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [{
label: 'Historical Energy Usage (kWh)',
data: [65, 59, 80, 81, 56, 55, 40],
backgroundColor: 'rgba(33, 150, 243, 0.2)',
borderColor: 'rgba(33, 150, 243, 1)',
borderWidth: 2,
fill: true
}]
},
options: {
responsive: true,
plugins: {
tooltip: {
callbacks: {
label: function(tooltipItem) {
return `${tooltipItem.formattedValue} kWh`;
}
}
}
},
scales: {
x: {
beginAtZero: true
},
y: {
beginAtZero: true
}
}
}
});
const savingsChart = new Chart(ctxSavings, {
type: 'bar',
data: {
labels: ['Week 1', 'Week 2', 'Week 3', 'Week 4'],
datasets: [{
label: 'Energy Savings ($)',
data: [50, 60, 70, 80],
backgroundColor: 'rgba(255, 193, 7, 0.2)',
borderColor: 'rgba(255, 193, 7, 1)',
borderWidth: 1
}]
},
options: {
responsive: true,
plugins: {
tooltip: {
callbacks: {
label: function(tooltipItem) {
return `$${tooltipItem.formattedValue}`;
}
}
}
},
scales: {
x: {
beginAtZero: true
},
y: {
beginAtZero: true
}
}
}
});
// JavaScript for handling search
function searchClass() {
const classNumber = document.getElementById('classNumberInput').value;
const reportDetails = document.getElementById('reportDetails');
const classReport = document.getElementById('classReport');
// Dummy data for demonstration
const classReports = {
'101': 'Report for Class 101: Details about energy usage and savings.',
'102': 'Report for Class 102: Details about energy consumption and efficiency.',
'103': 'Report for Class 103: Insights into energy management and savings.'
};
if (classReports[classNumber]) {
reportDetails.textContent = classReports[classNumber];
classReport.style.display = 'block';
} else {
reportDetails.textContent = 'No report found for the given class number.';
classReport.style.display = 'block';
}
}
function searchClass() {
const classNumber = document.getElementById('classNumberInput').value;
const reportDetails = document.getElementById('reportDetails');
const classReport = document.getElementById('classReport');
const reports = {
'1': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 720 watts',
'2': 'Fans: 5 (300 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 680 watts',
'3': 'Fans: 6 (360 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (300 watts)<br>Total: 710 watts',
'4': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 780 watts',
'5': 'Fans: 7 (420 watts)<br>Lights: 10 (100 watts)<br>Computers: 5 (1250 watts)<br>Total: 1770 watts',
'6': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (200 watts) (lower power projector)<br>Total: 620 watts',
'7': 'Fans: 5 (300 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 660 watts',
'8': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 770 watts',
'9': 'Fans: 8 (480 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 840 watts',
'10': 'Fans: 6 (360 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (300 watts)<br>Total: 710 watts',
'11': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 780 watts',
'12': 'Fans: 6 (360 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (300 watts)<br>Total: 730 watts',
'13': 'Fans: 5 (300 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 680 watts',
'14': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (250 watts) (lower power projector)<br>Total: 670 watts',
'15': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 720 watts',
'16': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 780 watts',
'18': 'Fans: 7 (420 watts)<br>Lights: 10 (100 watts)<br>Computers: 5 (1250 watts)<br>Total: 1770 watts',
'19': 'Fans: 5 (300 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 660 watts',
'20': 'Fans: 6 (360 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (300 watts)<br>Total: 730 watts',
'21': 'Fans: 5 (300 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (300 watts)<br>Total: 650 watts',
'22': 'Fans: 7 (420 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 800 watts',
'23': 'Fans: 6 (360 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (250 watts) (lower power projector)<br>Total: 660 watts',
'24': 'Fans: 8 (480 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 840 watts',
'25': 'Fans: 6 (360 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (300 watts)<br>Total: 730 watts',
'26': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 720 watts',
'27': 'Fans: 5 (300 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (200 watts) (lower power projector)<br>Total: 560 watts',
'28': 'Fans: 7 (420 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (300 watts)<br>Total: 770 watts',
'29': 'Fans: 6 (360 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 780 watts',
'30': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 720 watts',
'31': 'Fans: 5 (300 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (300 watts)<br>Total: 670 watts',
'32': 'Fans: 6 (360 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 740 watts',
'33': 'Fans: 7 (420 watts)<br>Lights: 10 (100 watts)<br>Computers: 5 (1250 watts)<br>Total: 1770 watts',
'34': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 780 watts',
'35': 'Fans: 6 (360 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 760 watts',
'36': 'Fans: 6 (360 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 740 watts',
'37': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 780 watts',
'38': 'Fans: 5 (300 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (300 watts)<br>Total: 650 watts',
'39': 'Fans: 6 (360 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (250 watts) (lower power projector)<br>Total: 680 watts',
'40': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 770 watts',
'41': 'Fans: 5 (300 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (250 watts) (lower power projector)<br>Total: 630 watts',
'42': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 770 watts',
'43': 'Fans: 6 (360 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 740 watts',
'44': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 780 watts',
'45': 'Fans: 5 (300 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 700 watts',
'46': 'Fans: 6 (360 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (300 watts)<br>Total: 730 watts',
'47': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 720 watts',
'48': 'Fans: 5 (300 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (200 watts) (lower power projector)<br>Total: 560 watts',
'49': 'Fans: 7 (420 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 800 watts',
'50': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 720 watts',
'51': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 720 watts',
'52': 'Fans: 5 (300 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 680 watts',
'53': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 780 watts',
'54': 'Fans: 6 (360 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 760 watts',
'55': 'Fans: 7 (420 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (300 watts)<br>Total: 790 watts',
'56': 'Fans: 5 (300 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 660 watts',
'57': 'Fans: 6 (360 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 740 watts',
'58': 'Fans: 7 (420 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (300 watts)<br>Total: 770 watts',
'59': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 720 watts',
'60': 'Fans: 7 (420 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 800 watts',
'61': 'Fans: 5 (300 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (200 watts) (lower power projector)<br>Total: 560 watts',
'62': 'Fans: 6 (360 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 740 watts',
'63': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 780 watts',
'64': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 770 watts',
'65': 'Fans: 5 (300 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (250 watts) (lower power projector)<br>Total: 630 watts',
'66': 'Fans: 7 (420 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 820 watts',
'67': 'Fans: 6 (360 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (300 watts)<br>Total: 730 watts',
'68': 'Fans: 6 (360 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (300 watts)<br>Total: 710 watts',
'69': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 830 watts',
'70': 'Fans: 6 (360 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (300 watts)<br>Total: 730 watts',
'71': 'Fans: 5 (300 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (200 watts) (lower power projector)<br>Total: 560 watts',
'72': 'Fans: 6 (360 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 740 watts',
'73': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 780 watts',
'74': 'Fans: 6 (360 watts)<br>Lights: 5 (50 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 760 watts',
'75': 'Fans: 7 (420 watts)<br>Lights: 7 (70 watts)<br>Projector: 1 (300 watts)<br>Total: 790 watts',
'76': 'Fans: 6 (360 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (350 watts) (higher power projector)<br>Total: 770 watts',
'77': 'Fans: 5 (300 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (250 watts) (lower power projector)<br>Total: 630 watts',
'78': 'Fans: 7 (420 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (300 watts)<br>Total: 780 watts',
'79': 'Fans: 6 (360 watts)<br>Lights: 8 (80 watts)<br>Projector: 1 (300 watts)<br>Total: 740 watts',
'80': 'Fans: 5 (300 watts)<br>Lights: 6 (60 watts)<br>Projector: 1 (250 watts) (lower power projector)<br>Total: 610 watts',
'staff1': 'Fans: 10 (600 watts)<br>Lights: 7 (70 watts)<br>Computers: 5 (1250 watts)<br>Total: 1920 watts',
'staff2': 'Fans: 10 (600 watts)<br>Lights: 7 (70 watts)<br>Computers: 5 (1250 watts)<br>Total: 1920 watts',
'staff3': 'Fans: 10 (600 watts)<br>Lights: 7 (70 watts)<br>Computers: 5 (1250 watts)<br>Total: 1920 watts',
'staff4': 'Fans: 10 (600 watts)<br>Lights: 7 (70 watts)<br>Computers: 5 (1250 watts)<br>Total: 1920 watts'
};
if (reports[classNumber]) {
reportDetails.innerHTML = reports[classNumber];
classReport.style.display = 'block';
} else {
reportDetails.innerHTML = 'Class number not found. Please enter a valid number.';
classReport.style.display = 'block';
}
}
</script>
</body>
</html>