LeireTedCas commited on
Commit
b0dffd8
1 Parent(s): 0f12050

Upload 40 files

Browse files
templates/buscador_admision.html CHANGED
@@ -13,20 +13,16 @@
13
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
14
  <hr/>
15
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Barra de busqueda:</h2>
16
- <form action="{{url_for('buscador_admision')}}" method="post">
17
- <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" >
18
-
19
-
20
- <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>
21
- <br>
22
- <br>
23
- <button type="button" name="escu" style="padding-right: 78%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.4rem;background-color: white; border: solid white" onclick="location.href='/escuchar_admision1'">Ir al asistente de voz: <img src="{{ user_image5 }}" style="max-width:35%;border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_admision1'"></button>
24
- <br>
25
- <br>
26
- <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
27
  {% for titulo,link in result_busqueda.items() %}
28
-
29
- <a href="{{link}}" style="font-size: 1.8rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
30
  <br>
31
  <br>
32
  {% endfor %}
@@ -35,27 +31,54 @@
35
  <br>
36
  <br>
37
  {% for faq in faqs %}
38
-
39
 
40
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
41
  <br>
42
  <br>
43
-
44
- {% endfor %}
45
 
46
  <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
47
  <br>
48
  <br>
49
- <img src="{{ user_image8 }}" style="max-width:30%;" onclick="location.href='/mapa_camas'">
50
- <img src="{{ user_image9 }}" style="max-width:30%;" onclick="location.href='/ambulancias'" >
51
-
52
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  <br>
54
- <img src="{{ user_image10 }}" style="max-width:30%;" onclick="location.href='/programacion_quirurgica'">
55
- <img src="{{ user_image11 }}" style="max-width:30%;" onclick="location.href='/otros'" >
56
-
57
-
58
- </form>
59
 
60
  </div>
61
  </body>
 
13
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
14
  <hr/>
15
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Barra de busqueda:</h2>
16
+ <form action="{{url_for('buscador_admision')}}" method="post">
17
+ <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">
18
+
19
+
20
+ <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>
21
+
22
+ <!--<b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>-->
 
 
 
 
23
  {% for titulo,link in result_busqueda.items() %}
24
+
25
+ <a href="{{link}}" style="font-size: 1.8rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
26
  <br>
27
  <br>
28
  {% endfor %}
 
31
  <br>
32
  <br>
33
  {% for faq in faqs %}
34
+
35
 
36
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
37
  <br>
38
  <br>
39
+
40
+ {% endfor %}
41
 
42
  <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
43
  <br>
44
  <br>
45
+ <table id="miTabla" style="border-collapse: collapse; border: none;">
46
+ <tr>
47
+ <td>
48
+ <img src="{{ user_image8 }}" style="max-width:70%;" onclick="location.href='/mapa_camas'">
49
+
50
+ </td>
51
+ <td>
52
+ <img src="{{ user_image9 }}" style="max-width:70%;" onclick="location.href='/ambulancias'">
53
+
54
+ </td>
55
+ <td>
56
+ <img src="{{ user_image10 }}" style="max-width:70%;" onclick="location.href='/programacion_quirurgica'">
57
+
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td>
62
+ <img src="{{ user_image11 }}" style="max-width:70%;" onclick="location.href='/otros'">
63
+
64
+ </td>
65
+ <td>
66
+ <img src="{{ preguntas_respuestas }}" style="max-width:70%;" onclick="location.href='/preguntas_respuestas_admin?link2={{nid2}}'">
67
+
68
+ </td>
69
+ <td>
70
+
71
+ <img src="{{ user_image5 }}" style="max-width:70%;border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_admision1'">
72
+
73
+ </td>
74
+ </tr>
75
+ </table>
76
+
77
+
78
  <br>
79
+
80
+
81
+ </form>
 
 
82
 
83
  </div>
84
  </body>
templates/buscador_trauma.html CHANGED
@@ -12,20 +12,17 @@
12
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
  <hr/>
14
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Barra de busqueda:</h2>
15
- <form action="{{url_for('buscador_trauma')}}" method="post">
16
- <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" >
17
-
18
-
19
- <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>
20
- <br>
21
- <br>
22
- <button type="button" name="escu" style="padding-right: 78%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.4rem;background-color: white; border: solid white" onclick="location.href='/escuchar_trauma1'">Ir al asistente de voz: <img src="{{ user_image5 }}" style="max-width:35%;border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_trauma1'"></button>
23
- <br>
24
  <br>
 
25
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
26
  {% for nid,titulo in result_busqueda.items() %}
27
-
28
- <a href="/resultado_trauma?link={{nid}}" style="font-size: 1.8rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
29
  <br>
