-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (65 loc) · 2.7 KB
/
index.html
File metadata and controls
73 lines (65 loc) · 2.7 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Convertidor de Calendarios</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="favicon.ico">
<!-- Configuración y módulos -->
<script src="js/config/cdn-config.js"></script>
<script src="js/index.js"></script>
<!-- Librerías externas -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="js/load-calendars.js"></script>
</head>
<body>
<div class="container">
<h1>Convertidor Universal de Calendarios</h1>
<!-- Formulario de entrada -->
<div class="input-section">
<h2>Ingrese una fecha gregoriana</h2>
<form id="dateForm">
<div class="form-group">
<label for="year">Año:</label>
<input type="number" id="year" name="year" required min="1" value="2026">
</div>
<div class="form-group">
<label for="month">Mes:</label>
<input type="number" id="month" name="month" required min="1" max="12" value="2">
</div>
<div class="form-group">
<label for="day">Día:</label>
<input type="number" id="day" name="day" required min="1" max="31" value="22">
</div>
<button type="submit" class="btn-convert">Convertir</button>
<button type="button" class="btn-today" onclick="setToday()">Hoy</button>
</form>
</div>
<!-- Tabla de resultados -->
<div class="results-section">
<h2>Fechas Equivalentes</h2>
<div id="errorMessage" class="error-message"></div>
<table id="resultsTable" class="results-table">
<thead>
<tr>
<th>Calendario</th>
<th>Fecha Equivalente</th>
</tr>
</thead>
<tbody id="resultsBody">
<tr id="placeholder">
<td colspan="3" class="placeholder">Ingrese una fecha para ver las conversiones</td>
</tr>
</tbody>
</table>
</div>
<!-- Información adicional -->
<div class="info-section">
<h3>Calendarios Soportados</h3>
<p>Esta herramienta convierte fechas usando el Día Juliano (JDN) como intermediario de conversión.</p>
<div id="calendarGuide"></div>
</div>
</div>
</body>
</html>