-
Notifications
You must be signed in to change notification settings - Fork 1
/
start.html
174 lines (160 loc) · 5.25 KB
/
start.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
<html>
<head>
<title>Resistive Circuit Solver</title>
<meta charset="UTF-8" />
<title>Resistive Circuit Solver</title>
<link
type="text/css"
rel="stylesheet"
href="./css/aristo/jquery-ui-1.8.16.custom.css"
/>
<link type="text/css" rel="stylesheet" href="./css/jquery.layout.css" />
<link type="text/css" rel="stylesheet" href="./css/application.css" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
crossorigin="anonymous"
/>
<link rel="icon" href="css/icons/microchip.png" type="image/icon type" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=PT+Sans:wght@700&display=swap"
rel="stylesheet"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/7.3.0/math.min.js"></script>
<!-- Change this to CDN -->
<script src="./lib/jquery.js"></script>
<script src="./lib/jquery-ui.js"></script>
<script src="./lib/jquery.browser.js"></script>
<script src="./lib/jquery.layout.js"></script>
<script src="draw2d.js"></script>
<script src="LabelConnection.js"></script>
<script src="VoltageSource.js"></script>
<script src="Resistor.js"></script>
<script src="CurrentSource.js"></script>
<script src="CCVS_Gen.js"></script>
<script src="CCVS_Vs.js"></script>
<script src="CCCS_Gen.js"></script>
<script src="CCCS_Vs.js"></script>
<script src="VCCS.js"></script>
<script src="VCVS.js"></script>
<script src="MyInterceptorPolicy.js"></script>
<script src="./gui/Application.js"></script>
<script src="./gui/View.js"></script>
<script src="./gui/Toolbar.js"></script>
<script src="./gui/HoverConnection.js"></script>
<script></script>
</head>
<body id="container">
<div id="navbar">
<nav class="navbar navbar-expand-lg navbar-dark">
<a class="navbar-brand" href="index.html"
><h3>Resistive circuit solver</h3></a
>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.html"><h5>Home</h5></a>
</li>
<li class="nav-item">
<a class="nav-link" href="docs.html"><h5>Docs</h5></a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html"><h5>Contact</h5></a>
</li>
<li class="nav-item">
<a class="nav-link" href="feedback.html"><h5>Feedback</h5></a>
</li>
<!-- <button class="show" aria-haspopup="true">Show Modal</button> -->
</ul>
</div>
</nav>
</div>
<div id="content">
<div
id="toolbar"
class="navbar sticky-top navbar-expand-lg navbar-dark"
></div>
<div id="canvas" class="" style="width: 3000px; height: 3000px"></div>
</div>
<div id="navigation" class="">
<h4 style="padding-top: 10%">COMPONENTS</h4>
<div data-shape="Resistor" class="palette_node_element draw2d_droppable">
Resistor
</div>
<div
data-shape="CurrentSource"
class="palette_node_element draw2d_droppable"
>
Current Src
</div>
<div
data-shape="VoltageSource"
class="palette_node_element draw2d_droppable"
>
Voltage Src
</div>
<div data-shape="VCCS" class="palette_node_element draw2d_droppable">
VCCS
</div>
<div data-shape="VCVS" class="palette_node_element draw2d_droppable">
VCVS
</div>
<div data-shape="CCCS_Gen" class="palette_node_element draw2d_droppable">
CCCS_Gen
</div>
<div data-shape="CCCS_Vs" class="palette_node_element draw2d_droppable">
CCCS_Vs
</div>
<div data-shape="CCVS_Gen" class="palette_node_element draw2d_droppable">
CCVS_Gen
</div>
<div data-shape="CCVS_Vs" class="palette_node_element draw2d_droppable">
CCVS_Vs
</div>
</div>
<div class="mask" role="dialog"></div>
<div class="modal" id="svg" role="alert">
<button class="close" role="button">X</button>
<img
class="shadow"
id="preview"
style="
border-radius: 5px;
overflow: auto;
background: white;
width: 900px;
height: 500px;
border: 3px solid gray;
"
/>
<div id="output"></div>
</div>
<pre
id="json"
style="
overflow: auto;
position: absolute;
top: 100px;
right: 10px;
width: 350;
height: 500;
background: white;
border: 1px solid gray;
"
></pre>
<script src="index.js"></script>
</body>
</html>