30
  <br>
31
  {% endfor %}
@@ -34,37 +31,54 @@
34
  <br>
35
  <br>
36
  {% for faq in faqs %}
37
-
38
 
39
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
40
  <br>
41
  <br>
42
-
43
- {% endfor %}
44
 
45
  <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  <br>
47
- <br>
48
- <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='/pdf_casa_trauma?link2={{nid2}}'">
49
- <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='/protocolos_trauma?link2={{nid2}}'" >
50
- <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='/guia_visual_trauma?link2={{nid2}}'" >
51
- <br>
52
- <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='/videos_trauma?link2={{nid2}}'">
53
- <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='/materiales_trauma?link2={{nid2}}'">
54
- <br>
55
- <br>
56
-
57
  <br>
58
  <br>
59
 
60
-
61
 
62
-
63
 
64
 
65
-
66
-
67
- </form>
 
 
68
 
69
 
70
 
 
12
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
  <hr/>
14
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Barra de busqueda:</h2>
15
+ <form action="{{url_for('buscador_trauma')}}" method="post">
16
+ <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">
17
+
18
+
19
+ <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>
 
 
 
 
20
  <br>
21
+
22
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
23
  {% for nid,titulo in result_busqueda.items() %}
24
+
25
+ <a href="location.href='/resultado_trauma?link={{nid}}" style="font-size: 1.8rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
26
  <br>
27
  <br>
28
  {% endfor %}
 
31
  <br>
32
  <br>
33
  {% for faq in faqs %}
34
+
35
 
36
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
37
  <br>
38
  <br>
39
+
40
+ {% endfor %}
41
 
42
  <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
43
+ <table id="miTabla" style="border-collapse: collapse; border: none;">
44
+ <tr>
45
+ <td>
46
+ <img src="{{ user_image8 }}" style="max-width:70%;" onclick="location.href='/pdf_casa_trauma?link2={{nid2}}'">
47
+ </td>
48
+ <td>
49
+ <img src="{{ user_image9 }}" style="max-width:70%;" onclick="location.href='/protocolos_trauma?link2={{nid2}}'">
50
+ </td>
51
+ <td>
52
+ <img src="{{ user_image10 }}" style="max-width:70%;" onclick="location.href='/guia_visual_trauma?link2={{nid2}}'">
53
+ </td>
54
+ </tr>
55
+ <tr>
56
+ <td>
57
+ <img src="{{ user_image11 }}" style="max-width:70%;" onclick="location.href='/videos_trauma?link2={{nid2}}'">
58
+ </td>
59
+ <td>
60
+ <img src="{{ user_image12 }}" style="max-width:70%;" onclick="location.href='/materiales_trauma?link2={{nid2}}'">
61
+ </td>
62
+ <td>
63
+ <img src="{{ preguntas_respuestas }}" style="max-width:60%;" onclick="location.href='/preguntas_respuestas_trauma?link2={{nid2}}'">
64
+ <br />
65
+ <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'">
66
+ </td>
67
+ </tr>
68
+ </table>
69
  <br>
70
+
 
 
 
 
 
 
 
 
 
71
  <br>
72
  <br>
73
 
 
74
 
 
75
 
76
 
77
+
78
+
79
+
80
+
81
+ </form>
82
 
83
 
84
 
templates/buscador_uro.html CHANGED
@@ -12,25 +12,17 @@
12
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
  <hr/>
14
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Barra de busqueda:</h2>
15
- <form action="{{url_for('buscador_uro')}}" method="post">
16
- <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: 50%; border:2% solid black; border-radius: 0.5rem;font-size: 1.5rem;"required="required" >
17
-
18
-
19
- <button type="submit" class="btn btn-primary btn-block btn-large" style="padding-bottom: 1%;width:4%;background-color: rgb(0, 128, 255);border:solid white; border-radius: 0.8rem;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>
20
- <br>
21
-
22
- <br>
23
- <button type="button" name="escu" style="padding-right: 78%;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.4rem;background-color: white; border: solid white" onclick="location.href='/escuchar_uro1'">Ir al asistente de voz: <img src="{{ user_image5 }}" style="max-width:35%;border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_uro1'"></button>
24
- <br>
25
- <br>
26
-
27
- <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
28
  <br>
29
-
30
 
31
  {% for nid,titulo in result_busqueda.items() %}
32
-
33
- <a href="/resultado_uro?link={{nid}}" style="font-size: 1.8rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
34
  <br>
35
  <br>
36
  {% endfor %}
@@ -39,30 +31,49 @@
39
  <br>
40
  <br>
41
  {% for faq in faqs %}
