-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
87 lines (80 loc) · 3.6 KB
/
index.html
File metadata and controls
87 lines (80 loc) · 3.6 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>PanelCheck Pro</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<aside class="sidebar">
<div class="brand">
<div class="brand-mark">P</div>
<div><strong>PanelCheck</strong><span>Pro</span></div>
</div>
<nav>
<a class="active" href="#schedule">Panel Schedule</a>
<a href="#checks">Load Checks</a>
<a href="#phase">Phase Balance</a>
<a href="#reports">Reports</a>
</nav>
<div class="profile">
<span>Panel</span>
<strong>DB-01 Workshop</strong>
<small>Checked 2026-05-24</small>
</div>
</aside>
<main>
<header class="topbar">
<div>
<h1>Electrical Panel Load Check</h1>
<p>Check circuit loading, panel capacity, phase balance, and warnings.</p>
</div>
<label>Supply <select><option>400/230 V 3-Phase</option></select></label>
<div class="status"><span></span> Check Complete</div>
</header>
<section class="grid">
<section class="panel schedule" id="schedule">
<div class="panel-title"><h2>Circuit Schedule</h2><button id="addCircuit" type="button">Add Circuit</button></div>
<div class="table-wrap">
<div class="head"><span>Circuit</span><span>Phase</span><span>Breaker A</span><span>Load W</span><span>Demand</span><span>Status</span></div>
<div id="circuitRows"></div>
</div>
</section>
<section class="panel settings" id="checks">
<div class="panel-title"><h2>Panel Settings</h2></div>
<div class="form-grid">
<label>Main Breaker <span><input id="mainBreaker" type="number" value="100" /> A</span></label>
<label>Voltage L-N <span><input id="voltage" type="number" value="230" /> V</span></label>
<label>Diversity <span><input id="diversity" type="number" value="90" /> %</span></label>
</div>
<dl>
<div><dt>Total connected</dt><dd id="connected">22.8 kW</dd></div>
<div><dt>Demand load</dt><dd id="demand">15.7 kW</dd></div>
<div><dt>Total demand</dt><dd id="demandA">68.3 A</dd></div>
<div><dt>Spare capacity</dt><dd id="spare">31.7 A</dd></div>
</dl>
</section>
<section class="panel results" id="reports">
<div class="panel-title"><h2>Results</h2><span id="badge">Warnings</span></div>
<div class="metrics">
<article><span>Panel Load</span><strong id="panelLoad">68%</strong></article>
<article><span>Phase Imbalance</span><strong id="imbalance">27%</strong></article>
<article><span>Overloaded</span><strong id="overloaded">1</strong></article>
<article><span>Spare Capacity</span><strong id="spareCard">31.7 A</strong></article>
</div>
<div class="warning-box"><span>!</span><p id="warningText">Phase imbalance exceeds 20%; redistribute single-phase circuits.</p></div>
</section>
<section class="panel chart-panel" id="phase">
<div class="panel-title"><h2>Phase Loading</h2></div>
<canvas id="phaseChart" width="760" height="310"></canvas>
</section>
<section class="panel chart-panel">
<div class="panel-title"><h2>Circuit Load Breakdown</h2></div>
<canvas id="circuitChart" width="760" height="310"></canvas>
</section>
</section>
</main>
<script src="app.js"></script>
</body>
</html>