-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
107 lines (101 loc) · 5.49 KB
/
index.html
File metadata and controls
107 lines (101 loc) · 5.49 KB
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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
@import url('https://fonts.cdnfonts.com/css/fff-atlantis');
@import url('https://fonts.cdnfonts.com/css/brownieregular');
</style>
<title>NASA Orrery WebApp</title>
<meta name="Autores" content="0xCABA1105" />
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="./min.js/dat.gui.min.js"></script>
</head>
<body>
<nav style="background-color: #000; padding: 1em; display: flex; justify-content: space-around; align-items: center; position: relative;">
<h1 style="color: #fff; margin: 0; display: flex; flex-direction: column; align-items: left;">
<img src="https://th.bing.com/th/id/R.f91d4fb0f8ca0df417fd5ceb86a4f53c?rik=3JlcWJ5ecL3vRw&riu=http%3a%2f%2fwww.pngall.com%2fwp-content%2fuploads%2f5%2fNASA-PNG-File-Download-Free.png&ehk=4APPYk9xdngO8WSyKzygaLKjfXOEAL8tZTwuxc7%2f%2bqg%3d&risl=1&pid=ImgRaw&r=0" alt="" style="width: 210px; height: 90px; margin-right: 0px;">
<span style="color: white; font-size: 8px; color:#d21827"></span>
</h1>
<ul style="list-style: none; margin: 0; padding: 0; text-align: left; display: flex; flex-wrap: nowrap">
<li style="margin-right: 70px; position: relative;">
<a href="#" style="color: #fff; text-decoration: none;">PLANETAS</a>
<ul style="display: none; position: absolute; top: 100%; left: 0; background-color: #00f; padding: 10px; border-radius: 5px; border: 1px solid #fff; flex-direction: column;">
<li><a href="#" data-planet="Mercury" style="display: block; padding: 10px; color: #fff; text-decoration: none;">Mercurio</a></li>
<li><a href="#" data-planet="Venus" style="display: block; padding: 10px; color: #fff; text-decoration: none;">Venus</a></li>
<li><a href="#" data-planet="EMBary" style="display: block; padding: 10px; color: #fff; text-decoration: none;">Tierra</a></li>
<li><a href="#" data-planet="Mars" style="display: block; padding: 10px; color: #fff; text-decoration: none;">Marte</a></li>
<li><a href="#" data-planet="Jupiter" style="display: block; padding: 10px; color: #fff; text-decoration: none;">Júpiter</a></li>
<li><a href="#" data-planet="Saturn" style="display: block; padding: 10px; color: #fff; text-decoration: none;">Saturno</a></li>
<li><a href="#" data-planet="Uranus" style="display: block; padding: 10px; color: #fff; text-decoration: none;">Urano</a></li>
<li><a href="#" data-planet="Neptune" style="display: block; padding: 10px; color: #fff; text-decoration: none;">Neptuno</a></li>
</ul>
</li>
<li>
<label style="color: #fff; margin-right: 1px;">SOMBRA</label>
<input type="checkbox" id="real-view" checked style="margin-right: 100px; color: #00f;">
</li>
<li>
<label style="color: #fff; margin-right: 25px;">ÓRBITA PLANETAS</label>
<input type="checkbox" id="show-path" checked style="margin-right: 100px;">
</li>
<li>
<label style="color: #fff; margin-right: 25px;">ÓRBITA COMETAS</label>
<input type="checkbox" id="show-path-comets" checked style="margin-right: 100px;">
</li>
<li>
<label style="color: #fff; margin-right: 1px;">VELOCIDAD</label>
<input type="range" id="speed" min="0" max="100" value="0.0001">
</li>
</ul>
<div id="gui" style="position: absolute; top: 0; right: 0;"></div>
</nav>
<div id="estrellas-container"></div>
<div id="estrellas" style="position: relative; background-color: #000; z-index: 1;">
<script id="Orrery" src="./js/index.js" type="module"></script>
</div>
<form style="background-color: black; color:white">
<label for="starting-astro">ASTRO A</label>
<select id="starting-astro" name="starting-astro">
<option value="Sun">SOL</option>
<option value="Mercury">MERCURIO</option>
<option value="Venus">VENUS</option>
<option value="EMBary">TIERRA</option>
<option value="Mars">MARTE</option>
<option value="Jupiter">JUPITER</option>
<option value="Saturn">SATURNO</option>
<option value="Uranus">URANO</option>
<option value="Neptune">NEPTUNO</option>
</select>
<label for="ending-astro">ASTRO B</label>
<select id="ending-astro" name="ending-astro">
<option value="Sun">SOL</option>
<option value="Mercury">MERCURIO</option>
<option value="Venus">VENUS</option>
<option value="EMBary">TIERRA</option>
<option value="Mars">MARTE</option>
<option value="Jupiter">JUPITER</option>
<option value="Saturn">SATURNO</option>
<option value="Urano">URANO</option>
<option value="Neptune">NEPTUNO</option>
</select>
<button type="submit">Calcular</button>
<br><br>
<div id="result" style="color:white"></div>
</form>
<div id="comet-table">
<table style="color:white; margin-top: 20px;">
<thead>
<tr>
<th>Cometas visibles</th>
</tr>
</thead>
<tbody>
<!-- Agrega más filas según sea necesario -->
</tbody>
</table>
</div>
<script src="./js/calculadoraastros.js"></script>
</body>
</html>