Se añade version 1.0 de parser html

correciones menores a codigo anterior realizado.
Se añade html de prueba
Se añaden librerias de restapi
parent 742bb0cc
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
<div id="video-content-containerEditar" style="display:block"> <div id="video-content-containerEditar" style="display:block">
<label for="exampleContenidoarea">Contenido</label> <label for="exampleContenidoarea">Contenido</label>
<input id="generador-contenido-caja-videoEditar" type="url" class="form-control" placeholder="" value="{{contenido.getCcoContenido()}}"/> <input id="generador-contenido-caja-videoEditar" type="url" class="form-control" placeholder="" value="{{contenido.getCcoContenido()}}"/>
<span class="form-text text-muted">Ingrese la url del video.</span> <span class="form-text text-muted">Ingrese la url del video. si es un enlace de youtube debe ser de la forma <b>"https://www.youtube.com/embed/id-del-video"</b></span>
</div> </div>
{%endif%} {%endif%}
</div> </div>
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<div id="video-content-container" style="display:none"> <div id="video-content-container" style="display:none">
<label for="exampleContenidoarea">Contenido</label> <label for="exampleContenidoarea">Contenido</label>
<input id="generador-contenido-caja-video" type="url" class="form-control" placeholder=""/> <input id="generador-contenido-caja-video" type="url" class="form-control" placeholder=""/>
<span class="form-text text-muted">Ingrese la url del video.</span> <span class="form-text text-muted">Ingrese la url del video. si es un enlace de youtube debe ser de la forma <b>"https://www.youtube.com/embed/id-del-video"</b></span>
</div> </div>
</div> </div>
</div> </div>
......
<html>
<body>
{%set fila =0, filaAux = 0%}
{%for contenido as contenidosHead%}
{%if fila != contenido.fila%}
{%set fila = contenido.fila, filaAux = contenido.fila%}
{%if loop.first%}<div class="row" id="{{contenido.getFila()}}">{%else%}</div><div class="row" id="{{contenido.getFila()}}">{%endif%}
{{contenido.contenido}}
{%else%}
{{contenido.contenido}}
{%endif%}
{%endfor%}
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment