-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
206 lines (182 loc) · 7.27 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
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
<!DOCTYPE html>
<html>
<head>
<meta name="generator"
content="HTML Tidy for Linux/x86 (vers 25 Marcsh 2009), see www.w3.org">
<link type="text/css"
rel="stylesheet"
href="css/stylesheet.css">
<link rel="stylesheet"
type="text/css"
href="css/bootstrap.min.css">
<link rel="stylesheet"
type="text/css"
href="css/range.css">
<script src="js/jquery-1.11.3.js"
type="text/javascript">
</script>
<meta name="viewport"
content="width=device-width, initial-scale=1"
charset="utf-8">
<title></title>
</head>
<body style="background: #eee;" onload="loader();">
<div class="tabular-eg">
<ul class="nav nav-tabs"
id="myTab">
<li class="dropdown">
<a data-toggle="dropdown"
class="dropdown-toggle"
href="#">Thermal Diffusion</a>
<ul class="dropdown-menu">
<li><a data-toggle="tab"
href="#dropdown1">1 D</a></li>
<li><a data-toggle="tab"
href="#dropdown2"
class="active">2 D</a></li>
</ul>
</li>
<li><a data-toggle="tab"
href="#sectionA">Phase Field</a></li>
<li><a data-toggle="tab"
href="#sectionB">Section B</a></li>
</ul>
<div class="tab-content">
<div id="sectionA"
class="tab-pane fade in active">
<h3>Section A</h3>
<p>Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american
apparel, butcher voluptate nisi qui. Raw denim you probably haven't heard of them
jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse.
Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit
butcher retro keffiyeh dreamcatcher synth.</p>
</div>
<div id="sectionB"
class="tab-pane fade">
<h3>Section B</h3>
<p>Vestibulum nec erat eu nulla rhoncus fringilla ut non neque. Vivamus nibh
urna, ornare id gravida ut, mollis a magna. Aliquam porttitor condimentum nisi,
eu viverra ipsum porta ut. Nam hendrerit bibendum turpis, sed molestie mi
fermentum id. Aenean volutpat velit sem. Sed consequat ante in rutrum convallis.
Nunc facilisis leo at faucibus adipiscing.</p>
</div>
<div id="dropdown1"
class="tab-pane fade">
<div id="head">
<h1 style="color: white; font-size: 50px;">HEAT EQUATION</h1>
</div>
<fieldset class="block"
style=
"float: left; border-color: white; margin-left: 50px; width: 60%;">
<legend class="legend">Temperature <span id="temp"></span></legend>
<!-- h2 style="text-align:left">TEMPERATURE</h2 -->
<canvas id="canvas" onmouseover="runCoord(event)" onmousemove="runCoord(event);" onmouseout="exitCoords(event);">Error Loading</canvas>
<p id="timer"></p>
<canvas id="graph" onmouseover="runCoord(event)" onmousemove="runCoord(event);" onmouseout="exitCoords(event);">Error Loading</canvas>
</fieldset>
<form>
<fieldset class="block"
style="margin-right: 50px; background-color: #ddd; float: right;">
<legend class="legend">Control Panel</legend>
<div class="bound">
Resolution:<br>
<input type="range"
style="padding:10px 2px 10px 2px"
id="sliderValue"
max="100"
min="5"
value="50"
step="1">
<!--onchange="showValue();"--><span id="theValue"
style="text-align: center"></span><br>
</div>
<div class="bound">
Diffusivity:<br>
<input type="range"
style="padding:10px 2px 10px 2px"
id="diffValue"
max="100"
min="10"
value="50"
step="1"
><span id="diff"
style="text-align: center"></span><br>
</div>
<div id="radioB">
<button type="button"
style="width:30%"
class="btn btn-primary btn-lg"
onclick="func();">Play</button> <button type="button"
style="width:33%"
class="btn btn-danger btn-lg"
onclick="stop();"> Stop</button> <button type="button"
style="width:33%"
class="btn btn-success btn-lg"
onclick="refresh();"> Refresh</button>
</div>
<div class="bound">
Select the boundary conditions<br>
<input type="radio"
name="cond"
value="diric"
id="rdic"
checked="checked"> Dirichlet condition<br>
<input type="radio"
name="cond"
value="neuma"
id="rneu">
<!--onclick="changeCondition(2);"--> Neumann condition<br>
</div><!--div class="bound">
Maximum Temperature: <input type="text" class="form-control" placeholder=".col-lg-3" id="maxT">
Minimum Temperature: <input type="text" pattern="[0-9]*" value="500" class="form-control" placeholder=".col-lg-2" id="minT">
</div-->
<div class="row">
<div class="col-lg-6">
Minimum Temperature: <input type="text"
class="form-control"
onchange="refresh();"
pattern="[0-9]*"
value="500"
id="minT"
placeholder="Minimum">
</div>
<div class="col-lg-6">
Maximum Temperature: <input type="text"
class="form-control"
onchange="refresh();"
pattern="[0-9]*"
value="1000"
id="maxT"
placeholder="Maximum">
</div>
</div><!--div class="progress" style=" border:1px solid black;">
<div class="progress-bar" style="width: 60%;">
<span class="sr-only">60% Complete</span>
</div-->
</fieldset>
</form>
</div>
<div id="divi">
<canvas id="graph" style = "border:1px solid black; width=100px; height=100px">error Loading Graph</canvas>
</div>
</div>
<div id="dropdown2"
class="tab-pane fade">
<h3>Dropdown 2</h3>
<p>Donec vel placerat quam, ut euismod risus. Sed a mi suscipit, elementum sem a,
hendrerit velit. Donec at erat magna. Sed dignissim orci nec eleifend egestas.
Donec eget mi consequat massa vestibulum laoreet. Mauris et ultrices nulla,
malesuada volutpat ante. Fusce ut orci lorem. Donec molestie libero in tempus
imperdiet. Cum sociis natoque penatibus et magnis dis parturient.</p>
</div>
</div>
</div>
<script src="js/tabs.js"
type="text/javascript">
</script><script src="js/script.js"
type="text/javascript">
</script><script src="js/bootstrap.min.js"
type="text/javascript">
</script>
</body>
</html>