forked from SNikter24/TrabajoFinal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
143 lines (133 loc) · 6.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RadioFacil</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="styles.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous" async></script>
<!--script src="scripts/main.js" type="module" crossorigin="anonymous" defer></script-->
<script src="scripts/evaluar_ANE_4.js" defer></script>
<script src="scripts/evaluar_ANE_7.js" defer></script>
<script src="scripts/evaluar_ANE_3-2.js" defer></script>
<script src="scripts/validaciones.js" defer></script>
<script src="scripts/main.js" defer></script>
</head>
<body>
<nav class="navbar sticky-top navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
<a class="navbar-brand" href="#">🍋RadioFacil</a>
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item mt-1">
<button class="btn btn-secondary my-2 my-sm-0 mx-2" onclick="imprimir()" >Imprimir</button>
</li>
<li class="nav-item mt-1">
<button class="btn btn-secondary my-sm-0 mx-2" onclick="guardarJson()" >Guardar mis datos</button>
</li>
<li class="nav-item mt-1">
<button class="btn btn-info my-2 my-sm-0 mx-2" onclick="comoCarajo()" >¿Como usar este aplicativo?</button>
</li>
<li class="nav-item mt-1">
<span class="navbar-text">
Cargar datos de archivo:
</span>
<input type="file" onchange="cargarJson(this)" />
</li>
</ul>
</div>
</div>
</nav>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<form>
<h3>Antena</h3>
<div class="mb-3">
<label class="form-label" for="potenciaTransmisor">Potencia del Transmisor (dBm):</label>
<input class="form-control" type="number" placeholder="numeros positivos y 0" min="0" id="potenciaTransmisor" name="potenciaTransmisor" onkeyup="valmin(this)"/>
</div>
<div class="mb-3">
<label class="form-label" for="gananciaAntena">Ganancia de la Antena (dBi):</label>
<input class="form-control" type="number" placeholder="numeros positivos y 0" min="0" id="gananciaAntena_dbi" name="gananciaAntena" onkeyup="valmin(this)"/>
</div>
<div class="mb-3">
<label class="form-label" for="gananciaAntena">Ganancia de la Antena (dBd):</label>
<input class="form-control" type="number" placeholder="numeros positivos y 0" min="0" id="gananciaAntena_dbd" name="gananciaAntena" onkeyup="valmin(this)"/>
</div>
<div class="mb-3">
<label class="form-label" for="atenuacion">Atenuación (dB):</label>
<input class="form-control" type="value" placeholder="numeros negativos y 0" max="0" id="atenuacion" name="atenuacion" onkeyup="valmax(this)"/><br>
</div>
<div class="mb-3">
<label class="form-label" for="amplificador">Amplificador (dB):</label>
<input class="form-control" type="value" placeholder="numeros positivos y 0" min="0" id="amplificador" name="atenuacion" onkeyup="valmin(this)"/>
</div>
<p>Tipo de frecuencia:</p>
<div class="mb-3 form-check">
<input class="form-check-input" type="checkbox" id="chk_fm" name="chk_fm" checked />
<label class="form-check-label" for="chk_fm">FM</label>
</div>
<div class="mb-3 form-check">
<input class="form-check-input" type="checkbox" id="chk_am" name="chk_am" />
<label class="form-check-label" for="chk_am">AM</label><br>
</div>
<div class="mb-3">
<label class="form-label" for="frecuencia">Frecuencia (MHz):</label>
<input class="form-control" type="number" placeholder="numeros positivos y 0" min="0" id="frecuencia" name="frecuencia" onkeyup="valmin(this)"/><br>
</div>
<div class="mb-3">
<label class="form-label" for="altura">Ingrese la altura de la antena (mts):</label>
<input class="form-control" type="number" placeholder="numeros positivos y 0" min="0" id="altura" name="altura" onkeyup="valmin(this)"/><br>
</div>
<div class="mb-3 mt-5">
<label class="form-label" for="comentario">Comentario:</label>
<textarea class="form-control" placeholder="Coloque aqui sus comentarios." id="comentario" name="comentario" rows="4" cols="50"></textarea>
</div>
<button type="button" class="btn btn-success" onclick="darResultados()">Evaluar mi antena</button>
</form>
</div>
</div>
</div>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<div id="contenedorDeBandas" class="mt-3">
<div id="quepasoCrack" class="resultado">
</div>
</div>
</div>
</div>
</div>
<footer class="feet">
<div>
<h5>Este aplicativo es software libre 😎</h5>
<p>Licencia <a href="https://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank">GPLv3</a> </p>
<p><a href="https://github.com/luzxyz/radiocosa" target="_blank" >Repositorio principal en github</a></p>
</div>
<div>
<h5>Contacto de los creadores 🔥</h5>
<a href="mailto:[email protected]">Marlon Patiño</a>
<p>[email protected]</p>
<a href="mailto:[email protected]">Jorge Gutierrez</a>
<p>[email protected]</p>
<a href="mailto:[email protected]">Jonathan Cabrera</a>
<p>[email protected]</p>
<a href="mailto:[email protected]">Andres Parra Espejo</a>
<p>[email protected]</p>
<a href="mailto:[email protected]">Giovanny Pira Aldana</a>
<p>[email protected]</p>
</div>
<div>
<h5>Con el apoyo de la Universidad Distrital FJC 🎓</h5>
<p><a href="https://www.udistrital.edu.co/inicio">Universidad Distrital FJC - Bogotá</a></p>
<p><a href="https://ftecnologica.udistrital.edu.co/">Facultad Tecnológica</a></p>
<p><a href="https://ftecnologica.udistrital.edu.co/ingtelematica/index.php/">Ingeniería Telemática</a></p>
</div>
</footer>
</body>
</html>