forked from githly/ISS-live
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
188 lines (180 loc) · 9.11 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Projet SIMPLonMARS3 - Data Plug" />
<meta name="author" content="Jessica, Kevin, Laurene, Samuel" />
<title>ISS Live</title>
<link rel="icon" type="image/x-icon" href="media/img/favicon.ico" />
<link rel="stylesheet" type="text/css" media="screen" title="no title" href="css/style.css" />
<link rel="stylesheet" type="text/css" media="screen" title="no title" href="css/animations.css" />
<script type="text/javascript" src="js/places.js"></script>
<script type="text/javascript" src="js/global.js"></script>
<script type="text/javascript" src="js/form.js" charset="utf-8"></script>
<script type="text/javascript" src="js/ISSPassTime.js"></script>
<script type="text/javascript" src="js/ISSPosition.js"></script>
<script type="text/javascript" src="js/userPosition.js"></script>
<script type="text/javascript" src="js/panelTransformations.js"></script>
<script type="text/javascript" async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDAG1j4xk810I0pIzZ3N6_GAg9D_120De8&callback=initMap"></script>
<script type="text/javascript" src="js/gmaps.js"></script>
<script type="text/javascript" src="js/daynightoverlay.js"></script>
</head>
<body>
<div class="background">
<div class="panel" id="topleft">
<h2>ISS Live Feed</h2>
<ul>
<li><a href="http://iss.destination-orbite.net/live.php">Destination Orbite</a></li>
<li><a href="https://www.nasa.gov/">NASA</a></li>
<li><a href="https://www.nasa.gov/multimedia/nasatv/index.html#public">NASA TV</a></li>
</ul>
<img class="transformButton" src="media/img/TopLeft.png" alt="Top Left Arrow" />
</div>
<div class="panel" id="topright">
<h2> ISS Crew Twitter</h2>
<ul>
<li><a href="https://twitter.com/NASA">NASA</a></li>
<li><a href="https://twitter.com/space_station"></a></li>
<li><a href="https://twitter.com/thom_astro">Thomas Pesquet</a></li>
<li><a href="https://twitter.com/astro_kimbrough">Shane Kimbrough</a></li>
<li><a href="https://twitter.com/astropeggy">Peggy Whiteson</a></li>
</ul>
<img class="transformButton" src="media/img/TopRight.png" alt="Top Right Arrow" />
</button>
</div>
<div class="panel" id="bottomleft">
<h2>Play the Game </h2>
<p>Discover where is the International Spatial Station and when it will be just above you. Use form to indicate a specific position or click on the map or select a city of your choice.</p>
<img class="transformButton" src="media/img/BottomLeft.png" alt="Bottom Left" />
</div>
<div class="panel" id="bottomright">
<h2>Our Crew</h2>
<ul>
<li><a href="https://metallou.github.io/portfolio/">Kévin</a></li>
<li><a href="https://darkilen.github.io/portfolio/">Samuel</a></li>
<li><a href="https://guillotjessica.github.io/portfolio/">Jessica</a></li>
<li><a href="http://laurenebergman.com">Laurène</a></li>
</ul>
<img class="transformButton" src="media/img/BottomRightArrow.png" alt="Bottom Arrow" />
</div>
<div class="panel" id="top">
<div class="dflex">
<img src="media/img/nasa.png" alt="" class="logo"/>
<h1>
ISS Live
</h1>
<img src="media/img/simplonlogo.png" alt="" class="logo"/>
</div>
<img class="transformButton" src="media/img/Top.png" alt="Top Arrow" />
</div>
<div class="panel" id="bottom">
<form id="form">
<fieldset>
<legend>Your position</legend>
<label for="latitude"></label>
<input id="latitude" type="number" step="any" name="latitude" value="" placeholder="latitude">
<label for="longitude"></label>
<input id="longitude" type="number" step="any" name="longitude" value="" placeholder="longitude">
</fieldset>
<fieldset>
<legend>Select a city</legend>
<select id="countries">
<option value="country">-- Country --</option>
</select>
<select id="cities">
<option value="city">-- City --</option>
</select>
</fieldset>
<fieldset>
<legend>Historical positions </legend>
<select class="inline" id="markers">
<option value="marker">-- Markers --</option>
</select>
<input class="inline" id="storage" type="button" name="storage" value="Clear Storage" />
<input class="inline" id="clear" type="button" name="clear" value="Clear Marker" />
<input class="inline" type="submit" name="name" value="Submit" />
</fieldset>
<fieldset class="center">
<legend>Historique des positions</legend>
<select class="inline" id="markers">
<option value="marker">-- Markers --</option>
</select>
<input class="inline" id="storage" type="button" name="storage" value="Clear Storage" />
<input class="inline" id="clear" type="button" name="clear" value="Clear Marker" />
<input class="inline" type="submit" name="name" value="Submit" />
</fieldset>
<!--<fieldset>
<legend>Votre position</legend>
<label for="latitude"></label>
<input id="latitude" type="number" step="any" name="latitude" value="" placeholder="latitude">
<label for="longitude"></label>
<input id="longitude" type="number" step="any" name="longitude" value="" placeholder="longitude">
</fieldset>-->
</form>
<img class="transformButton" src="media/img/Bottom.png" alt="bottom Arrow" />
</button>
</div>
<div class="panel" id="left">
<div class="containflex">
<div class="top">
<h2>
ISS position
</h2>
<p>
Latitude :
<span id="ISSLatitude"></span>
<p>
<p>
Longitude :
<span id="ISSLongitude"></span>
</p>
<button id="recenterISS">
Recenter on ISS
</button>
</div>
<div class="bottom">
<h2>
User position
</h2>
<p>
Latitude :
<span id="userLatitude"></span>
</p>
<p>
Longitude :
<span id="userLongitude"></span>
</p>
<button id="recenterUser">
Recenter on User
</button>
</div>
</div>
<img class="transformButton" src="media/img/Left.png" alt="Left Arrow" />
</div>
<div class="panel" id="right">
<div class="centerP">
<h2>
ISS Pass Time
</h2>
<p>
Time
</p>
<p id="time"></p>
<p>
Countdown
</p>
<p id="countdown"></p>
<p>
Duration
</p>
<p id="duration"></p>
<button id="hourformat">Change Hour Format</button>
</div>
<img class="transformButton" src="media/img/RightArrow.png" alt="Right Arrow" />
</div>
<img id="transformButton" src="media/img/fullScreen.png" alt="full screen button" />
</div>
<div id="map"></div>
</body>
</html>