-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (31 loc) · 1.42 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
<!DOCTYPE html>
<html>
<head>
<title>SPEAR MCT</title>
<link rel="icon" type="image/png" href="images/logo-spear.png">
<script src="node_modules/openmct/dist/openmct.js"></script>
<script src="lib/http.js"></script> <!-- Tempted to get rid of this and replace with AJAX -->
<script type="text/javascript" src="plugins/modules.js"></script>
<script type="text/javascript" src="plugins/liveTelemetry.js"></script>
<script type="text/javascript" src="plugins/telemetryHistory.js"></script>
<script src="node_modules/openmct-map/dist/openmct-map.js"></script>
</head>
<body>
<script>
openmct.setAssetPath('node_modules/openmct/dist');
openmct.install(openmct.plugins.Espresso()); // Dark theme
openmct.install(openmct.plugins.LocalStorage()); // Custom Items and Browser Storage for said items
openmct.install(openmct.plugins.MyItems());
openmct.install(openmct.plugins.UTCTimeSystem()); // Time for graphs.
openmct.time.clock('local', {start: -5 * 60 * 1000, end: 0}); // show up to 5 min before
openmct.time.timeSystem('utc');
openmct.install(openmct.plugins.Generator()); // Loading Assorted plugins
openmct.install(openmct.plugins.SummaryWidget());
openmct.install(OpenMCTMapPlugin());
openmct.install(ModulePlugin()); // Loading Plugins for the main usecase
openmct.install(RealtimeTelemetryPlugin());
openmct.install(HistoricalTelemetryPlugin());
openmct.start();
</script>
</body>
</html>