Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Manuel Ruiz Fernández
/
freemarker
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Merge Requests
0
Pipelines
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
748794ee
authored
May 05, 2023
by
mrf00020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Cambios pruebas.ftl
parent
cb50c671
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
3 deletions
src/main/resources/templates/pruebas.ftl
src/main/resources/templates/pruebas.ftl
View file @
748794ee
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment