This repository has been archived by the owner on Feb 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
176 lines (165 loc) · 7.89 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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>TechSwarm mission control</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="js/highcharts-custom.js"></script>
<script type="text/javascript" src="js/semantic.min.js"></script>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3"></script>
<script type="text/javascript" src="js/tswebapp.js"></script>
<script type="text/javascript" src="js/tswebadmin.js"></script>
<link rel="stylesheet" type="text/css" href="css/semantic.min.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="shortcut icon" href="//www.techswarm.org/favicon.png">
<link rel="shortcut icon" href="//www.techswarm.org/favicon.ico">
</head>
<body class="ui pushable">
<div class="ui vertical sidebar menu left overlay" id="sidebar">
<div class="item logo image"><img src="logo.png"></div>
<a class="active item" data-tab="dashboard">Live</a>
<a class="item" data-tab="telemetry">Telemetry</a>
<a class="item" data-tab="planetary-data">Planetary data</a>
<a class="item" data-tab="photos">Photos</a>
</div>
<div class="ui fixed main menu">
<a class="item right" href="http://www.techswarm.org"><i class="home icon"></i>www.techswarm.org</a>
<a class="view-sidebar item"><i class="sidebar icon"></i>Menu</a>
<div class="title item">
<b>TechSwarm Mission Control</b>
</div>
</div>
<div class="info segment">
<div class="menu-bar-space"></div>
<div class="ui status">
<table>
<tr>
<td>Server:</td>
<td><span id="status-server"> Connecting</span></td>
<td rowspan="2">
<div class="ui active inline loader"></div>
</td>
</tr>
<tr>
<td>CanSat:</td>
<td><span id="status-cansat"> – </span></td>
</tr>
</table>
</div>
<div id="mission-phase" class="ui small steps">
<div class="disabled step">
<i class="settings icon"></i>
<div class="content">
<div class="title">Launch preparation</div>
<div class="description"></div>
</div>
</div>
<div class="disabled step">
<i class="rocket icon"></i>
<div class="content">
<div class="title">Launch</div>
<div class="description"></div>
</div>
</div>
<div class="disabled step">
<i class="space shuttle icon"></i>
<div class="content">
<div class="title">Descent</div>
<div class="description"></div>
</div>
</div>
<div class="disabled step">
<i class="world icon"></i>
<div class="content">
<div class="title">Ground operations</div>
<div class="description"></div>
</div>
</div>
<div class="disabled step">
<i class="checkmark icon"></i>
<div class="content">
<div class="title">Mission complete</div>
<div class="description"></div>
</div>
</div>
</div>
</div>
<div id="primary" class="pusher">
<div class="content">
<div class="ui active tab dimmer" data-tab="loader">
</div>
<div class="ui tab dashboard" data-tab="dashboard">
<div id="dashboard" class="ui three column doubling equal width vertically divided grid">
<div class="row">
<h1>Live</h1>
</div>
</div>
</div>
<div class="ui tab telemetry" data-tab="telemetry">
<div id="telemetry" class="ui one column vertically divided grid">
<div class="row">
<h1>Telemetry</h1>
</div>
</div>
</div>
<div class="ui tab planetary-data" data-tab="planetary-data">
<div id="pdata" class="ui three column doubling equal width vertically divided grid">
<div class="row">
<h1>Planetary data</h1>
</div>
</div>
</div>
<div class="ui tab photos" data-tab="photos">
<div id="photos" class="ui one column vertically divided grid">
<div class="row">
<h1>Photos</h1>
</div>
</div>
</div>
<div class="ui tab admin" data-tab="admin">
<div id="admin">
<h1>Auth</h1>
<div class="ui input">
<label for="admin-auth-user">Username</label><input id="admin-auth-user" size="32">
<label for="admin-auth-pass">Password</label><input id="admin-auth-pass" size="32">
</div>
<h1>Ground station info</h1>
<div id="admin-location" class="ui input">
<label for="admin-location-lat">Latitude: </label><input id="admin-location-lat" type="text" size="20">
<label for="admin-location-lon">Longitude: </label><input id="admin-location-lon" type="text" size="20">
<div id="admin-getLocation" class="ui basic button">Get location</div>
<div id="admin-location-send" class="ui simple button">Send</div>
</div>
<h1>Status</h1>
<div id="admin-states" class="ui buttons">
<div id="admin-states-none" class="ui red basic button" data-key="none">None</div>
<div id="admin-states-prep" class="ui yellow basic button" data-key="launch_preparation"><i class="settings icon"></i>Launch preparation</div>
<div id="admin-states-laun" class="ui orange basic button" data-key="launch"><i class="rocket icon"></i>Launch</div>
<div id="admin-states-desc" class="ui green basic button" data-key="descend"><i class="space shuttle icon"></i>Descent</div>
<div id="admin-states-grou" class="ui blue basic button" data-key="ground_operations"><i class="world icon"></i>Ground operations</div>
<div id="admin-states-comp" class="ui purple basic button" data-key="mission_complete"><i class="checkmark icon"></i>Mission complete</div>
<div style="clear: both"><div class="ui input"><label for="admin-states-current">State: </label><input id="admin-states-current" type="text" size="20"></div></div>
</div>
<div id="admin-time">
<div>
<input type="checkbox" id="admin-time-update-no"><label for="admin-time-update-no">use current mission time</label>
</div>
<div>
<div class="ui input"><label for="admin-time-new">new time: </label> <input type="text" id="admin-time-new" size="20"></div>
</div>
</div>
<div>
<input type="checkbox" id="admin-status-cansat"><label for="admin-status-cansat">CanSat online</label>
</div>
<div id="admin-status-send" class="ui simple button">Send</div>
<h1>POST Custom</h1>
<div class="ui input"><label for="admin-custom-path">Path</label> <input type="text" id="admin-custom-path" size="200" value="/"></div>
<div class="ui input"><label for="admin-custom-post">POST data</label> <input type="text" id="admin-custom-post" size="1000"></div>
<input type="checkbox" id="admin-custom-timestamp"><label for="admin-custom-timestamp">Add timestamp</label>
<div id="admin-custom-send" class="ui simple button">Send</div>
</div>
</div>
</div>
</div>
</body>
</html>