87 lines
2.7 KiB
HTML
Executable file
87 lines
2.7 KiB
HTML
Executable file
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>CLIMATE</title>
|
|
<link rel="stylesheet" href="climate.css">
|
|
<!-- Fuentes de Google Fonts -->
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap" rel="stylesheet">
|
|
|
|
<!-- Cargar 3d-force-graph (incluye Three.js) -->
|
|
<!-- CORRECTO: d3 primero, force-graph después -->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/6.7.0/d3.min.js"></script>
|
|
<script src="https://unpkg.com/3d-force-graph"></script>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<nav>
|
|
<ul class="nav-links">
|
|
<li><a href="climate.html" class="climate">CLIMATE</a></li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<main>
|
|
<div id="climateContainer" style="position: absolute; width: 100%; height: 100%;"></div>
|
|
<div class="background">
|
|
<img src="/images/flujos6.jpg">
|
|
<img src="/images/flujos6.jpg">
|
|
<img src="/images/flujos6.jpg">
|
|
<img src="/images/flujos6.jpg">
|
|
<img src="/images/flujos6.jpg">
|
|
<script>
|
|
setTimeout(function() {
|
|
var fondo = document.querySelector('.background');
|
|
fondo.classList.add('fade-out');
|
|
fondo.style.pointerEvents = 'none';
|
|
}, 1000);
|
|
</script>
|
|
</div>
|
|
|
|
|
|
</main>
|
|
|
|
<div id="sidebar">
|
|
<h2>Parámetros</h2>
|
|
|
|
<form id="paramForm">
|
|
<label for="fecha_inicio">Fecha de inicio:</label>
|
|
<input type="date" id="fecha_inicio" name="fecha_inicio">
|
|
|
|
<label for="fecha_fin">Fecha de fin:</label>
|
|
<input type="date" id="fecha_fin" name="fecha_fin">
|
|
|
|
<label for="nodos">Nodos:</label>
|
|
<input type="number" id="nodos" name="nodos" value="100">
|
|
|
|
<label for="complejidad">Complejidad:</label>
|
|
<input type="range" id="complejidad" name="complejidad" min="1" max="40" value="20">
|
|
|
|
<label for="param1">Búsqueda por palabra:</label>
|
|
<input type="text" id="param1" name="param1">
|
|
|
|
<label for="color1">Color 1:</label>
|
|
<input type="color" id="color1" name="color1">
|
|
|
|
<label for="param2">Búsqueda por temática personalizada:</label>
|
|
<input type="text" id="param2" name="param2">
|
|
|
|
<label for="color2">Color 2:</label>
|
|
<input type="color" id="color2" name="color2">
|
|
|
|
<input type="submit" value="Aplicar">
|
|
</form>
|
|
</div>
|
|
|
|
<button id="sidebarToggle">Toggle Sidebar</button>
|
|
|
|
<footer>
|
|
<p><a href="#">GitHub</a> | <a href="#">Telegram</a> | <a href="#">Email</a> | <a href="#">Web de Tor</a></p>
|
|
</footer>
|
|
|
|
<!-- Movemos la inclusión del script aquí, al final del body -->
|
|
<script src="output_climate_pruebas.js"></script>
|
|
</body>
|
|
</html>
|