JPLTedCas commited on
Commit
3de77ce
1 Parent(s): c1a4a1e

Upload 39 files

Browse files
templates/ajustes.html ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 2.5rem;background-color: purple;">AJUSTES:</h2>
12
+
13
+ <form action="{{url_for('buscador_trauma')}}" method="post">
14
+ <h3 onclick="location.href='/especialidad'"style="font-size=1.6rem"> <img src="{{ user_image7 }}" alt="" width="5%">Cambiar de especialidad</h3>
15
+
16
+ </form>
17
+
18
+
19
+ <br>
20
+ <br>
21
+
22
+ </div>
23
+ </body>
24
+ </html>
templates/ambulancias.html ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: lightcyan;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/buscador_admision'"> Ambulancias: </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
+
15
+ <form action="{{url_for('ambulancias')}}" method="post">
16
+
17
+
18
+
19
+
20
+ {% for titulo,url in text.items() %}
21
+
22
+ <a href="{{url}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
23
+ <br>
24
+ <br>
25
+ {% endfor %}
26
+
27
+ </form>
28
+
29
+
30
+
31
+
32
+ </div>
33
+ </body>
34
+ </html>
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+ </div>
46
+ </body>
47
+ </html>
templates/buscador_admision.html ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <title> Quirohelp </title>
7
+
8
+
9
+ </head>
10
+ <body>
11
+ <div class="login22">
12
+ <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>
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 %}
29
+
30
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
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>
85
+ </html>
templates/buscador_admision1.html ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <title> Quirohelp </title>
7
+
8
+
9
+ </head>
10
+ <body>
11
+ <div class="login22">
12
+ <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>
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 %}
33
+
34
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
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
+
47
+
48
+ </form>
49
+
50
+ </div>
51
+ </body>
52
+ </html>
templates/buscador_trauma.html ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 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.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 %}
29
+
30
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
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
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+ </div>
93
+ </body>
94
+ </html>
templates/buscador_trauma1.html ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 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.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 %}
32
+
33
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
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
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+ </form>
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+ </div>
66
+ </body>
67
+ </html>
templates/buscador_uro.html ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 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.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 %}
29
+
30
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
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
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+ </div>
88
+ </body>
89
+ </html>
templates/buscador_uro1.html ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 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.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 %}
37
+
38
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
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
+
51
+
52
+
53
+
54
+ </form>
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+ </div>
66
+ </body>
67
+ </html>
templates/caja_trauma.html ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: coral;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Materiales - Cajas : </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.6rem;">{{title}} :</h2>
15
+ <form action="{{url_for('resultado_trauma')}}" method="post">
16
+
17
+ <br>
18
+ <strong style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{texto_ubi}}</b>
19
+ <strong style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;" >{{file_texto_ubi}}</strong>
20
+ <br>
21
+ <br>
22
+ {% for file in file_imagen %}
23
+ <img src="{{file}}" alt="" style="max-width: 100%;">
24
+ {% endfor %}
25
+ <br>
26
+ <br>
27
+ <strong style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{texto_instru}}</strong>
28
+ <br>
29
+ <br>
30
+ {% for file_instru in files_instru %}
31
+ <li>
32
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;" >{{file_instru}}</b>
33
+ </li>
34
+ <br>
35
+ {% endfor %}
36
+
37
+
38
+
39
+
40
+
41
+ </form>
42
+
43
+
44
+ <br>
45
+ <br>
46
+
47
+
48
+ </div>
49
+ </body>
50
+ </html>
templates/escuchar_admision.html ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 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 %}
32
+
33
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
34
+ <br>
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
+
61
+ </div>
62
+ </body>
63
+ </html>
templates/escuchar_admision1.html ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 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_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
+
51
+ </form>
52
+
53
+
54
+ <br>
55
+ <br>
56
+
57
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
58
+
59
+ <br>
60
+ <br>
61
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
62
+ <br>
63
+ <br>
64
+ <img src="{{ user_image8 }}" style="max-width:30%;" onclick="location.href='/mapa_camas'">
65
+ <img src="{{ user_image9 }}" style="max-width:30%;" onclick="location.href='/ambulancias'" >
66
+
67
+
68
+ <br>
69
+ <img src="{{ user_image10 }}" style="max-width:30%;" onclick="location.href='/programacion_quirurgica'">
70
+ <img src="{{ user_image11 }}" style="max-width:30%;" onclick="location.href='/otros'" >
71
+
72
+
73
+
74
+
75
+ </div>
76
+ </body>
77
+ </html>
templates/escuchar_trauma.html ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 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>
23
+ <br>
24
+
25
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
26
+ <br>
27
+ <br>
28
+
29
+ {% for nid,titulo in result_busqueda.items() %}
30
+
31
+ <a href="/resultado_trauma?link={{nid}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
32
+ <br>
33
+ <br>
34
+ {% endfor %}
35
+
36
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
37
+ <br>
38
+ <br>
39
+
40
+ {% for faq in faqs %}
41
+
42
+
43
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
44
+ <br>
45
+ <br>
46
+
47
+ {% endfor %}
48
+
49
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
50
+ <br>
51
+ <br>
52
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='/pdf_casa_trauma?link2={{nid2}}'">
53
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='/protocolos_trauma?link2={{nid2}}'" >
54
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='/guia_visual_trauma?link2={{nid2}}'" >
55
+ <br>
56
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='/videos_trauma?link2={{nid2}}'">
57
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='/materiales_trauma?link2={{nid2}}'">
58
+
59
+ </div>
60
+ </body>
61
+ </html>
templates/escuchar_trauma1.html ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 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_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;">
17
+ Escuchar: <img src="{{ user_image5 }}" width="30%" style="border-radius: 100%; box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);">
18
+ </button>
19
+ <div id="output"></div>
20
+
21
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js"></script>
22
+ <script>
23
+ const socket = io.connect('https://' + document.domain + ':' + location.port, { secure: true });
24
+ const startRecordingButton = document.getElementById('startRecording');
25
+ const outputDiv = document.getElementById('output');
26
+ let recognition;
27
+
28
+ function startRecognitionAndRedirect() {
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
+ recognition.stop(); // Detiene el reconocimiento después de recibir un resultado
36
+ window.location.href = '/escuchar_trauma'; // Redirige a otra página después del reconocimiento
37
+ };
38
+ }
39
+ try {
40
+ recognition.start();
41
+ } catch (error) {
42
+ console.error('Error al iniciar el reconocimiento de voz:', error);
43
+ }
44
+ }
45
+
46
+ startRecordingButton.addEventListener('click', startRecognitionAndRedirect);
47
+ </script>
48
+
49
+
50
+ </form>
51
+
52
+
53
+ <br>
54
+ <br>
55
+
56
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
57
+
58
+ <br>
59
+ <br>
60
+
61
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
62
+ <br>
63
+ <br>
64
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='/pdf_casa_trauma?link2={{nid2}}'">
65
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='/protocolos_trauma?link2={{nid2}}'" >
66
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='/guia_visual_trauma?link2={{nid2}}'" >
67
+ <br>
68
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='/videos_trauma?link2={{nid2}}'">
69
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='/materiales_trauma?link2={{nid2}}'">
70
+
71
+ </div>
72
+ </body>
73
+ </html>
templates/escuchar_uro.html ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 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>
23
+ <br>
24
+
25
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
26
+ <br>
27
+ <br>
28
+
29
+ {% for nid,titulo in result_busqueda.items() %}
30
+
31
+ <a href="/resultado_uro?link={{nid}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
32
+ <br>
33
+ <br>
34
+ {% endfor %}
35
+
36
+ <b style="font-size: 1.5rem;font-family: Arial, Helvetica, sans-serif;">{{faq_titulo}}</b>
37
+ <br>
38
+ <br>
39
+
40
+ {% for faq in faqs %}
41
+
42
+
43
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{faq}}</b>
44
+ <br>
45
+ <br>
46
+
47
+ {% endfor %}
48
+
49
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
50
+ <br>
51
+ <br>
52
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='/pdf_casa_uro?link2={{nid2}}'">
53
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='/protocolos_uro?link2={{nid2}}'" >
54
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='/guia_visual_uro?link2={{nid2}}'" >
55
+ <br>
56
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='/videos_uro?link2={{nid2}}'">
57
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='/materiales_uro?link2={{nid2}}'">
58
+
59
+ </div>
60
+ </body>
61
+ </html>
templates/escuchar_uro1.html ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 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_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
+
51
+ </form>
52
+
53
+
54
+ <br>
55
+ <br>
56
+
57
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
58
+
59
+ <br>
60
+ <br>
61
+
62
+ <b style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.8rem;">Selectores: </b>
63
+ <br>
64
+ <br>
65
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='/pdf_casa_uro?link2={{nid2}}'">
66
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='/protocolos_uro?link2={{nid2}}'" >
67
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='/guia_visual_uro?link2={{nid2}}'" >
68
+ <br>
69
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='/videos_uro?link2={{nid2}}'">
70
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='/materiales_uro?link2={{nid2}}'">
71
+
72
+
73
+ </div>
74
+ </body>
75
+ </html>
templates/especialidad.html ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+
6
+ <title> Quirohelp </title>
7
+ <style>
8
+
9
+ .quiro {
10
+
11
+ background-color: blueviolet;
12
+ color:white;
13
+ font-size: 3.5rem;
14
+
15
+ font-family: Georgia, 'Times New Roman', Times, serif;
16
+
17
+
18
+
19
+
20
+ }
21
+
22
+
23
+
24
+
25
+ </style>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="login2">
31
+ <h1 class="quiro"><img src="{{ user_image0 }}" alt="holaaa" style="max-width: 5%;" > QuiroHelp </h1>
32
+
33
+ <p style="font-size: 1.1rem">Haz click en tu especialidad:</p>
34
+ <form action="{{url_for('especialidad')}}" method="post">
35
+
36
+
37
+
38
+
39
+ <input class=""type="button" value="Traumatologia" style="width: 78%; background-color:darkcyan;font-size: 2.5rem; " onclick="location.href='/buscador_trauma'">
40
+ <h3></h3><img src="{{ user_image1 }}" alt="" style="max-width: 100%" onclick="location.href='/buscador_trauma'">
41
+ <br>
42
+ <input type="button" value="Urologia" style="width: 78%; background-color:saddlebrown;font-size: 2.5rem;" onclick="location.href='/buscador_uro'">
43
+ <h3></h3><img src="{{ user_image2 }}" alt="" style="max-width: 100%" onclick="location.href='/buscador_uro'">
44
+ <br>
45
+ <input type="button" value="Admisión" style="width: 78%; background-color:dimgray;font-size: 2.5rem;" onclick="location.href='/buscador_admision'">
46
+ <h3></h3><img src="{{ user_image3 }}" alt="" style="max-width: 100%" onclick="location.href='/buscador_admision'">
47
+ </form>
48
+
49
+ </div>
50
+ </body>
51
+ </html>
templates/guia_visual.html ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: goldenrod;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Guias visuales: </h2>
12
+
13
+ <hr/>
14
+
15
+ <form action="{{url_for('guia_visual_trauma')}}" method="post">
16
+
17
+
18
+ {% for titulo,url in guia_visual.items() %}
19
+
20
+ <a href="{{url}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
21
+ <br>
22
+ <br>
23
+ <hr/>
24
+ {% endfor %}
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+ </form>
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+ </div>
45
+ </body>
46
+ </html>
templates/guia_visual1.html ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+ </head>
7
+ <body>
8
+ <div class="login22">
9
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: goldenrod;">
10
+ <img src="{{ user_image7 }}" alt="" style="max-width:5%;"
11
+ onclick="location.href='/especialidad'">
12
+ Guias visuales:
13
+ </h2>
14
+ <hr />
15
+
16
+ <script>
17
+ var guiaVisualUrls = Object.values({{ guia_visual|tojson }});
18
+
19
+ if (guiaVisualUrls.length > 0) {
20
+ window.location.href = guiaVisualUrls[0];
21
+ } else {
22
+ // Si no hay guías visuales, muestra un mensaje de error o redirige a otra página
23
+ console.log("No hay guías visuales disponibles");
24
+ }
25
+ </script>
26
+ </div>
27
+ </body>
28
+ </html>
templates/index.html ADDED
The diff for this file is too large to render. See raw diff
 
