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
ecb11fb5
authored
May 04, 2023
by
Francisco Javier
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
pagina de bienvenida
parent
743b2d19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
src/main/resources/templates/bienvenida.ftl
src/main/resources/templates/bienvenida.ftl
0 → 100644
View file @
ecb11fb5
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Bienvenido
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin=
"anonymous"
>
</head>
<body>
<h1>
¡Bienvenido!
</h1>
<
#
if
nombre
?
has_content
>
<p>
Hola ${nombre}, gracias por visitar nuestra página.
</p>
<a
href=
"index"
class=
"btn btn-outline-primary"
>
Pagina principal
</a>
<
#
else
>
<form
action=
"/"
method=
"post"
>
<label
for=
"nombre"
>
Ingresa tu nombre:
</label>
<input
type=
"text"
name=
"nombre"
id=
"nombre"
>
<button
type=
"submit"
class=
"w-90 btn btn-lg btn-primary btn-sm"
>
Enviar
</button>
</form>
</
#
if>
</body>
</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