Spaces:
Sleeping
Sleeping
<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: darkred;"> | |
<img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:5000/especialidad'"> | |
Pdf de la casa comercial: | |
</h2> | |
<hr /> | |
<form action="{{url_for('pdf_casa_trauma')}}" method="post"> | |
<br> | |
{% for titulo1, pdfs in titulos.items() %} | |
<br> | |
<strong style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{titulo1}} :</strong> | |
{% for titulo2, url in pdfs.items() %} | |
<script type="text/javascript"> | |
// Redirige automáticamente al PDF cuando la página se carga | |
window.onload = function() { | |
window.location.href = '{{url}}'; | |
}; | |
</script> | |
{% endfor %} | |
<br> | |
<br> | |
<hr /> | |
{% endfor %} | |
</form> | |
</div> | |
</body> | |
</html> | |