42
-
43
 
44
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
45
  <br>
46
  <br>
47
-
48
- {% endfor %}
49
 
 
50
  <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  <br>
 
52
  <br>
53
- <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='/pdf_casa_uro?link2={{nid2}}'">
54
- <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='/protocolos_uro?link2={{nid2}}'" >
55
- <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='/guia_visual_uro?link2={{nid2}}'" >
56
  <br>
57
- <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='/videos_uro?link2={{nid2}}'">
58
- <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='/materiales_uro?link2={{nid2}}'">
59
 
60
-
61
 
62
 
63
-
64
-
65
- </form>
66
 
67
 
68
 
 
12
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
  <hr/>
14
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Barra de busqueda:</h2>
15
+ <form action="{{url_for('buscador_uro')}}" method="post">
16
+ <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: 50%; border:2% solid black; border-radius: 0.5rem;font-size: 1.5rem;" required="required">
17
+
18
+
19
+ <button type="submit" class="btn btn-primary btn-block btn-large" style="padding-bottom: 1%;width:4%;background-color: rgb(0, 128, 255);border:solid white; border-radius: 0.8rem;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>
 
 
 
 
 
 
 
 
20
  <br>
21
+
22
 
23
  {% for nid,titulo in result_busqueda.items() %}
24
+
25
+ <a href="location.href='/resultado_uro?link={{nid}}" style="font-size: 1.8rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
26
  <br>
27
  <br>
28
  {% endfor %}
 
31
  <br>
32
  <br>
33
  {% for faq in faqs %}
34
+
35
 
36
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
37
  <br>
38
  <br>
 
 
39
 
40
+ {% endfor %}
41
  <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
42
+ <table id="miTabla" style="border-collapse: collapse; border: none;">
43
+ <tr>
44
+ <td>
45
+ <img src="{{ user_image8 }}" style="max-width:70%;" onclick="location.href='/pdf_casa_uro?link2={{nid2}}'">
46
+ </td>
47
+ <td>
48
+ <img src="{{ user_image9 }}" style="max-width:70%;" onclick="location.href='/protocolos_uro?link2={{nid2}}'">
49
+ </td>
50
+ <td>
51
+ <img src="{{ user_image10 }}" style="max-width:70%;" onclick="location.href='/guia_visual_uro?link2={{nid2}}'">
52
+ </td>
53
+ </tr>
54
+ <tr>
55
+ <td>
56
+ <img src="{{ user_image11 }}" style="max-width:70%;" onclick="location.href='/videos_uro?link2={{nid2}}'">
57
+ </td>
58
+ <td>
59
+ <img src="{{ user_image12 }}" style="max-width:70%;" onclick="location.href='/materiales_uro?link2={{nid2}}'">
60
+ </td>
61
+ <td>
62
+ <img src="{{ preguntas_respuestas }}" style="max-width:60%;" onclick="location.href='/preguntas_respuestas_uro?link2={{nid2}}'">
63
+ <br />
64
+ <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_uro1'">
65
+ </td>
66
+ </tr>
67
+ </table>
68
  <br>
69
+
70
  <br>
 
 
 
71
  <br>
 
 
72
 
 
73
 
74
 
75
+
76
+ </form>
 
77
 
78
 
79
 
templates/escuchar_admision.html CHANGED
@@ -8,26 +8,24 @@
8
  </head>
9
  <body>
10
  <div class="login22">
11
- <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: gray;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Admisión: </h2>
12
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
  <hr/>
14
- <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
- <form action="{{url_for('escuchar_admision')}}" method="post">
16
- <button type="submit" 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" >Escuchar: <img src="{{ user_image5 }}" width="35% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" ></button>
17
-
18
-
19
-
20
-
21
 
22
 
23
-
 
 
24
  <br>
25
- <br>
26
-
27
- <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
28
- {% for titulo,link in result_busqueda.items() %}
29
-
30
- <a href="{{link}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
31
  <br>
32
  <br>
33
  {% endfor %}
@@ -37,26 +35,26 @@
37
  <br>
38
 
39
  {% for faq in faqs %}
40
-
41
 
42
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
43
  <br>
44
  <br>
45
-
46
- {% endfor %}
47
 
48
  <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
49
  <br>
50
  <br>
51
  <img src="{{ user_image8 }}" style="max-width:30%;" onclick="location.href='/mapa_camas'">
52
- <img src="{{ user_image9 }}" style="max-width:30%;" onclick="location.href='/ambulancias'" >
53
-
54
-
55
  <br>
56
  <img src="{{ user_image10 }}" style="max-width:30%;" onclick="location.href='/programacion_quirurgica'">
