Commit 748794ee by mrf00020

Cambios pruebas.ftl

parent cb50c671
Showing with 42 additions and 3 deletions
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</div> </div>
<br/> <br/>
<div class="container"> <div class="container">
<div class="panel panel-primary"></div> <div class="panel panel-primary">
<h3>Prueba de macros para crear directivas propias:</h3> <h3>Prueba de macros para crear directivas propias:</h3>
<#macro prueba> <#macro prueba>
<#nested 1> <#nested 1>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<@prueba; x> <@prueba; x>
${x}Vamos a repetir este texto con 4 numeros 4 veces<br/> ${x}Vamos a repetir este texto con 4 numeros 4 veces<br/>
</@prueba> </@prueba>
</div> </div>
</div> </div>
<br/> <br/>
<div class="container"> <div class="container">
...@@ -72,6 +72,38 @@ ...@@ -72,6 +72,38 @@
</thead> </thead>
<tbody> <tbody>
<#list salas as sala> <#list salas as sala>
<#if sala.id%2==0>
<tr>
<td>${sala.id}</td>
<td>${sala.descripcion}</td>
<td>${sala.ubicacion}</td>
<td>${sala.tamano}</td>
</tr>
</#if>
</#list>
</tbody>
</table>
</div>
</div>
</div>
<br/>
<div class="container">
<div class="panel panel-primary">
<div class="panel-heading">
<h2>Lista de salas con tamaño 5m cuadrados</h2>
</div>
<div class="panel-body">
<table class="table table-striped">
<thead>
<tr>
<th>ID</th>
<th>Descripion</th>
<th>Ubicacion</th>
<th>Tamaño</th>
</tr>
</thead>
<tbody>
<#list salas as sala>
<#if sala.descripcion?contains("pequeña")> <#if sala.descripcion?contains("pequeña")>
<tr> <tr>
<td>${sala.id}</td> <td>${sala.id}</td>
...@@ -86,6 +118,13 @@ ...@@ -86,6 +118,13 @@
</div> </div>
</div> </div>
</div> </div>
<br/>
<div class="container">
<div class="panel panel-primary">
<div class="panel-body">
<a href="index">Volver </a>
</div>
</div>
</div>
</body> </body>
</html> </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 sign in to comment