QuirohelpASRServer / templates /escuchar_trauma1.html
JPLTedCas's picture
Update templates/escuchar_trauma1.html
60f0100
raw
history blame contribute delete
No virus
6.14 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> Quirohelp </title>
<style>
body {
background-color: #333; /* Fondo oscuro */
color: #fff; /* Texto blanco */
font-family: Georgia, 'Times New Roman', Times, serif;
margin: 0;
padding: 0;
text-align: center;
}
.quiro {
background-color: blueviolet;
font-size: 3.5rem;
padding: 20px 0;
}
.login2 {
text-align: center;
padding: 20px;
}
/* Estilos para pantallas pequeñas (por ejemplo, hasta 768px) */
@media screen and (max-width: 768px) {
.quiro {
font-size: 2.5rem; /* Reducir el tamaño de la fuente */
}
input[type="button"] {
width: 100%; /* Ajustar el ancho al 100% para ocupar todo el ancho disponible */
}
}
/* Estilos para pantallas medianas y grandes (más de 768px) */
@media screen and (min-width: 769px) {
.quiro {
font-size: 3.5rem; /* Restablecer el tamaño de la fuente original */
}
}
h2, h3 {
color: #fff; /* Texto blanco */
}
h2 {
font-size: 3rem;
background-color: #008b8b; /* Color de fondo */
display: flex;
align-items: center;
}
h3 {
font-size: 1.2rem;
padding-left: 80%;
}
button {
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';
font-size: 1.2rem;
background-color: white;
border: solid white;
display: flex;
align-items: center;
justify-content: center;
}
img {
max-width: 5%;
}
.controls {
background-color: #333; /* Fondo oscuro */
//padding: 20px;
//margin: 10px 0;
display: flex;
flex-direction: column; /* Para alinear verticalmente */
align-items: center; /* Para centrar horizontalmente */
justify-content: center; /* Opcional para centrar verticalmente */
}
#controls2 {
display: flex;
align-items: center;
//height: 100vh; /* Ajusta la altura del contenedor según sea necesario */
justify-content: center;
}
button#recordButton {
background-color: #008b8b; /* Color de fondo */
color: #fff; /* Texto blanco */
align-items: center;
justify-content: center;
}
button#stopButton {
background-color: #8b0000; /* Color de fondo */
color: #fff; /* Texto blanco */
align-items: center;
justify-content: center;
}
/* Estilos para el contenido de audio (no proporcionado en el código) */
/* Puedes agregar estilos adicionales para otros elementos según tus necesidades. */
</style>
</head>
<body>
<div class="login22">
<h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: darkcyan;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Traumatología</h2>
<h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;"></h3>
<hr />
<h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
<!--<form action="{{url_for('escuchar_trauma1')}}" method="post">
<button type="button" style="padding-right: 85%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.2rem;padding-left: 1%;background-color: white; border: solid white" onclick="location.href='/escuchar_trauma'">Escuchar: <img src="{{ user_image5 }}" width="30% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='http://127.0.0.1:5000/escuchar_trauma'"></button>
</form>-->
<!---------------------------------------------------------------------------------------->
<div class="image-container">
<img src="{{ user_image5 }}" alt="Descripción de la imagen">
</div>
<div id="instructions">Dele al botón "Grabar Voz". Cuando acabe, dele al botón "Parar grabación..." y obtendrá el resultado de la búsqueda</div>
<div id="controls2">
<button id="recordButton">Grabar Voz</button>
<!--<button id="pauseButton" disabled>Pause</button>-->
<button id="stopButton" disabled>Parar grabacion y buscar</button>
</div>
<div id="formats"></div>
<p><strong>Grabación:</strong></p>
<ol id="recordingsList"></ol>
<!-- inserting these scripts at the end to be able to use all the elements in the DOM -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.rawgit.com/mattdiamond/Recorderjs/08e7abd9/dist/recorder.js"></script>
<script src="/static/js/app.js"></script>
<!-- Agrega un cuadro de texto para mostrar la respuesta -->
<!--<input type="text" id="responseTextBox" readonly>-->
<!--<div id="textElement">-->
<!-- El texto plano se mostrará aquí -->
<!--</div>-->
<!--<h1>Grabación de Audio</h1>
<br>
<br>
<!--<b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>-->
<br>
<br>
<!---------------------------------------------------------------------------------------->
<b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
<br>
<br>
<img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='/pdf_casa_trauma?link2={{nid2}}'">
<img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='/protocolos_trauma?link2={{nid2}}'">
<img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='/guia_visual_trauma?link2={{nid2}}'">
<br>
<img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='/videos_trauma?link2={{nid2}}'">
<img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='/materiales_trauma?link2={{nid2}}'">
</div>
</body>
</html>