57
- <img src="{{ user_image11 }}" style="max-width:30%;" onclick="location.href='/otros'" >
58
-
59
-
60
  </form>
61
 
62
 
 
8
  </head>
9
  <body>
10
  <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: gray;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/escuchar_admision1'"> Admisión: </h2>
12
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
  <hr/>
14
+ <form action="{{url_for('escuchar_admision')}}" method="post">
15
+
16
+
 
 
 
 
17
 
18
 
19
+
20
+
21
+
22
  <br>
23
+ <br>
24
+
25
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
26
+ {% for titulo,link in result_busqueda.items() %}
27
+
28
+ <a href="{{link}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
29
  <br>
30
  <br>
31
  {% endfor %}
 
35
  <br>
36
 
37
  {% for faq in faqs %}
38
+
39
 
40
  <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
41
  <br>
42
  <br>
43
+
44
+ {% endfor %}
45
 
46
  <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
47
  <br>
48
  <br>
49
  <img src="{{ user_image8 }}" style="max-width:30%;" onclick="location.href='/mapa_camas'">
50
+ <img src="{{ user_image9 }}" style="max-width:30%;" onclick="location.href='/ambulancias'">
51
+
52
+
53
  <br>
54
  <img src="{{ user_image10 }}" style="max-width:30%;" onclick="location.href='/programacion_quirurgica'">
55
+ <img src="{{ user_image11 }}" style="max-width:30%;" onclick="location.href='/otros'">
56
+
57
+
58
  </form>
59
 
60
 
templates/escuchar_admision1.html CHANGED
@@ -13,8 +13,38 @@
13
  <hr/>
14
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
  <form action="{{url_for('escuchar_admision1')}}" method="post">
16
- <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_admision'">Escuchar: <img src="{{ user_image5 }}" width="35% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_admision'"></button>
17
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
 
20
 
 
13
  <hr/>
14
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
  <form action="{{url_for('escuchar_admision1')}}" method="post">
16
+ <button type="button" id="startRecording" 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_admision'">Escuchar: <img src="{{ user_image5 }}" width="60% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_admision'"></button>
17
+ <div id="output"></div>
18
+
19
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js"></script>
20
+ <script>
21
+ const socket = io.connect('https://' + document.domain + ':' + location.port, { secure: true });
22
+ const startRecordingButton = document.getElementById('startRecording');
23
+ const outputDiv = document.getElementById('output');
24
+ let mediaRecorder;
25
+ let audioChunks = [];
26
+ let recognition;
27
+
28
+ startRecordingButton.addEventListener('click', () => {
29
+ if (!recognition) {
30
+ recognition = new webkitSpeechRecognition();
31
+ recognition.lang = 'es-ES';
32
+ recognition.onresult = function (event) {
33
+ const result = event.results[0][0].transcript;
34
+ socket.emit('audio_data', result);
35
+ };
36
+
37
+ }
38
+ try {
39
+ recognition.start();
40
+ } catch (error) {
41
+ console.error('Error al iniciar el reconocimiento de voz: ', error);
42
+ }
43
+ });
44
+ socket.on('transcription', function (data) {
45
+ outputDiv.innerHTML = 'Texto reconocido: ${data}';
46
+ });
47
+ </script>
48
 
49
 
50
 
templates/escuchar_trauma.html CHANGED
@@ -8,17 +8,15 @@
8
  </head>
9
  <body>
10
  <div class="login22">
11
- <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>
12
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
  <hr/>
14
- <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
- <form action="{{url_for('escuchar_trauma')}}" method="post">
16
- <button type="submit" 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" >Escuchar: <img src="{{ user_image5 }}" width="35% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" ></button>
17
-
18
 
19
-
20
-
21
- </form>
 
22
 
23
 
24
  <br>
 
8
  </head>
9
  <body>
10
  <div class="login22">
11
+ <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='/escuchar_trauma1'"> Traumatología</h2>
12
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
  <hr/>
14
+ <form action="{{url_for('escuchar_trauma')}}" method="post">
 
 
 
15
 
16
+
17
+
18
+
19
+ </form>
20
 
21
 
22
  <br>
templates/escuchar_trauma1.html CHANGED
@@ -13,9 +13,40 @@
13
  <hr/>
14
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
  <form action="{{url_for('escuchar_trauma1')}}" method="post">
16
- <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="35% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_trauma'"></button>
17
 
18
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
 
21
  </form>
 
13
  <hr/>
14
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
  <form action="{{url_for('escuchar_trauma1')}}" method="post">
16
+ <button type="button" id="startRecording" 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="60% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_trauma'"></button>
17
 
