-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
651 lines (568 loc) · 32.4 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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Telemachus / MkON</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, maximum-scale=1">
<link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="css/screen.css">
<script src="js/preloader.min.js"></script>
<script type="text/javascript">
var manifest;
if (window.devicePixelRatio > 1) { // its retina
manifest = [
'img/[email protected]',
'img/[email protected]',
'modules/th/thumbnails.jpg',
'img/noise.png',
'img/grid.png'
];
} else {
manifest = [
'img/sprites.png',
'img/logo.png',
'modules/th/thumbnails.jpg',
'img/noise.png',
'img/grid.png'
];
}
new preLoader(manifest, {
onProgress: function(src, element, index){
var donePercent = Math.floor((100 / this.queue.length) * this.completed.length);
console.log(donePercent + '% completed');
var statusText = document.getElementById('statusText');
statusText.innerHTML = donePercent + '%';
},
onComplete: function(loaded, errors){
console.log('Preloaded: ', loaded);
if (errors) {
errors && errors.length && console.log('Failed to load: ', errors);
var statusText = document.getElementById('statusText');
statusText.innerHTML = 'ERROR';
}
else {
var wrapper = document.getElementById('wrapper');
wrapper.className = wrapper.className + ' loaded';
var status = document.getElementById('status');
status.className = 'hide';
}
}
});
</script>
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- Force Preload Fonts -->
<span style="font-family:'BebasNeue'; color:transparent;">BebasNeue</span>
<span style="font-family:'FontAwesome'; color:transparent;">FontAwesome</span>
<!-- Status box for preloader -->
<div id="status">
<h2 id="statusText">
LOADING...
</h2>
</div>
<div id="wrapper">
<header>
<nav class="clearfix">
<ul id="menu" class="clearfix">
<li id="openList" class="link openList"><a class="lightText"><i class="fa-add"></i> ADD MODULES</a></li>
<li id="lockUnlock" data-state="unlocked" class="link lockUnlock"><a class="lightText"><i id="lockUnlockBtnIcon" class="fa-unlock fa-lg"></i></a></li>
<li id="exportModules" class="link exportOverlay"><a class="lightText"><i class="fa-import-export"></i> IMPORT / EXPORT</a></li>
<li id="clearModules" class="link clearOverlay"><a class="lightText"><i class="fa-clear"></i> CLEAR</a></li>
<li id="mobileMenu" class="link mobile"><a class="lightText"><i class="fa-menu openMobile"></i><i class="fa-angle-double-up fa-lg closeMobile"></i></a></li>
</ul>
</nav>
<!-- Yellow striped bar at bottom of header -->
<div class="stripedBar"><span class="end"></span></div>
<!-- Mainly for mobile devices -->
<div class="hitbox"></div>
</header>
<!-- Centre Logo -->
<div id="logo" class="animated-slow"></div>
<!-- Drop Zone for Removing Modules -->
<div id="removeZone" class="animated-fast"> <i class="fa fa-trash-o fa-2x trash"></i></div>
<!-- Overlay for lock/unlock state animation -->
<div id="lockUnlockWrapper" class="lockUnlockWrapper animated-cubic"><i class="fa fa-unlock fa-5x"></i><i class="fa fa-lock fa-5x"></i></div>
<!-- Vignette Overlay -->
<div id="overlayWrapper" class="overlayWrapper" style="display:none;">
</div>
<!-- AddModule Dialog -->
<div id="moduleList" style="display:none;">
<a id="closeButton" class="closeButton button lightText large square red no-toggle" data-defaultClass="red"><i class="fa fa-close"></i></a>
<div id="addModule" class="addModule">
<div class="moduleHeader">
<div class="filterWrapper">
<h3><i class="fa fa-filter"></i> FILTER </H3>
<div class="moduleFilter">
<select id="filterButton" class="filterButton" name="filterButton">
<option value="all">All</option>
<option value="buttons">Buttons</option>
<option value="screens">Screens</option>
<option value="scales">Scales</option>
<option value="resources">Resource</option>
<option value="dials">Dials</option>
<option value="utility">Utility</option>
</select>
</div>
</div>
</div>
<!-- Importable Modules List -->
<div id="moduleContainer" class="moduleContainer">
<ul>
<li class="item data-type-screen" data-name="Connection Status" data-type="screen" data-link="modules/connectionStatus.min.js" style="background-position:0px -1554px;">
<h4 class="title">
Connection Status
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
A screen showing current connection status and settings.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-utility" data-name="Spacer" data-type="none" data-link="modules/spacer.min.js" style="background-position:-222px 0px;">
<h4 class="title">
Spacer
<span class="type fa fa-square">
</span>
</h4>
<h5 class="desc">
A blank module to add space around other modules on the grid.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-utility" data-name="Panel" data-type="none" data-link="modules/panel.min.js" style="background-position:-444px -1332px;">
<h4 class="title">
Panel
<span class="type fa fa-square">
</span>
</h4>
<h5 class="desc">
A blank panel with screws to add space around other modules.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-button" data-name="Stage Button" data-type="screen" data-link="modules/stageButton.min.js" style="background-position:-222px -1554px;">
<h4 class="title">
Stage
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
A big red button that launches the next stage.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-button" data-name="Abort" data-type="button" data-link="modules/abortButton.min.js" style="background-position:-444px 0px;">
<h4 class="title">
Abort
<span class="type fa fa-caret-square-o-right">
</span>
</h4>
<h5 class="desc">
A pressable button that aborts the current mission.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-button" data-name="SAS" data-type="button" data-link="modules/sasButton.min.js" style="background-position:-666px 0px;">
<h4 class="title">
SAS
<span class="type fa fa-caret-square-o-right">
</span>
</h4>
<h5 class="desc">
Toggleable button for SAS.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-button" data-name="RCS" data-type="button" data-link="modules/rcsButton.min.js" style="background-position:0px -222px;">
<h4 class="title">
RCS
<span class="type fa fa-caret-square-o-right">
</span>
</h4>
<h5 class="desc">
Toggleable button for RCS.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-button" data-name="Lights" data-type="button" data-link="modules/lightButton.min.js" style="background-position:-222px -222px;">
<h4 class="title">
Lights
<span class="type fa fa-caret-square-o-right">
</span>
</h4>
<h5 class="desc">
Toggle button for ship lights.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-button" data-name="Landing Gear" data-type="button" data-link="modules/gearButton.min.js" style="background-position:-444px -222px;">
<h4 class="title">
Landing Gear
<span class="type fa fa-caret-square-o-right">
</span>
</h4>
<h5 class="desc">
Toggle button for landing gear.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-button" data-name="Brakes" data-type="button" data-link="modules/brakesButton.min.js" style="background-position:-666px -222px;">
<h4 class="title">
Brakes
<span class="type fa fa-caret-square-o-right">
</span>
</h4>
<h5 class="desc">
Pressable button for brakes.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-button" data-name="Action" data-type="button" data-link="modules/actionButton.min.js" style="background-position:0px -444px;">
<h4 class="title">
Action
<span class="type fa fa-caret-square-o-right">
</span>
</h4>
<h5 class="desc">
Pressable action button.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-scale" data-name="Atmospheric Density" data-type="scale" data-link="modules/atmosphericDensity.min.js" style="background-position:-222px -444px;">
<h4 class="title">
Atmospheric Density
<span class="type fa fa-arrows-h">
</span>
</h4>
<h5 class="desc">
Scale bar indicating air density outside ship.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-scale" data-name="Throttle" data-type="scale" data-link="modules/throttleScale.min.js" style="background-position:-444px -444px;">
<h4 class="title">
Throttle
<span class="type fa fa-arrows-h">
</span>
</h4>
<h5 class="desc">
Scale bar showing current throttle percentage.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-screen" data-name="Time Warp" data-type="screen" data-link="modules/timeWarp.min.js" style="background-position:-666px -1332px;">
<h4 class="title">
Time Warp
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
A screen indicating current time warp status.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-scale" data-name="Pitch" data-type="scale" data-link="modules/pitchScale.min.js" style="background-position:-666px -444px;">
<h4 class="title">
Pitch
<span class="type fa fa-arrows-h">
</span>
</h4>
<h5 class="desc">
Bar indicating current pitch angle.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-scale" data-name="Roll" data-type="scale" data-link="modules/rollScale.min.js" style="background-position:0px -666px;">
<h4 class="title">
Roll
<span class="type fa fa-arrows-h">
</span>
</h4>
<h5 class="desc">
Bar indicating current roll angle.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-scale" data-name="Heading Scale" data-type="scale" data-link="modules/headingScale.min.js" style="background-position:-222px -666px;">
<h4 class="title">
Heading Scale
<span class="type fa fa-arrows-h">
</span>
</h4>
<h5 class="desc">
Scrolling bar indicating current ship heading in degrees.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-screen" data-name="Orbital Info" data-type="screen" data-link="modules/orbitalInformation.min.js" style="background-position:-444px -666px;">
<h4 class="title">
Orbital Info
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
Apoapsis, periapsis, TTA/TTP, inclination, eccentricity and orbital Velocity.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-screen" data-name="Surface Info" data-type="screen" data-link="modules/surfaceInformation.min.js" style="background-position:-666px -666px;">
<h4 class="title">
Surface Info
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
Latitude, longitude, pitch, roll, heading, surface velocity and throttle.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-screen" data-name="Resource Info" data-type="screen" data-link="modules/resourceInformation.min.js" style="background-position:0px -888px;">
<h4 class="title">
Resource Info
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
Liquid fuel, oxidizer, electric charge & monopropellant.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-screen" data-name="Altitude Display" data-type="screen" data-link="modules/altitudeScreen.min.js" style="background-position:-222px -888px;">
<h4 class="title">
Altitude Display
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
Rotating display showing current radar altitude.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-screen" data-name="UTC Time" data-type="screen" data-link="modules/utcScreen.min.js" style="background-position:-444px -1554px;">
<h4 class="title">
UTC Time
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
A screen showing the universal time clock.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-screen" data-name="Mission Time" data-type="screen" data-link="modules/metScreen.min.js" style="background-position:-444px -888px;">
<h4 class="title">
Mission Time
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
A digital clock indicating the current mission time.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-screen" data-name="Velocity Screen" data-type="screen" data-link="modules/velocityDisplay.min.js" style="background-position:-666px -888px;">
<h4 class="title">
Velocity Display
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
A screen showing current orbital/surface velocity.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-resource" data-name="Liquid Fuel" data-type="resource" data-link="modules/fuelResource.min.js" style="background-position:0px -1110px;">
<h4 class="title">
Liquid Fuel
<span class="type fa fa-tasks">
</span>
</h4>
<h5 class="desc">
A scale bar showing overall liquid fuel.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-resource" data-name="Oxidizer" data-type="resource" data-link="modules/oxidizerResource.min.js" style="background-position:-222px -1110px;">
<h4 class="title">
Oxidizer
<span class="type fa fa-tasks">
</span>
</h4>
<h5 class="desc">
A scale bar showing overall oxidizer.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-resource" data-name="Electric Charge" data-type="resource" data-link="modules/electricChargeResource.min.js" style="background-position:-444px -1110px;">
<h4 class="title">
Electric Charge
<span class="type fa fa-tasks">
</span>
</h4>
<h5 class="desc">
A scale bar showing overall electric charge.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-resource" data-name="Monopropellant" data-type="resource" data-link="modules/monoResource.min.js" style="background-position:-666px -1110px;">
<h4 class="title">
Monopropellant
<span class="type fa fa-tasks">
</span>
</h4>
<h5 class="desc">
A scale bar showing overall monopropellant.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-resource" data-name="Custom" data-type="resource" data-link="modules/customResource.min.js" style="background-position:0px -1332px;">
<h4 class="title">
Custom
<span class="type fa fa-tasks">
</span>
</h4>
<h5 class="desc">
A scale bar that can show any resource in game.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-dial" data-name="Vertical Speed" data-type="dial" data-link="modules/verticalspeedDial.min.js" style="background-position:-222px -1332px;">
<h4 class="title">
Vertical Speed
<span class="type fa fa-clock-o">
</span>
</h4>
<h5 class="desc">
A small dial showing the current vertical velocity.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
<li class="item data-type-screen" data-name="Mini-Map" data-type="screen" data-link="modules/miniMap.min.js" style="background-position:-666px -1554px;">
<h4 class="title">
Mini-Map
<span class="type fa fa-list">
</span>
</h4>
<h5 class="desc">
A small map.
</h5>
<a class="addButton button lightText large square green no-toggle" data-defaultclass="green">
<i class="fa fa-plus">
</i>
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- Main Container for Gridster -->
<div id="gridsterWrapper" class="gridsterWrapper gridster">
<ul id="gridster">
<!-- Added Modules go here -->
</ul>
</div>
</div>
<script src="js/vendor/jquery-2.1.0.min.js"></script>
<script src="js/plugins.min.js"></script>
<script src="js/src/main.js"></script>
</body>
</html>