-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (93 loc) · 4.08 KB
/
index.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
<!--
github: https://github.com/espmaniac/parallelserieshtml5
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ParallelSeries</title>
<meta name="keywords" content="ParallelSeries, equivalent resistance, equivalent capacitance, equivalent inductance, delta star transform, parallel connection, series connection, resistance calculator, capacitance calculator, inductance calculator, resistor network solver, capacitor network solver, inductor network solver">
<link rel="icon" href="logo/favicon.svg" sizes="any" type="image/svg+xml">
<link rel="shortcut icon" href="logo/favicon16x16.ico" type="image/x-icon">
<link rel="shortcut icon" href="logo/favicon32x32.ico" type="image/x-icon">
<link rel="shortcut icon" href="logo/favicon96x96.ico" type="image/x-icon">
<link rel="shortcut icon" href="logo/favicon180x180.ico" type="image/x-icon">
<link rel="shortcut icon" href="logo/favicon512x512.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/main.css">
</head>
<body>
<div id="chooseComponent">
<h1>Choose a component</h1>
<div id="components">
<button id="resistor" ></button>
<button id="capacitor"></button>
<button id="inductor"></button>
</div>
</div>
<div id="header">
<div id="left">
<button id="open">Open</button>
<button id="save">Save</button>
<button id="matrix">Matrix</button>
<button id="calculate">Calculate</button>
</div>
<a href="https://github.com/espmaniac/parallelserieshtml5" target="_blank"><img src="icons/github.png" alt="github" srcset="" id="github"></a>
<div id="right">
<button id="clear">Clear</button>
</div>
</div>
<div id="scheme">
<div id="tools">
<div id="mainTools">
<button id="cursorTool" class="active">
<img src="icons/cursor.svg" alt="" srcset="" width="40" height="20">
</button>
<button id="selectionTool">
<img src="icons/selection.svg" alt="" srcset="" width="40" height="20">
</button>
<button id="wireTool">
<img src="icons/wire.svg" alt="" srcset="" width="40" height="20">
</button>
</div>
<div id="nodeTools">
<button id="startNode">
<img src="icons/node.svg" alt="" width="40" height="20">
<p>StartNode</p>
</button>
<button id="junction">
<img src="icons/junction.svg" alt="" width="40" height="20">
<p>Junction</p>
</button>
<button id="endNode">
<img src="icons/node.svg" alt="" width="40" height="20">
<p>EndNode</p>
</button>
</div>
</div>
<canvas id="myCanvas"></canvas>
</div>
<div id="form">
<textarea name="" id="inp" cols="1" rows="1" placeholder="expression"></textarea>
<button id="calc"> = </button>
</div>
<div id="answer">
<h2 id="result">Answer: 42</h2>
</div>
<div id="contextMenu">
<ul id="ctxUL"></ul>
</div>
<script src="scripts/parallelseries.js" defer></script>
<script src="scripts/main.js" defer></script>
<script src="scripts/scheme.js" defer></script>
<script src="scripts/tool_manager.js" defer></script>
<script src="scripts/context_menu.js" defer></script>
<script src="scripts/connector.js" defer></script>
<script src="scripts/command.js" defer></script>
<script src="scripts/component.js" defer></script>
<script src="scripts/junction.js" defer></script>
<script src="scripts/node.js" defer></script>
<script src="scripts/text.js" defer></script>
<script src="scripts/wire.js" defer></script>
</body>
</html>