18
+ <div id="output"></div>
19
+
20
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js"></script>
21
+ <script>
22
+ const socket = io.connect('https://' + document.domain + ':' + location.port, { secure: true });
23
+ const startRecordingButton = document.getElementById('startRecording');
24
+ const outputDiv = document.getElementById('output');
25
+ let mediaRecorder;
26
+ let audioChunks = [];
27
+ let recognition;
28
+
29
+ startRecordingButton.addEventListener('click', () => {
30
+ if (!recognition) {
31
+ recognition = new webkitSpeechRecognition();
32
+ recognition.lang = 'es-ES';
33
+ recognition.onresult = function (event) {
34
+ const result = event.results[0][0].transcript;
35
+ socket.emit('audio_data', result);
36
+ };
37
+
38
+ }
39
+ try {
40
+ recognition.start();
41
+ } catch (error) {
42
+ console.error('Error al iniciar el reconocimiento de voz: ', error);
43
+ }
44
+ });
45
+ socket.on('transcription', function (data) {
46
+ outputDiv.innerHTML = `Texto reconocido: ${data}`;
47
+
48
+ });
49
+ </script>
50
 
51
 
52
  </form>
templates/escuchar_uro.html CHANGED
@@ -8,17 +8,15 @@
8
  </head>
9
  <body>
10
  <div class="login22">
11
- <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: saddlebrown;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Urología </h2>
12
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
  <hr/>
14
- <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
- <form action="{{url_for('escuchar_uro')}}" method="post">
16
- <button type="submit" 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" >Escuchar: <img src="{{ user_image5 }}" width="35% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" ></button>
17
-
18
 
19
-
20
-
21
- </form>
22
 
23
 
24
  <br>
 
8
  </head>
9
  <body>
10
  <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: saddlebrown;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/escuchar_uro1'"> Urología </h2>
12
  <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
  <hr/>
14
+ <form action="{{url_for('escuchar_uro')}}" method="post">
15
+
 
 
16
 
17
+
18
+
19
+ </form>
20
 
21
 
22
  <br>
templates/escuchar_uro1.html CHANGED
@@ -13,8 +13,38 @@
13
  <hr/>
14
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
  <form action="{{url_for('escuchar_uro1')}}" method="post">
16
- <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_uro'">Escuchar: <img src="{{ user_image5 }}" width="35% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_trauma'"></button>
17
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
 
20
 
 
13
  <hr/>
14
  <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.7rem;">Asistente de voz:</h2>
15
  <form action="{{url_for('escuchar_uro1')}}" method="post">
16
+ <button type="button" id="startRecording" 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_uro'">Escuchar: <img src="{{ user_image5 }}" width="60% " style=" border-radius: 100%;box-shadow:2px 2px 2px 1px rgba(0, 0, 0, 0.2);" onclick="location.href='/escuchar_trauma'"></button>
17
+ <div id="output"></div>
18
+
19
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js"></script>
20
+ <script>
21
+ const socket = io.connect('https://' + document.domain + ':' + location.port, { secure: true });
22
+ const startRecordingButton = document.getElementById('startRecording');
23
+ const outputDiv = document.getElementById('output');
24
+ let mediaRecorder;
25
+ let audioChunks = [];
26
+ let recognition;
27
+
28
+ startRecordingButton.addEventListener('click', () => {
29
+ if (!recognition) {
30
+ recognition = new webkitSpeechRecognition();
31
+ recognition.lang = 'es-ES';
32
+ recognition.onresult = function (event) {
33
+ const result = event.results[0][0].transcript;
34
+ socket.emit('audio_data', result);
35
+ };
36
+
37
+ }
38
+ try {
39
+ recognition.start();
40
+ } catch (error) {
41
+ console.error('Error al iniciar el reconocimiento de voz: ', error);
42
+ }
43
+ });
44
+ socket.on('transcription', function (data) {
45
+ outputDiv.innerHTML = 'Texto reconocido: ${data}';
46
+ });
47
+ </script>
48
 
49
 
50
 
templates/preguntas_respuestas.html ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+
7
+
8
+ </head>
9
+ <body>
10
+ <div class="login22">
11
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: green;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Preguntas y respuestas</h2>
12
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
13
+ <hr/>
14
+ <form action="{{url_for('buscador_trauma')}}" method="post">
15
+
16
+ <br>
17
+
18
+
19
+
20
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
21
+ <br>
22
+ <br>
23
+ {% for faq in faqs %}
24
+
25
+
26
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
27
+ <br>
28
+ <br>
29
+
30
+ {% endfor %}
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+ </form>
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+ </div>
53
+ </body>
54
+ </html>