-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
296 lines (296 loc) · 14.5 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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" type="image/x-icon" href="./src/files/icon.png">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MEGA CONVERSOR OC</title>
<link href="https://fonts.googleapis.com/css?family=Dancing+Script|Raleway:500,600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="background.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<section class="wrapper">
<div id="stars"></div>
<div id="stars2"></div>
<div id="stars3"></div>
</section>
<div class="Josu">
<div class="container">
<div class="row">
<div class="col s12">
<div class="carousel center-align">
<div class="carousel-item">
<div class="binary_to_decimal">
<div class="container">
<h2>Punto Fijo</h2>
<div class="form-row">
<form>
<div class="field2">
<label class="salidas">
<input type="text" name="bin" id="INPUT_BINARIO_PF" autocomplete="off" placeholder="Input Binario">
</label>
</div>
<div class="field2">
<label class="salidasDec">
<input type="text" name="bin" id="INPUT_DECIMAL_PF" autocomplete="off" placeholder="Input Decimal">
</label>
</div>
<div class="field2">
<label class="salidasBit">
<input type="text" name="bin" id="INPUT_BIT_PF" autocomplete="off" placeholder="Restriccion de Bits">
</label>
</div>
<div class="field">
<label class="resultados">
<input type="text" name="dec" id="OUTPUT_BSS_PF" readonly="true" placeholder="Binarios Sin Signo">
<p>BSS</p>
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_MAX_NEG_BSS_PF" readonly="true" placeholder="Minimo Negativo y Maximo Negativo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_MAX_POS_BSS_PF" readonly="true" placeholder="Minimo Positivo y Maximo Positivo">
</label>
</div>
<div class="field">
<label>
<input type="text" name="dec" id="OUTPUT_BCS_PF" readonly="true" placeholder="Binarios Con Signo">
<p>BCS</p>
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_MAX_NEG_BCS_PF" readonly="true" placeholder="Minimo Negativo y Maximo Negativo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_MAX_POS_BCS_PF" readonly="true" placeholder="Minimo Positivo y Maximo Positivo">
</label>
</div>
<div class="field">
<label>
<input type="text" name="dec" id="OUTPUT_CA1_PF" readonly="true" placeholder="Complemento a1">
<p>Ca1</p>
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_MAX_NEG_CA1_PF" readonly="true" placeholder="Minimo Negativo y Maximo Negativo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_MAX_POS_CA1_PF" readonly="true" placeholder="Minimo Positivo y Maximo Positivo">
</label>
</div>
<div class="field">
<label>
<input type="text" name="dec" id="OUTPUT_CA2_PF" readonly="true" placeholder="Complemento a2">
<p>Ca2</p>
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_MAX_NEG_CA2_PF" readonly="true" placeholder="Minimo Negativo y Maximo Negativo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_MAX_POS_CA2_PF" readonly="true" placeholder="Minimo Positivo y Maximo Positivo">
</label>
</div>
<div class="field">
<label>
<input type="text" name="dec" id="OUTPUT_EX2_PF" readonly="true" placeholder="Exceso 2">
<p>Ex2</p>
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_MAX_NEG_EX2_PF" readonly="true" placeholder="Minimo Negativo y Maximo Negativo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_MAX_POS_EX2_PF" readonly="true" placeholder="Minimo Positivo y Maximo Positivo">
</label>
</div>
<div class="field">
<label>
<input type="text" name="dec" id="OUTPUT_BITS_PF" readonly="true" placeholder="Cantidad de Bits">
<p>Bits</p>
</label>
</div>
<div class="field">
<label>
<input type="text" name="dec" id="OUTPUT_RANGO_PF" readonly="true" placeholder="Rangos ">
<p>Rangos</p>
</label>
</div>
<div class="field btn-field">
<button type="button" id="BTN_PF">Convert</button>
<button type="button" onclick="resetform()" value="Reiniciar todo" id="BTN_PF"> Reiniciar Todo</button>
</div>
</form>
<div id="ERROR_MSG_PF">
<p>Ingrese un Binario/Ingrese bits positivos</p>
</div>
</div>
</div>
</div>
</div>
<div class="carousel-item">
<div class="binary_to_decimal2">
<div class="container">
<h2>Punto Flotante Binario</h2>
<div class="field2">
<select class="salidas4" name="" id="TIPO_MANTISA_PFB">
<option class="Botones" selected >ENTERA</option>
<option >FRACCIONARIA</option>
<option >FRACCIONARIA BIT IMPLICITO</option>
</select>
</div>
<div class="form-row">
<form>
<div class="field2">
<label class="salidas2">
<input type="text" name="bin" id="INPUT_MANTISA_PFB" autocomplete="off" placeholder="MANTISA">
</label>
</div>
<div class="field2">
<label class="salidas2">
<input type="text" name="bin" id="INPUT_EXPONENTE_PFB" autocomplete="off" placeholder="EXPONENTE">
</label>
</div>
<div class="field2">
<select class="salidas3" name="" id="SELECT_MANTISA_PFB">
<option selected >BSS</option>
<option >BCS</option>
<option id="OCULTAR">Ca1</option>
<option id="OCULTAR1">Ca2</option>
<option id="OCULTAR2">Ex2</option>
</select>
</div>
<div class="field2">
<select class="salidas3" name="" id="SELECT_EXPONENTE_PFB">
<option class="Botones" selected value="Bss">BSS</option>
<option >BCS</option>
<option >Ca1</option>
<option >Ca2</option>
<option >Ex2</option>
</select>
</div>
<h5>Resultado</h5>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_RESULTADO_PFB" readonly="true" placeholder="Conversion a decimal">
</label>
</div>
<h5>Numeros</h5>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_NEG_PFB" readonly="true" placeholder="Minimo Negativo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MAX_NEG_PFB" readonly="true" placeholder="Maximo Negativo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MIN_POS_PFB" readonly="true" placeholder="Minimo Positivo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="OUTPUT_MAX_POS_PFB" readonly="true" placeholder="Maximo Positivo">
</label>
</div>
<h5>Resoluciones</h5>
<div class="field">
<label >
<input type="text" name="dec" id="RESOLUTION_MIN_NEG_PFB" readonly="true" placeholder="Minimo Negativo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="RESOLUTION_MAX_NEG_PFB" readonly="true" placeholder="Maximo Negativo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="RESOLUTION_MIN_POS_PFB" readonly="true" placeholder="Minimo Positivo">
</label>
</div>
<div class="field">
<label >
<input type="text" name="dec" id="RESOLUTION_MAX_POS_PFB" readonly="true" placeholder="Maximo Positivo">
</label>
</div>
<div class="field btn-field">
<button type="button" id="BTN_PFB">Convert</button>
<button type="button" onclick="resetform()" value="Reiniciar todo" id="BTN_PFB"> Reiniciar Todo</button>
</div>
</form>
<div id="ERROR_MSG_PFB">
<p>Ingrese un Binario</p>
</div>
</div>
</div>
</div>
</div>
<div class="carousel-item">
<div class="binary_to_decimal3">
<div class="container contactos" >
<h2>Carta</h2>
<p>Este proyecto comenzó cuando me di cuenta de que se podían automatizar muchas conversiones y operaciones en la materia “Organización de computadoras”. Cuando lo termine me dieron ganas de compartirlo con mis compañeros, pero la web era muy poco atractiva. La web final es la que estas viendo y espero que les guste :D</p>
<h2>Repositorio </h2>
<br>
<a href="https://github.com/Fabian-Martinez1/Mega-Conversor-OC" target="_blank"><img src="./src/files/github.png" alt=""></a>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script>
function resetform() {
$("form select").each(function() { this.selectedIndex = 0 });
$("form input[type=text] , form textarea").each(function() { this.value = '' });
}
</script>
<script src="./src/assets/materialize.js"></script>
<script src="main.js" type="module"></script>
<script src="./src/assets/Carousel.js"></script>
<script src="./src/assets/vanilla-tilt.min.js"></script>
<script>
VanillaTilt.init(document.querySelector(".binary_to_decimal"), {
max: 6,
speed: 7000
});
</script>
<script>
VanillaTilt.init(document.querySelector(".binary_to_decimal2"), {
max: 6,
speed: 7000
});
</script>
<script>
VanillaTilt.init(document.querySelector(".binary_to_decimal3"), {
max: 6,
speed: 7000
});
</script>
</body>
</html>