Spaces:
Sleeping
Sleeping
LeireTedCas
commited on
Commit
•
de868f5
1
Parent(s):
23cc1b5
Update app.py
Browse files
app.py
CHANGED
@@ -634,11 +634,12 @@ async def protocolos_trauma ():#line:707
|
|
634 |
OO0000000O0OO0O0O =request .args .get ('link2')#line:708
|
635 |
O0OOO000OO00O0O00 =os .path .join (app .config ['UPLOAD_FOLDER'],'flecha.png')#line:709
|
636 |
abrir = os .path .join (app .config ['UPLOAD_FOLDER'],'abrir.png')
|
|
|
637 |
OO00O0000OO0O0000 =await boton_word_ppt (1 ,"field_protocolo",OO0000000O0OO0O0O )#line:710
|
638 |
if len (OO00O0000OO0O0000 )==1 :#line:711
|
639 |
-
return render_template ('protocolo1.html',abrir=abrir, protocolos =OO00O0000OO0O0000 ,user_image7 =O0OOO000OO00O0O00 )#line:712
|
640 |
else :#line:713
|
641 |
-
return render_template ('protocolo.html',abrir=abrir, protocolos =OO00O0000OO0O0000 ,user_image7 =O0OOO000OO00O0O00 )#line:714
|
642 |
@app .route ("/guia_visual_trauma",methods =['GET','POST'])#line:716
|
643 |
async def guia_visual_trauma ():#line:717
|
644 |
OO0O0OO000OO000OO =request .args .get ('link2')#line:718
|
@@ -654,6 +655,7 @@ async def guia_visual_trauma ():#line:717
|
|
654 |
async def pdf_casa_trauma ():#line:727
|
655 |
O000OOO0OOO000000 =request .args .get ('link2')#line:728
|
656 |
O0000000OO0000O00 =os .path .join (app .config ['UPLOAD_FOLDER'],'flecha.png')#line:729
|
|
|
657 |
abrir = os .path .join (app .config ['UPLOAD_FOLDER'],'abrir.png')
|
658 |
OO000OO00O0000000 =await boton_pdf_video (1 ,"field_pdf",O000OOO0OOO000000 )#line:730
|
659 |
O0O00O0O0OOOO0OOO =0 #line:731
|
@@ -663,11 +665,11 @@ async def pdf_casa_trauma ():#line:727
|
|
663 |
if len (OO000OO00O0000000 .items ())==1 :#line:735
|
664 |
if O0O00O0O0OOOO0OOO ==1 :#line:736
|
665 |
print ("bien")#line:737
|
666 |
-
return render_template ('pdf_casa_comercial1.html',abrir=abrir, user_image7 =O0000000OO0000O00 ,titulos =OO000OO00O0000000 )#line:738
|
667 |
else :#line:739
|
668 |
-
return render_template ('pdf_casa_comercial.html',abrir=abrir, user_image7 =O0000000OO0000O00 ,titulos =OO000OO00O0000000 )#line:740
|
669 |
else :#line:741
|
670 |
-
return render_template ('pdf_casa_comercial.html',abrir=abrir, user_image7 =O0000000OO0000O00 ,titulos =OO000OO00O0000000 )#line:742
|
671 |
@app .route ("/videos_trauma",methods =['GET','POST'])#line:744
|
672 |
async def videos_trauma ():#line:745
|
673 |
O0O000O0OOO00OOO0 =request .args .get ('link2')#line:746
|
@@ -1008,12 +1010,13 @@ async def resultado_uro ():#line:1093
|
|
1008 |
async def protocolos_uro ():#line:1125
|
1009 |
OOOO0OOO0OO0OOO00 =request .args .get ('link2')#line:1126
|
1010 |
O0O00OOOO0OO0O00O =os .path .join (app .config ['UPLOAD_FOLDER'],'flecha.png')#line:1127
|
|
|
1011 |
abrir = os .path .join (app .config ['UPLOAD_FOLDER'],'abrir.png')
|
1012 |
OO0OO0O0O00O00O00 =await boton_word_ppt (1620 ,"field_protocolo",OOOO0OOO0OO0OOO00 )#line:1128
|
1013 |
if len (OO0OO0O0O00O00O00 )==1 :#line:1129
|
1014 |
-
return render_template ('protocolo1.html',abrir=abrir, protocolos =OO0OO0O0O00O00O00 ,user_image7 =O0O00OOOO0OO0O00O )#line:1130
|
1015 |
else :#line:1131
|
1016 |
-
return render_template ('protocolo.html',abrir=abrir, protocolos =OO0OO0O0O00O00O00 ,user_image7 =O0O00OOOO0OO0O00O )#line:1132
|
1017 |
@app .route ("/guia_visual_uro",methods =['GET','POST'])#line:1134
|
1018 |
async def guia_visual_uro ():#line:1135
|
1019 |
OOO0OOOOOO00O0O0O =request .args .get ('link2')#line:1136
|
@@ -1029,6 +1032,7 @@ async def guia_visual_uro ():#line:1135
|
|
1029 |
async def pdf_casa_uro ():#line:1145
|
1030 |
OO0O000OOOO00OOO0 =request .args .get ('link2')#line:1146
|
1031 |
O00OOOO0OO00OO000 =os .path .join (app .config ['UPLOAD_FOLDER'],'flecha.png')#line:1147
|
|
|
1032 |
abrir = os .path .join (app .config ['UPLOAD_FOLDER'],'abrir.png')
|
1033 |
OOO00O0000O00O000 =await boton_pdf_video (1620 ,"field_pdf",OO0O000OOOO00OOO0 )#line:1148
|
1034 |
O00OOOO0O00O00O0O =0 #line:1149
|
@@ -1038,11 +1042,11 @@ async def pdf_casa_uro ():#line:1145
|
|
1038 |
if len (OOO00O0000O00O000 .items ())==1 :#line:1153
|
1039 |
if O00OOOO0O00O00O0O ==1 :#line:1154
|
1040 |
print ("bien")#line:1155
|
1041 |
-
return render_template ('pdf_casa_comercial1.html',abrir=abrir, user_image7 =O00OOOO0OO00OO000 ,titulos =OOO00O0000O00O000 )#line:1156
|
1042 |
else :#line:1157
|
1043 |
-
return render_template ('pdf_casa_comercial.html',abrir=abrir, user_image7 =O00OOOO0OO00OO000 ,titulos =OOO00O0000O00O000 )#line:1158
|
1044 |
else :#line:1159
|
1045 |
-
return render_template ('pdf_casa_comercial.html',abrir=abrir, user_image7 =O00OOOO0OO00OO000 ,titulos =OOO00O0000O00O000 )#line:1160
|
1046 |
@app .route ("/videos_uro",methods =['GET','POST'])#line:1162
|
1047 |
async def videos_uro ():#line:1163
|
1048 |
OO0000OO000O00000 =request .args .get ('link2')#line:1164
|
|
|
634 |
OO0000000O0OO0O0O =request .args .get ('link2')#line:708
|
635 |
O0OOO000OO00O0O00 =os .path .join (app .config ['UPLOAD_FOLDER'],'flecha.png')#line:709
|
636 |
abrir = os .path .join (app .config ['UPLOAD_FOLDER'],'abrir.png')
|
637 |
+
OO000OOO000O00O00 =os .path .join (app .config ['UPLOAD_FOLDER'],'ajustes.png')
|
638 |
OO00O0000OO0O0000 =await boton_word_ppt (1 ,"field_protocolo",OO0000000O0OO0O0O )#line:710
|
639 |
if len (OO00O0000OO0O0000 )==1 :#line:711
|
640 |
+
return render_template ('protocolo1.html',user_image6 =OOO0000OOO000OOO0,abrir=abrir, protocolos =OO00O0000OO0O0000 ,user_image7 =O0OOO000OO00O0O00 )#line:712
|
641 |
else :#line:713
|
642 |
+
return render_template ('protocolo.html',user_image6 =OOO0000OOO000OOO0,abrir=abrir, protocolos =OO00O0000OO0O0000 ,user_image7 =O0OOO000OO00O0O00 )#line:714
|
643 |
@app .route ("/guia_visual_trauma",methods =['GET','POST'])#line:716
|
644 |
async def guia_visual_trauma ():#line:717
|
645 |
OO0O0OO000OO000OO =request .args .get ('link2')#line:718
|
|
|
655 |
async def pdf_casa_trauma ():#line:727
|
656 |
O000OOO0OOO000000 =request .args .get ('link2')#line:728
|
657 |
O0000000OO0000O00 =os .path .join (app .config ['UPLOAD_FOLDER'],'flecha.png')#line:729
|
658 |
+
OO000OOO000O00O00 =os .path .join (app .config ['UPLOAD_FOLDER'],'ajustes.png')
|
659 |
abrir = os .path .join (app .config ['UPLOAD_FOLDER'],'abrir.png')
|
660 |
OO000OO00O0000000 =await boton_pdf_video (1 ,"field_pdf",O000OOO0OOO000000 )#line:730
|
661 |
O0O00O0O0OOOO0OOO =0 #line:731
|
|
|
665 |
if len (OO000OO00O0000000 .items ())==1 :#line:735
|
666 |
if O0O00O0O0OOOO0OOO ==1 :#line:736
|
667 |
print ("bien")#line:737
|
668 |
+
return render_template ('pdf_casa_comercial1.html',user_image6 =OOO0000OOO000OOO0,abrir=abrir, user_image7 =O0000000OO0000O00 ,titulos =OO000OO00O0000000 )#line:738
|
669 |
else :#line:739
|
670 |
+
return render_template ('pdf_casa_comercial.html',user_image6 =OOO0000OOO000OOO0,abrir=abrir, user_image7 =O0000000OO0000O00 ,titulos =OO000OO00O0000000 )#line:740
|
671 |
else :#line:741
|
672 |
+
return render_template ('pdf_casa_comercial.html',user_image6 =OOO0000OOO000OOO0,abrir=abrir, user_image7 =O0000000OO0000O00 ,titulos =OO000OO00O0000000 )#line:742
|
673 |
@app .route ("/videos_trauma",methods =['GET','POST'])#line:744
|
674 |
async def videos_trauma ():#line:745
|
675 |
O0O000O0OOO00OOO0 =request .args .get ('link2')#line:746
|
|
|
1010 |
async def protocolos_uro ():#line:1125
|
1011 |
OOOO0OOO0OO0OOO00 =request .args .get ('link2')#line:1126
|
1012 |
O0O00OOOO0OO0O00O =os .path .join (app .config ['UPLOAD_FOLDER'],'flecha.png')#line:1127
|
1013 |
+
OO000OOO000O00O00 =os .path .join (app .config ['UPLOAD_FOLDER'],'ajustes.png')
|
1014 |
abrir = os .path .join (app .config ['UPLOAD_FOLDER'],'abrir.png')
|
1015 |
OO0OO0O0O00O00O00 =await boton_word_ppt (1620 ,"field_protocolo",OOOO0OOO0OO0OOO00 )#line:1128
|
1016 |
if len (OO0OO0O0O00O00O00 )==1 :#line:1129
|
1017 |
+
return render_template ('protocolo1.html',user_image6 =OOO0000OOO000OOO0,abrir=abrir, protocolos =OO0OO0O0O00O00O00 ,user_image7 =O0O00OOOO0OO0O00O )#line:1130
|
1018 |
else :#line:1131
|
1019 |
+
return render_template ('protocolo.html',user_image6 =OOO0000OOO000OOO0,abrir=abrir, protocolos =OO0OO0O0O00O00O00 ,user_image7 =O0O00OOOO0OO0O00O )#line:1132
|
1020 |
@app .route ("/guia_visual_uro",methods =['GET','POST'])#line:1134
|
1021 |
async def guia_visual_uro ():#line:1135
|
1022 |
OOO0OOOOOO00O0O0O =request .args .get ('link2')#line:1136
|
|
|
1032 |
async def pdf_casa_uro ():#line:1145
|
1033 |
OO0O000OOOO00OOO0 =request .args .get ('link2')#line:1146
|
1034 |
O00OOOO0OO00OO000 =os .path .join (app .config ['UPLOAD_FOLDER'],'flecha.png')#line:1147
|
1035 |
+
OO000OOO000O00O00 =os .path .join (app .config ['UPLOAD_FOLDER'],'ajustes.png')
|
1036 |
abrir = os .path .join (app .config ['UPLOAD_FOLDER'],'abrir.png')
|
1037 |
OOO00O0000O00O000 =await boton_pdf_video (1620 ,"field_pdf",OO0O000OOOO00OOO0 )#line:1148
|
1038 |
O00OOOO0O00O00O0O =0 #line:1149
|
|
|
1042 |
if len (OOO00O0000O00O000 .items ())==1 :#line:1153
|
1043 |
if O00OOOO0O00O00O0O ==1 :#line:1154
|
1044 |
print ("bien")#line:1155
|
1045 |
+
return render_template ('pdf_casa_comercial1.html',user_image6 =OOO0000OOO000OOO0,abrir=abrir, user_image7 =O00OOOO0OO00OO000 ,titulos =OOO00O0000O00O000 )#line:1156
|
1046 |
else :#line:1157
|
1047 |
+
return render_template ('pdf_casa_comercial.html',user_image6 =OOO0000OOO000OOO0,abrir=abrir, user_image7 =O00OOOO0OO00OO000 ,titulos =OOO00O0000O00O000 )#line:1158
|
1048 |
else :#line:1159
|
1049 |
+
return render_template ('pdf_casa_comercial.html',user_image6 =OOO0000OOO000OOO0,abrir=abrir, user_image7 =O00OOOO0OO00OO000 ,titulos =OOO00O0000O00O000 )#line:1160
|
1050 |
@app .route ("/videos_uro",methods =['GET','POST'])#line:1162
|
1051 |
async def videos_uro ():#line:1163
|
1052 |
OO0000OO000O00000 =request .args .get ('link2')#line:1164
|