templates/instrumental_trauma.html ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: darkcyan;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/buscador_trauma'"> 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
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.6rem;">{{title}} :</h2>
14
+ <form action="{{url_for('resultado_trauma')}}" method="post">
15
+ <br>
16
+ <br>
17
+
18
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;" >{{texto}}</b>
19
+ <br>
20
+ <br>
21
+ {% for nid,titulo in cajas.items() %}
22
+
23
+ <a style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;" href="/resultado_trauma?link={{nid}}" >{{titulo}}</a>
24
+
25
+ <br>
26
+ {% endfor %}
27
+
28
+
29
+
30
+
31
+
32
+ </form>
33
+
34
+
35
+ <br>
36
+ <br>
37
+
38
+
39
+ </div>
40
+ </body>
41
+ </html>
templates/instrumental_trauma1.html ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+ <script>
7
+ window.onload = function() {
8
+ window.location.href = "{{url_for('resultado_trauma')}}";
9
+ };
10
+ </script>
11
+
12
+ </head>
13
+ <body>
14
+ <div class="login22">
15
+ <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='/buscador_trauma'"> Traumatología</h2>
16
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;" ></h3>
17
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.6rem;">{{title}} :</h2>
18
+ <form action="{{url_for('resultado_trauma')}}" method="post">
19
+ <br>
20
+ <br>
21
+
22
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;" >{{texto}}</b>
23
+ <br>
24
+ <br>
25
+ {% for nid,titulo in cajas.items() %}
26
+
27
+ <a style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;" href="/resultado_trauma?link={{nid}}" >{{titulo}}</a>
28
+
29
+ <br>
30
+ {% endfor %}
31
+
32
+
33
+
34
+
35
+
36
+ </form>
37
+
38
+
39
+ <br>
40
+ <br>
41
+
42
+
43
+ </div>
44
+ </body>
45
+ </html>
templates/instrumental_uro.html ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: coral;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Instrumental: </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
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.6rem;">{{title}} :</h2>
14
+ <form action="{{url_for('resultado_uro')}}" method="post">
15
+ <br>
16
+ <br>
17
+
18
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;" >{{texto}}</b>
19
+ <br>
20
+ <br>
21
+ {% for nid,titulo in cajas.items() %}
22
+
23
+ <a style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;" href="/resultado_uro?link={{nid}}" >{{titulo}}</a>
24
+
25
+ <br>
26
+ {% endfor %}
27
+
28
+
29
+
30
+
31
+
32
+ </form>
33
+
34
+
35
+ <br>
36
+ <br>
37
+
38
+
39
+ </div>
40
+ </body>
41
+ </html>
templates/instrumental_uro1.html ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+ <script>
7
+ window.onload = function() {
8
+ window.location.href = "{{url_for('resultado_uro')}}";
9
+ };
10
+ </script>
11
+ </head>
12
+ <body>
13
+ <div class="login22">
14
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: coral;">
15
+ <img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'">
16
+ Instrumental:
17
+ </h2>
18
+ <h3 style="padding-left: 80%;font-size: 1.2rem;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" style="max-width:18%;"></h3>
19
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 1.6rem;">{{title}} :</h2>
20
+ <form>
21
+ <br>
22
+ <br>
23
+ <b style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{texto}}</b>
24
+ <br>
25
+ <br>
26
+ {% for nid, titulo in cajas.items() %}
27
+ <a style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;" href="/resultado_uro?link={{nid}}">{{titulo}}</a>
28
+ <br>
29
+ {% endfor %}
30
+ </form>
31
+ <br>
32
+ <br>
33
+ </div>
34
+ </body>
35
+ </html>
templates/intervencion_trauma.html ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: coral;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Intervenció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: 2rem;">{{title}} :</h2>
15
+ <form action="{{url_for('resultado_trauma')}}" method="post">
16
+
17
+ <br>
18
+ <br>
19
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='/pdf_casa_trauma?link2={{nid2}}'">
20
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='/protocolos_trauma?link2={{nid2}}'" >
21
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='/guia_visual_trauma?link2={{nid2}}'" >
22
+ <br>
23
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='/videos_trauma?link2={{nid2}}'">
24
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='/materiales_trauma?link2={{nid2}}'">
25
+
26
+ </form>
27
+
28
+ </div>
29
+ </body>
30
+ </html>
templates/intervencion_uro.html ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: coral;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Intervenció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: 2rem;">{{title}} :</h2>
15
+ <form action="{{url_for('resultado_uro')}}" method="post">
16
+
17
+ <br>
18
+ <br>
19
+ <img src="{{ user_image8 }}" style="max-width:20%;" onclick="location.href='/pdf_casa_uro?link2={{nid2}}'">
20
+ <img src="{{ user_image9 }}" style="max-width:20%;" onclick="location.href='/protocolos_uro?link2={{nid2}}'" >
21
+ <img src="{{ user_image10 }}" style="max-width:20%;" onclick="location.href='/guia_visual_uro?link2={{nid2}}'" >
22
+ <br>
23
+ <img src="{{ user_image11 }}" style="max-width:20%;" onclick="location.href='/videos_uro?link2={{nid2}}'">
24
+ <img src="{{ user_image12 }}" style="max-width:20%;" onclick="location.href='/materiales_uro?link2={{nid2}}'">
25
+
26
+ </form>
27
+
28
+ </div>
29
+ </body>
30
+ </html>
templates/mapa_camas.html ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: cornflowerblue;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/buscador_admision'"> Mapa de camas: </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
+
15
+ <form action="{{url_for('mapa_camas')}}" method="post">
16
+
17
+
18
+
19
+
20
+ {% for titulo,url in text.items() %}
21
+
22
+ <a href="{{url}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
23
+ <br>
24
+ <br>
25
+ {% endfor %}
26
+
27
+ </form>
28
+
29
+
30
+
31
+
32
+ </div>
33
+ </body>
34
+ </html>
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+ </div>
46
+ </body>
47
+ </html>
templates/materiales.html ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: palevioletred;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Instrumental - Cajas: </h2>
12
+
13
+ <hr/>
14
+
15
+ <form action="{{url_for('materiales_trauma')}}" method="post">
16
+
17
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{no_hay}}</b>
18
+
19
+ {% for titulo,nid in cajas.items() %}
20
+
21
+ <a href="/resultado_trauma?link={{nid}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
22
+ <br>
23
+ <br>
24
+ <hr/>
25
+ {% endfor %}
26
+
27
+
28
+ </form>
29
+
30
+ </div>
31
+ </body>
32
+ </html>
templates/materiales_uro.html ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: palevioletred;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Instrumental - Cajas: </h2>
12
+
13
+ <hr/>
14
+
15
+ <form action="{{url_for('materiales_uro')}}" method="post">
16
+
17
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{no_hay}}</b>
18
+
19
+ {% for titulo,nid in cajas.items() %}
20
+
21
+ <a href="/resultado_uro?link={{nid}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
22
+ <br>
23
+ <br>
24
+ <hr/>
25
+ {% endfor %}
26
+
27
+
28
+ </form>
29
+
30
+ </div>
31
+ </body>
32
+ </html>
templates/materiales_uro1.html ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+ <script>
7
+ window.onload = function () {
8
+ var links = document.querySelectorAll('.caja-link');
9
+ if (links.length > 0) {
10
+ window.location.href = links[0].href;
11
+ }
12
+ };
13
+ </script>
14
+ </head>
15
+ <body>
16
+ <div class="login22">
17
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: palevioletred;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Instrumental - Cajas: </h2>
18
+ <hr />
19
+ <form action="{{url_for('materiales_uro')}}" method="post">
20
+ <b style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{no_hay}}</b>
21
+ {% for titulo, nid in cajas.items() %}
22
+ <a class="caja-link" href="/resultado_uro?link={{nid}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
23
+ <br>
24
+ <br>
25
+ <hr />
26
+ {% endfor %}
27
+ </form>
28
+ </div>
29
+ </body>
30
+ </html>
templates/otros.html ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:royalblue;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/buscador_admision'"> Otros: </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
+
15
+ <form action="{{url_for('otros')}}" method="post">
16
+
17
+
18
+
19
+
20
+ {% for titulo,url in text.items() %}
21
+
22
+ <a href="{{url}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
23
+ <br>
24
+ <br>
25
+ {% endfor %}
26
+
27
+ </form>
28
+
29
+
30
+
31
+
32
+ </div>
33
+ </body>
34
+ </html>
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+ </div>
46
+ </body>
47
+ </html>
templates/pdf_casa_comercial.html ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: darkred;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Pdf de la casa comercial: </h2>
12
+
13
+ <hr/>
14
+
15
+ <form action="{{url_for('pdf_casa_trauma')}}" method="post">
16
+
17
+ <br>
18
+
19
+
20
+ {% for titulo, pdfs in titulos.items() %}
21
+ <br>
22
+ <strong style="font-size: 1.4rem; font-family: Arial, Helvetica, sans-serif;">{{ titulo }} :</strong>
23
+
24
+ {% for titulo2, url in pdfs.items() %}
25
+ <div style="font-size: 1.2rem; font-family: Arial, Helvetica, sans-serif;">
26
+ <a href="{{ url }}">{{ titulo2 }}</a>
27
+ </div>
28
+ {% endfor %}
29
+
30
+ <br>
31
+ <br>
32
+ <hr/>
33
+
34
+
35
+ {% endfor %}
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+ </form>
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+ </div>
60
+ </body>
61
+ </html>
templates/pdf_casa_comercial1.html ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+ </head>
7
+ <body>
8
+ <div class="login22">
9
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: darkred;">
10
+ <img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='http://127.0.0.1:5000/especialidad'">
11
+ Pdf de la casa comercial:
12
+ </h2>
13
+ <hr />
14
+ <form action="{{url_for('pdf_casa_trauma')}}" method="post">
15
+ <br>
16
+ {% for titulo1, pdfs in titulos.items() %}
17
+ <br>
18
+ <strong style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{titulo1}} :</strong>
19
+ {% for titulo2, url in pdfs.items() %}
20
+ <script type="text/javascript">
21
+ // Redirige automáticamente al PDF cuando la página se carga
22
+ window.onload = function() {
23
+ window.location.href = '{{url}}';
24
+ };
25
+ </script>
26
+ {% endfor %}
27
+ <br>
28
+ <br>
29
+ <hr />
30
+ {% endfor %}
31
+ </form>
32
+ </div>
33
+ </body>
34
+ </html>
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>
templates/programacion_quirurgica.html ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: mediumspringgreen;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/buscador_admision'"> Programación quirúrgica:</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
+
15
+ <form action="{{url_for('programacion_quirurgica')}}" method="post">
16
+
17
+
18
+
19
+
20
+ {% for titulo,url in text.items() %}
21
+
22
+ <a href="{{url}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
23
+ <br>
24
+ <br>
25
+ {% endfor %}
26
+
27
+ </form>
28
+
29
+
30
+
31
+
32
+ </div>
33
+ </body>
34
+ </html>
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+ </div>
46
+ </body>
47
+ </html>
templates/protocolo.html ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: blue;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Protocolo: </h2>
12
+
13
+ <hr/>
14
+
15
+ <form action="{{url_for('protocolos_trauma')}}" method="post">
16
+
17
+
18
+ {% for titulo,url in protocolos.items() %}
19
+
20
+ <a href="{{url}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
21
+ <br>
22
+ <br>
23
+ <hr/>
24
+ {% endfor %}
25
+
26
+
27
+ </form>
28
+
29
+ </div>
30
+ </body>
31
+ </html>
templates/protocolo1.html ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+ <script>
7
+ window.onload = function () {
8
+ var links = document.querySelectorAll('.protocol-link');
9
+ if (links.length > 0) {
10
+ window.location.href = links[0].href;
11
+ }
12
+ };
13
+ </script>
14
+ </head>
15
+ <body>
16
+ <div class="login22">
17
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: blue;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Protocolo: </h2>
18
+ <hr />
19
+ <form action="{{url_for('protocolos_trauma')}}" method="post">
20
+ {% for titulo, url in protocolos.items() %}
21
+ <a class="protocol-link" href="{{url}}" style="font-size: 1.2rem;font-family: Arial, Helvetica, sans-serif;">{{titulo}}</a>
22
+ <br>
23
+ <br>
24
+ <hr />
25
+ {% endfor %}
26
+ </form>
27
+ </div>
28
+ </body>
29
+ </html>
templates/seleccion_trauma.html ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+ </head>
7
+ <body>
8
+ <div class="login22">
9
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 50px;background-color: darkcyan;"><img src="{{ user_image7 }}" alt="" height="50px" width="50px" onclick="location.href='/buscador_trauma'"> Traumatología</h2>
10
+ <h3 style="padding-left: 90%;" onclick="location.href='/ajustes'">AJUSTES <img src="{{ user_image6 }}" alt="" height="30px" width="30px" ></h3>
11
+ <hr/>
12
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';font-size: 25px;">Busqueda mediante selectores:</h2>
13
+
14
+ <form action="{{url_for('seleccion_trauma')}}" method="post">
15
+
16
+ <p>Procedimiento:</p>
17
+ <input name=procedimiento type="text" placeholder="Escriba el procedimiento">
18
+ <p>Casa comercial:</p>
19
+ <input name=casa_comercial type="text" placeholder="Escriba la casa comercial">
20
+ <br>
21
+ <br>
22
+ <button type="submit" style="height: 60px;box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);border:2px solid white; border-radius: 10px;background-color: rgb(0, 128, 255);width: 100px; font-size: 20px;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman';"> Buscar <img src="{{ user_image4 }}" alt="" height="25px" width="32px" > </button>
23
+ <br>
24
+ <br>
25
+ <br>
26
+ <br>
27
+ <b style="font-size: 20px;font-family: Arial, Helvetica, sans-serif;">{{prediction_text}}</b>
28
+
29
+ </form>
30
+ </div>
31
+ </body>
32
+ </html>
templates/videos.html ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: blueviolet;"><img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'"> Videos: </h2>
12
+
13
+ <hr/>
14
+
15
+ <form action="{{url_for('videos_trauma')}}" method="post">
16
+
17
+ <br>
18
+
19
+
20
+ {% for titulo1, pdfs in titulos.items() %}
21
+ <br>
22
+ <strong style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{ titulo1 }} :</strong>
23
+
24
+ {% for titulo2, url in pdfs.items() %}
25
+ <div style="font-size: 1.2rem; font-family: Arial, Helvetica, sans-serif;">
26
+ <a href="{{ url }}">{{ titulo2 }}</a>
27
+ </div>
28
+ {% endfor %}
29
+
30
+
31
+ <br>
32
+ <br>
33
+ <hr/>
34
+
35
+
36
+ {% endfor %}
37
+
38
+ </form>
39
+
40
+ </div>
41
+ </body>
42
+ </html>
templates/videos1.html ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title> Quirohelp </title>
6
+ </head>
7
+ <body>
8
+ <div class="login22">
9
+ <h2 style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 3rem;background-color: blueviolet;">
10
+ <img src="{{ user_image7 }}" alt="" style="max-width:5%;" onclick="location.href='/especialidad'">
11
+ Videos:
12
+ </h2>
13
+ <hr />
14
+ <form action="{{url_for('videos_trauma')}}" method="post">
15
+ <br>
16
+ {% for titulo1, pdfs in titulos.items() %}
17
+ <br>
18
+ <strong style="font-size: 1.4rem;font-family: Arial, Helvetica, sans-serif;">{{titulo1}} :</strong>
19
+ {% for titulo2, url in pdfs.items() %}
20
+ <script type="text/javascript">
21
+ // Redirige automáticamente al vídeo cuando la página se carga
22
+ window.onload = function() {
23
+ window.location.href = '{{url}}';
24
+ };
25
+ </script>
26
+ {% endfor %}
27
+ <br>
28
+ <br>
29
+ <hr />
30
+ {% endfor %}
31
+ </form>
32
+ </div>
33
+ </body>
34
+ </html>
35
+