Spaces:
Sleeping
Sleeping
LeireTedCas
commited on
Commit
•
5a87983
1
Parent(s):
1d432fd
Update templates/videos.html
Browse files- templates/videos.html +14 -3
templates/videos.html
CHANGED
@@ -114,10 +114,21 @@
|
|
114 |
<div style="display: flex; align-items: center; margin-bottom: 10px; width: 100%;">
|
115 |
<!--<img src="{{ abrir }}" alt="Imagen" style="max-width: 40px; max-height: 40px; margin-right: 10px;">-->
|
116 |
|
117 |
-
|
118 |
-
<strong style="font-size: 2rem; font-family: Arial, Helvetica, sans-serif;">{{ titulo2 }}</strong>
|
119 |
<!--<strong style="font-size: 2.5rem; font-family: Arial, Helvetica, sans-serif;">{{ titulo }}</strong>-->
|
120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
</div>
|
122 |
|
123 |
<!--<input type="button" value="" style="background-color: white; font-size: 2.5rem; margin-bottom: 10px; padding-left: 50px; background-image: url('{{ abrir }}'); background-repeat: no-repeat; background-size: 40px 40px;background-position: center;" onclick="location.href='{{ url }}'">-->
|
|
|
114 |
<div style="display: flex; align-items: center; margin-bottom: 10px; width: 100%;">
|
115 |
<!--<img src="{{ abrir }}" alt="Imagen" style="max-width: 40px; max-height: 40px; margin-right: 10px;">-->
|
116 |
|
117 |
+
<!--<input type="button" value="" style="background-color: white; font-size: 2.5rem; width: 60px; height: 60px; margin-right: 10px; padding-left: 50px; background-image: url('{{ abrir }}'); background-repeat: no-repeat; background-size: 40px 40px; background-position: center;" onclick="location.href='{{ url }}'">-->
|
|
|
118 |
<!--<strong style="font-size: 2.5rem; font-family: Arial, Helvetica, sans-serif;">{{ titulo }}</strong>-->
|
119 |
+
<input type="button"
|
120 |
+
value=""
|
121 |
+
style="background-color: white; font-size: 2.5rem; width: 60px; height: 60px; margin-right: 10px; padding-left: 50px; background-image: url('{{ abrir }}'); background-repeat: no-repeat; background-size: 40px 40px; background-position: center;"
|
122 |
+
onclick="openInNewTab('{{ url }}')">
|
123 |
+
|
124 |
+
<!-- Script para abrir enlace en nueva pestaña -->
|
125 |
+
<script>
|
126 |
+
function openInNewTab(url) {
|
127 |
+
window.open(url, '_blank');
|
128 |
+
}
|
129 |
+
</script>
|
130 |
+
<strong style="font-size: 2rem; font-family: Arial, Helvetica, sans-serif;" target="_blank">{{ titulo2 }} </strong>
|
131 |
+
|
132 |
</div>
|
133 |
|
134 |
<!--<input type="button" value="" style="background-color: white; font-size: 2.5rem; margin-bottom: 10px; padding-left: 50px; background-image: url('{{ abrir }}'); background-repeat: no-repeat; background-size: 40px 40px;background-position: center;" onclick="location.href='{{ url }}'">-->
|