Spaces:
Runtime error
Runtime error
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title> Quirohelp </title> | |
</head> | |
<body> | |
<div class="login22"> | |
<h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: goldenrod;"> | |
<img src="{{ user_image7 }}" alt="" style="max-width:5%;" | |
onclick="location.href='/especialidad'"> | |
Guias visuales: | |
</h2> | |
<hr /> | |
<script> | |
var guiaVisualUrls = Object.values({{ guia_visual|tojson }}); | |
if (guiaVisualUrls.length > 0) { | |
window.location.href = guiaVisualUrls[0]; | |
} else { | |
// Si no hay guías visuales, muestra un mensaje de error o redirige a otra página | |
console.log("No hay guías visuales disponibles"); | |
} | |
</script> | |
</div> | |
</body> | |
</html> | |