LeireTedCas commited on
Commit
1f3cb6a
1 Parent(s): 417a7b8

Update templates/buscador_trauma.html

Browse files
Files changed (1) hide show
  1. templates/buscador_trauma.html +30 -20
templates/buscador_trauma.html CHANGED
@@ -23,7 +23,7 @@
23
  }
24
  .container {
25
  display: grid;
26
- grid-template-columns: repeat(5, 1fr);
27
  grid-template-rows: 1fr;
28
  grid-gap: 10px;
29
  align-items: center;
@@ -32,9 +32,15 @@
32
  text-align: center;
33
  max-height: 100%;
34
  }
35
- img {
36
  max-width: 15%;
37
  height: auto;
 
 
 
 
 
 
38
  }
39
  .text {
40
  font-size: 36px; /* Tamaño de letra deseado */
@@ -68,21 +74,25 @@
68
  -->
69
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; font-size: 3rem; background-color: darkcyan; max-width: 100%; overflow: hidden; display: flex; align-items: center;">
70
  <div class="container">
71
- <div class="element">
72
- <img src="{{ user_image7 }}" alt="Atrás" onclick="location.href='/especialidad'">
73
- </div>
74
- <div class="element">
 
 
 
 
75
  <p class="text2">Volver</p>
76
- </div>
77
  <div class="element">
78
  <p class="text">TRAUMATOLOGÍA</p>
79
  </div>
80
- <div class="element">
81
  <p class="text2">Ajustes</p>
82
- </div>
83
- <div class="element">
84
- <img src="{{ user_image6 }}" alt="Config." onclick="location.href='/ajustes'">
85
- </div>
86
  </div>
87
  </h2>
88
  </div>
@@ -93,7 +103,7 @@
93
  <br>-->
94
  <div class="input-container">
95
  <input type="search" name="busqueda" placeholder="Escriba aquí la búsqueda a realizar" style="box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2); width: 80%; border: 3px solid black; border-radius: 10px; font-size: 1.5rem; height: 50px;" required="required">
96
- <button type="submit" class="btn btn-primary btn-block btn-large" style="padding-bottom: 1%; width: 50px; 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); height: 50px;"><img src="{{ user_image4 }}" alt="" style="max-width: 100%; height: 100%; padding-bottom: 0.5%;"></button>
97
  </div>
98
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
99
  {% for nid,titulo in result_busqueda.items() %}
@@ -119,26 +129,26 @@
119
  <table id="miTabla" style="border-collapse: collapse; border: none;">
120
  <tr>
121
  <td>
122
- <img src="{{ user_image8 }}" style="max-width:70%;" onclick="location.href='/pdf_casa_trauma?link2={{nid2}}'">
123
  </td>
124
  <td>
125
- <img src="{{ user_image9 }}" style="max-width:70%;" onclick="location.href='/protocolos_trauma?link2={{nid2}}'">
126
  </td>
127
  <td>
128
- <img src="{{ user_image10 }}" style="max-width:70%;" onclick="location.href='/guia_visual_trauma?link2={{nid2}}'">
129
  </td>
130
  </tr>
131
  <tr>
132
  <td>
133
- <img src="{{ user_image11 }}" style="max-width:70%;" onclick="location.href='/videos_trauma?link2={{nid2}}'">
134
  </td>
135
  <td>
136
- <img src="{{ user_image12 }}" style="max-width:70%;" onclick="location.href='/materiales_trauma?link2={{nid2}}'">
137
  </td>
138
  <td>
139
- <img src="{{ preguntas_respuestas }}" style="max-width:60%;" onclick="location.href='/preguntas_respuestas_trauma?link2={{nid2}}'">
140
  <br />
141
- <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'">
142
  </td>
143
  </tr>
144
  </table>
 
23
  }
24
  .container {
25
  display: grid;
26
+ grid-template-columns: 1fr 3fr 1fr;
27
  grid-template-rows: 1fr;
28
  grid-gap: 10px;
29
  align-items: center;
 
32
  text-align: center;
33
  max-height: 100%;
34
  }
35
+ .img1 {
36
  max-width: 15%;
37
  height: auto;
38
+ cursor: pointer;
39
+ }
40
+ .img2 {
41
+ max-width: 75%;
42
+ height: auto;
43
+ cursor: pointer;
44
  }
45
  .text {
46
  font-size: 36px; /* Tamaño de letra deseado */
 
74
  -->
75
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; font-size: 3rem; background-color: darkcyan; max-width: 100%; overflow: hidden; display: flex; align-items: center;">
76
  <div class="container">
77
+ <script>
78
+ function retroceder() {
79
+ history.back();
80
+ }
81
+ </script>
82
+ <img class="img2" src="{{ user_image7 }}" alt="Atrás" onclick="retroceder()" style="cursor: pointer;">
83
+
84
+ <!--<div class="element">
85
  <p class="text2">Volver</p>
86
+ </div>-->
87
  <div class="element">
88
  <p class="text">TRAUMATOLOGÍA</p>
89
  </div>
90
+ <!--<div class="element">
91
  <p class="text2">Ajustes</p>
92
+ </div>-->
93
+
94
+ <img class="img2" src="{{ user_image6 }}" alt="Config." onclick="location.href='/ajustes'" style="cursor: pointer;">
95
+
96
  </div>
97
  </h2>
98
  </div>
 
103
  <br>-->
104
  <div class="input-container">
105
  <input type="search" name="busqueda" placeholder="Escriba aquí la búsqueda a realizar" style="box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2); width: 80%; border: 3px solid black; border-radius: 10px; font-size: 1.5rem; height: 50px;" required="required">
106
+ <button type="submit" class="btn btn-primary btn-block btn-large" style="padding-bottom: 1%; width: 50px; 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); height: 50px; vertical-align: middle;"><img src="{{ user_image4 }}" alt="" style="max-width: 100%; height: 100%; padding-bottom: 0.5%;"></button>
107
  </div>
108
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
109
  {% for nid,titulo in result_busqueda.items() %}
 
129
  <table id="miTabla" style="border-collapse: collapse; border: none;">
130
  <tr>
131
  <td>
132
+ <img class="img1" src="{{ user_image8 }}" style="max-width:70%;" onclick="location.href='/pdf_casa_trauma?link2={{nid2}}'">
133
  </td>
134
  <td>
135
+ <img class="img1" src="{{ user_image9 }}" style="max-width:70%;" onclick="location.href='/protocolos_trauma?link2={{nid2}}'">
136
  </td>
137
  <td>
138
+ <img class="img1" src="{{ user_image10 }}" style="max-width:70%;" onclick="location.href='/guia_visual_trauma?link2={{nid2}}'">
139
  </td>
140
  </tr>
141
  <tr>
142
  <td>
143
+ <img class="img1" src="{{ user_image11 }}" style="max-width:70%;" onclick="location.href='/videos_trauma?link2={{nid2}}'">
144
  </td>
145
  <td>
146
+ <img class="img1" src="{{ user_image12 }}" style="max-width:70%;" onclick="location.href='/materiales_trauma?link2={{nid2}}'">
147
  </td>
148
  <td>
149
+ <img class="img1" src="{{ preguntas_respuestas }}" style="max-width:60%;" onclick="location.href='/preguntas_respuestas_trauma?link2={{nid2}}'">
150
  <br />
151
+ <img class="img1" 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'">
152
  </td>
153
  </tr>
154
  </table>