forked from sidoh/reactor_simulator_ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
276 lines (222 loc) · 9.94 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
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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>BigReactor simulator</title>
<meta name="description" content="A simlator for the Minecraft mod Big Reactors"/>
<link rel="stylesheet" href="assets/style/bootstrap.min.css">
<link rel="stylesheet" href="assets/style/bootstrap-theme.min.css">
<link rel="stylesheet" href="assets/style/jquery-ui.min.css">
<link rel="stylesheet" href="assets/style/jquery-ui.structure.min.css">
<link rel="stylesheet" href="assets/style/jquery-ui.theme.min.css">
<link rel="stylesheet" href="assets/style/cover.css"/>
<link rel="stylesheet" href="assets/style/main.css"/>
<script src="assets/scripts/jquery.min.js"></script>
<script src="assets/scripts/jquery.browser.min.js"></script>
<script src="assets/scripts/jquery.ba-hashchange.min.js"></script>
<script src="assets/scripts/jquery-ui.min.js"></script>
<script src="assets/scripts/bootstrap.min.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="assets/scripts/html5shiv.min.js"></script>
<script src="assets/scripts/respond.min.js"></script>
<![endif]-->
<script src="assets/scripts/nav.js"></script>
<script src="assets/scripts/reactor_simulator.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-58149880-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="site-wrapper">
<div class="site-wrapper-inner">
<div class="site-container">
<div class="masthead clearfix">
<div class="inner">
<h3 class="masthead-brand">BigReactor Simulator</h3>
<div id="reactor-title"></div>
<nav>
<ul class="nav masthead-nav">
<li><a href="#" data-page="reactor-prompt">New Reactor</a></li>
<li><a href="#" data-page="about">About</a></li>
</ul>
</nav>
</div>
</div>
<div class="content-wrapper">
<div id="reactor-controls">
<div id="controls-tabs" class="tab-container">
<ol class="tab-controls">
<li class="active" data-for="design">Design</li>
<li data-for="controls">Controls</li>
</ol>
<div class="tab active" data-tab-name="design">
<div id="grid-selection"> </div>
<div id="controls-grid"></div>
<div id="fill-controls">
<button type="button" class="btn btn-default" id="fill">
<span class="glyphicon glyphicon-tint" aria-hidden="true"></span> Fill
</button>
<button type="button" class="btn btn-default" id="simulate">
<span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Simulate
</button>
</div>
</div>
<div class="tab" data-tab-name="controls">
<div class="r-input-group">
<div class="input-container">
<input type="checkbox" name="activelyCooled" id="activelyCooled"/>
<label for="activelyCooled" class="checkbox-label">Actively Cooled</label>
</div>
<div class="input-container">
<label for="control-rod-insertion">Control Rod Insertion</label>
<div id="control-rod-insertion"></div>
<span id="control-rod-insertion-value">0%</span>
</div>
<div class="input-container">
<label>Modpack</label>
<div>
<ul id="modpack" class="toggle-modes">
</ul>
</div>
</div>
</div>
</div>
</div>
<div id="simulation-results">
<div class="tab-container">
<ol class="tab-controls">
<li class="active" data-for="output">Results</li>
<li data-for="costs">Costs</li>
</ol>
<div class="tab active" data-tab-name="output">
<div class="loading-animation simulation"></div>
<ul>
<li data-for="fuelHeat">
<span class="ico ico-temperature"></span>
<span class="value">-</span>
<span class="unit">C</span>
</li>
<li id="passiveCoolingOutput" data-for="output" class="passive-only">
<span class="ico ico-energy"></span>
<span class="value">-</span>
<span class="unit">RF/t</span>
</li>
<li id="activeCoolingOutput" data-for="output" class="active-only">
<span class="ico ico-hotFluid"></span>
<span class="value">-</span>
<span class="unit">mB/t</span>
</li>
<li data-for="fuelConsumption">
<span class="ico ico-consumption"></span>
<span class="value">-</span>
<span class="unit">mB/t</span>
</li>
<li data-for="fuelFertility">
<span class="ico ico-fertility"></span>
<span class="value">-</span>
<span class="unit">%</span>
</li>
</ul>
<h4>Efficiency</h4>
<ul>
<li data-for="outputPerFuel" class="passive-only">
<span class="value">-</span>
<span class="unit">RF/mB</span>
</li>
<li data-for="outputPerFuel" class="active-only">
<span class="value">-</span>
<span class="unit">mB/mB</span>
</li>
<li data-for="outputPerBlock" class="passive-only">
<span class="value">-</span>
<span class="unit">RF/block</span>
</li>
<li data-for="outputPerBlock" class="active-only">
<span class="value">-</span>
<span class="unit">mB/block</span>
</li>
<li data-for="outputPerFuelPerBlock" class="passive-only">
<span class="value">-</span>
<span class="unit">RF/mB/block</span>
</li>
<li data-for="outputPerFuelPerBlock" class="active-only">
<span class="value">-</span>
<span class="unit">mB/mB/block</span>
</li>
</ul>
</div>
<div class="tab" data-tab-name="costs">
<ul id="costs-mode" class="toggle-modes">
<li class="active" data-option="breakdown">Breakdown</li>
<li data-option="totals">Totals</li>
</ul>
<div class="clearfix"></div>
<div id="costs-area"></div>
</div>
</div>
</div>
<div id="error-area"></div>
</div>
<div id="page-container">
<div class="page" id="about">
<div class="center-page">
<div class="credits">
<h4>BigReactor Simulator</h4>
By <a href="http://github.com/sidoh">sidoh</a>
<h4>Credits</h4>
<p><a href="https://github.com/erogenousbeef/BigReactors">BigReactors</a> by <a
href="https://github.com/erogenousbeef">erogenousbeef</a></p>
<p>Textures from BigReactors and <a href="https://github.com/CoFH/ThermalFoundation">CoFH</a></p>
<p>Simulator code adapted from code by <a href="https://github.com/pwestling">pwestling</a></p>
<p><a href="http://www.dafont.com/minecraftia.font">Minecraftia</a> font by <a
href="http://www.dafont.com/andrew-tyler.d2526">Andrew Tyler</a></p>
</div>
</div>
</div>
<div class="inner cover page" id="reactor-design">
<div id="reactor-area"></div>
</div>
<div class="inner cover page" id="reactor-prompt">
<form id="reactor-prompt-form">
<div class="r-input-group">
<h4>Reactor dimensions</h4>
<div class="dim-prompt">
<label for="length">Length</label>
<input type="text" name="length" id="length" value="5"/>
</div>
<div class="dim-prompt">
<label for="width">Width</label>
<input type="text" name="width" id="width" value="5"/>
</div>
<div class="dim-prompt">
<label for="height">Height</label>
<input type="text" name="height" id="height" value="5"/>
</div>
<p class="info">
Dimensions define the interior of the reactor (i.e., they exclude dimensions of the casing).
</p>
</div>
<div class="buttons">
<button type="button" class="btn btn-default" id="create-reactor">
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Create
</button>
<button type="button" class="btn btn-default" id="new-design-cancel">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Cancel
</button>
</div>
</form>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</body>
</html>