71 lines
3.3 KiB
HTML
71 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="es">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>Simulador de Rutina</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" />
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet" />
|
|
<link href="css/estiloAtletaSimulador.css" rel="stylesheet" />
|
|
|
|
</head>
|
|
<body class="bg-light">
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-primary sticky-top shadow-sm px-4 py-3">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand fw-bold text-white">SwimmingArt</a>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="ms-auto d-flex gap-4 align-items-center">
|
|
<a href="atleta.html" class="nav-link text-white">Volver al Panel</a>
|
|
<div class="dropdown">
|
|
<button class="btn btn-outline-light dropdown-toggle d-flex align-items-center gap-2 px-3 py-1" type="button" id="userDropdown" data-bs-toggle="dropdown">
|
|
<svg width="20" height="20" fill="currentColor" class="bi bi-person-circle" viewBox="0 0 16 16">
|
|
<path d="M11 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/>
|
|
<path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-4.546 12.174c.03-.256.071-.512.124-.767C4.28 10.798 5.94 10 8 10s3.72.798 4.422 2.407c.053.255.094.511.124.767A7 7 0 0 0 8 1z"/>
|
|
</svg>
|
|
<span id="nombreUsuarioHeader" class="fw-semibold">Usuario</span>
|
|
</button>
|
|
<ul class="dropdown-menu dropdown-menu-end text-center p-3" style="background-color: #0d6efd; color: white; border-radius: 0 0 8px 8px;">
|
|
<li>
|
|
<select id="langSelector" class="form-select form-select-sm mb-3 bg-white text-dark border-0 rounded">
|
|
<option value="es">Español</option>
|
|
<option value="en">English</option>
|
|
<option value="fr">Français</option>
|
|
</select>
|
|
</li>
|
|
<li><button class="btn btn-danger btn-sm w-100" onclick="logout()">Salir</button></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="container py-5">
|
|
<h2 id="tituloRutina" class="text-center fw-bold text-primary mb-2">Cargando rutina...</h2>
|
|
<p class="text-center fs-6">
|
|
<span id="tipoRutina" class="badge bg-info"></span>
|
|
<span id="modalidadRutina" class="badge bg-secondary ms-2"></span>
|
|
</p>
|
|
|
|
<div class="text-center my-4">
|
|
<audio id="audioPlayer" controls class="mb-2 w-100" style="max-width: 500px;"></audio>
|
|
<button id="playPauseBtn" class="btn btn-outline-primary btn-sm">▶ Reproducir</button>
|
|
</div>
|
|
|
|
<div id="piscinaContainer" class="border rounded p-2 shadow-sm mx-auto mb-4 bg-white" style="max-width: fit-content;">
|
|
<div id="piscina" style="margin: 0 auto;"></div>
|
|
</div>
|
|
|
|
<div class="text-start mt-4">
|
|
<h5 class="fw-semibold">Línea de Tiempo</h5>
|
|
<div id="lineaTiempo" class="d-flex flex-wrap gap-2"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/sortablejs@1.15.0/Sortable.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/konva@8.3.12/konva.min.js"></script>
|
|
<script src="js/simulador.js"></script>
|
|
<script src="js/atleta.js"></script>
|
|
</body>
|
|
</html>
|