Spaces:
Runtime error
Runtime error
Update templates/buscador_trauma.html
Browse files- templates/buscador_trauma.html +105 -115
templates/buscador_trauma.html
CHANGED
@@ -1,137 +1,127 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
<head>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
body {
|
8 |
-
background-color: #
|
9 |
-
color: #fff;
|
10 |
font-family: Georgia, 'Times New Roman', Times, serif;
|
11 |
margin: 0;
|
12 |
padding: 0;
|
13 |
text-align: center;
|
14 |
}
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
17 |
text-align: center;
|
18 |
padding: 20px;
|
19 |
}
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
}
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
32 |
}
|
|
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
-
input[type="search"] {
|
40 |
-
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
|
41 |
-
width: 70%;
|
42 |
-
border: 3px solid black;
|
43 |
-
border-radius: 10px;
|
44 |
-
font-size: 1.5rem;
|
45 |
-
margin-bottom: 10px;
|
46 |
-
}
|
47 |
|
48 |
-
|
49 |
-
|
50 |
-
width: 4%;
|
51 |
-
background-color: rgb(0, 128, 255);
|
52 |
-
border: 1px solid white;
|
53 |
-
border-radius: 30%;
|
54 |
-
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
|
55 |
-
margin-bottom: 10px;
|
56 |
-
}
|
57 |
|
58 |
-
|
59 |
-
|
60 |
-
font-family: Arial, Helvetica, sans-serif;
|
61 |
-
}
|
62 |
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
</td>
|
132 |
-
</tr>
|
133 |
-
</table>
|
134 |
-
</form>
|
135 |
-
</div>
|
136 |
</body>
|
137 |
-
</html>
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<title> Quirohelp </title>
|
6 |
+
<style>
|
7 |
body {
|
8 |
+
background-color: #333; /* Fondo oscuro */
|
9 |
+
color: #fff; /* Texto blanco */
|
10 |
font-family: Georgia, 'Times New Roman', Times, serif;
|
11 |
margin: 0;
|
12 |
padding: 0;
|
13 |
text-align: center;
|
14 |
}
|
15 |
+
.quiro {
|
16 |
+
background-color: blueviolet;
|
17 |
+
font-size: 3.5rem;
|
18 |
+
padding: 20px 0;
|
19 |
+
}
|
20 |
+
.login2 {
|
21 |
text-align: center;
|
22 |
padding: 20px;
|
23 |
}
|
24 |
+
/* Estilos para pantallas pequeñas (por ejemplo, hasta 768px) */
|
25 |
+
@media screen and (max-width: 768px) {
|
26 |
+
.quiro {
|
27 |
+
font-size: 2.5rem; /* Reducir el tamaño de la fuente */
|
28 |
+
}
|
29 |
+
input[type="button"] {
|
30 |
+
width: 100%; /* Ajustar el ancho al 100% para ocupar todo el ancho disponible */
|
31 |
+
}
|
32 |
}
|
33 |
+
/* Estilos para pantallas medianas y grandes (más de 768px) */
|
34 |
+
@media screen and (min-width: 769px) {
|
35 |
+
.quiro {
|
36 |
+
font-size: 3.5rem; /* Restablecer el tamaño de la fuente original */
|
37 |
+
}
|
38 |
}
|
39 |
+
</style>
|
40 |
|
41 |
+
</head>
|
42 |
+
<body>
|
43 |
+
<div class="login22">
|
44 |
+
<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>
|
45 |
+
<h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
|
46 |
+
<hr/>
|
47 |
+
<h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Barra de busqueda:</h2>
|
48 |
+
<form action="{{url_for('buscador_trauma')}}" method="post">
|
49 |
+
<input type="search" name="busqueda" placeholder="Escriba aquí la busqueda a realizar" style="box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);width: 70%; border:3px solid black; border-radius: 10px;font-size: 1.5rem;" required="required">
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
+
<button type="submit" class="btn btn-primary btn-block btn-large" style="padding-bottom: 1%;width:4%;background-color: rgb(0, 128, 255);border:1px solid white; border-radius: 30%;box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);"> <img src="{{ user_image4 }}" alt="" style="max-width:100%;padding-bottom: 0.5%;"> </button>
|
53 |
+
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
+
<b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
|
56 |
+
{% for nid,titulo in result_busqueda.items() %}
|
|
|
|
|
57 |
|
58 |
+
<a href="location.href='/resultado_trauma?link={{nid}}" style="font-size: 1.8rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
|
59 |
+
<br>
|
60 |
+
<br>
|
61 |
+
{% endfor %}
|
62 |
|
63 |
+
<b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
|
64 |
+
<br>
|
65 |
+
<br>
|
66 |
+
{% for faq in faqs %}
|
67 |
|
68 |
+
|
69 |
+
<b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
|
70 |
+
<br>
|
71 |
+
<br>
|
72 |
+
|
73 |
+
{% endfor %}
|
74 |
+
|
75 |
+
<b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
|
76 |
+
<table id="miTabla" style="border-collapse: collapse; border: none;">
|
77 |
+
<tr>
|
78 |
+
<td>
|
79 |
+
<img src="{{ user_image8 }}" style="max-width:70%;" onclick="location.href='/pdf_casa_trauma?link2={{nid2}}'">
|
80 |
+
</td>
|
81 |
+
<td>
|
82 |
+
<img src="{{ user_image9 }}" style="max-width:70%;" onclick="location.href='/protocolos_trauma?link2={{nid2}}'">
|
83 |
+
</td>
|
84 |
+
<td>
|
85 |
+
<img src="{{ user_image10 }}" style="max-width:70%;" onclick="location.href='/guia_visual_trauma?link2={{nid2}}'">
|
86 |
+
</td>
|
87 |
+
</tr>
|
88 |
+
<tr>
|
89 |
+
<td>
|
90 |
+
<img src="{{ user_image11 }}" style="max-width:70%;" onclick="location.href='/videos_trauma?link2={{nid2}}'">
|
91 |
+
</td>
|
92 |
+
<td>
|
93 |
+
<img src="{{ user_image12 }}" style="max-width:70%;" onclick="location.href='/materiales_trauma?link2={{nid2}}'">
|
94 |
+
</td>
|
95 |
+
<td>
|
96 |
+
<img src="{{ preguntas_respuestas }}" style="max-width:60%;" onclick="location.href='/preguntas_respuestas_trauma?link2={{nid2}}'">
|
97 |
+
<br />
|
98 |
+
<img src="{{ user_image5 }}" style="max-width:60%;border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_trauma1'">
|
99 |
+
</td>
|
100 |
+
</tr>
|
101 |
+
</table>
|
102 |
+
<br>
|
103 |
+
|
104 |
+
<br>
|
105 |
+
<br>
|
106 |
+
|
107 |
+
|
108 |
+
|
109 |
+
|
110 |
+
|
111 |
+
|
112 |
+
|
113 |
+
|
114 |
+
</form>
|
115 |
+
|
116 |
+
|
117 |
+
|
118 |
+
|
119 |
+
|
120 |
+
|
121 |
+
|
122 |
+
|
123 |
+
|
124 |
+
|
125 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
126 |
</body>
|
127 |
+
</html>
|