Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
misuperproyecto
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nahuel Mereles Rodriguez
misuperproyecto
Commits
07bbf7a0
Commit
07bbf7a0
authored
May 13, 2022
by
Jose Baez
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'formulario_jsp' into 'develop'
Formulario jsp See merge request
jbaez/ProyectoFinal-Bootcamp!16
parents
f775ac12
32de296d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
103 additions
and
83 deletions
+103
-83
src/main/webapp/formulario.jsp
+35
-21
src/main/webapp/formulario_bootcamp.jsp
+8
-8
src/main/webapp/index.html
+58
-53
src/main/webapp/index.jsp
+2
-1
No files found.
src/main/webapp/formulario.
html
→
src/main/webapp/formulario.
jsp
View file @
07bbf7a0
<!DOCTYPE html>
<!
-- <!
DOCTYPE html>
<html lang="en">
<head>
...
...
@@ -7,12 +7,21 @@
<meta id="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<title>postulacion</title>
</head>
<body>
</head> -->
<
%@
page
language=
"java"
contentType=
"text/html; charset=UTF-8"
pageEncoding=
"UTF-8"
%
>
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
href=
"css/bootstrap.css"
rel=
"stylesheet"
type=
"text/css"
/>
<title>
JSP Page
</title>
</head>
<body>
<main>
<div>
<p>
Si sigues interesado y cumples con los requisitos, completa el siguiente formulario:
</p>
...
...
@@ -40,24 +49,29 @@
<!-- Si no lo marca el valor que envia es null y si lo marca es "ON" -->
<input
id=
"experiencia_laboral"
name=
"experiencia_laboral"
type=
"checkbox"
><br>
<p
for=
"experiencia_programando"
>
Lenguajes de programacion que conoces:
</p>
<
%@
page
import=
"com.roshka.proyectofinal.entity.Lenguaje, com.roshka.proyectofinal.lenguaje.LenguajeDao, java.util.List,java.util.Iterator"
%
>
<
%
LenguajeDao
lenDao =
new
LenguajeDao
();
List
<
Lenguaje
>
listLenguaje = lenDao.listar();
Iterator
<Lenguaje>
iter = listLenguaje.iterator();
Lenguaje len = null;
%>
<ul>
<li>
<label
for=
"ruby"
>
Ruby:
</label><input
id=
"ruby"
name=
"ruby"
type=
"checkbox"
><br>
</li>
<li>
<label
for=
"java"
>
Java:
</label><input
id=
"java"
name=
"java"
type=
"checkbox"
><br>
</li>
<li>
<label
for=
"python"
>
Python
</label><input
id=
"python"
name=
"python"
type=
"checkbox"
><br>
</li>
<
%
while
(
iter
.
hasNext
()){
len =
iter.next();
%
>
<li>
<label
for=
"c"
>
C++
</label><input
id=
"c"
name=
"c"
type=
"checkbox"
><br>
<label
for=
<%=len.getNombre_lenguaje()
%
>
>
<
%=
len
.
getNombre_lenguaje
()
%
>
</label><input
value=
<%=len.getId()
%
>
id=
<
%=
len
.
getNombre_lenguaje
()
%
>
name=
<
%=
len
.
getNombre_lenguaje
()
%
>
type="checkbox">
<br>
</li>
<li>
<label
for=
"javascript"
>
Javascript
</label><input
id=
"javascript"
name=
"javascript"
type=
"checkbox"
><br>
</li>
<
%
}
%
>
</ul>
...
...
@@ -73,6 +87,6 @@
</div>
</main>
</body>
</body>
</html>
\ No newline at end of file
</html>
\ No newline at end of file
src/main/webapp/formulario_bootcamp.jsp
View file @
07bbf7a0
<
%@
page
language=
"java"
contentType=
"text/html; charset=UTF-8"
pageEncoding=
"UTF-8"
%
>
<!DOCTYPE html>
<html>
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
href=
"css/bootstrap.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"css/bootstrap.css"
rel=
"stylesheet"
type=
"text/css"
/>
<title>
JSP Page
</title>
</head>
<body>
<div
class=
"container"
>
<h1>
Crear Bootcamp
</h1>
...
...
@@ -18,11 +20,7 @@ pageEncoding="UTF-8"%>
List
<
Lenguaje
>
listLenguaje = lenDao.listar();
Iterator
<Lenguaje>
iter = listLenguaje.iterator();
Lenguaje len = null;
%>
<form
action=
""
method=
"post"
>
<label
for=
"lenguaje"
>
Lenguajes:
</label>
<select
name=
"lenguaje"
id=
"lenguaje"
>
...
...
@@ -38,4 +36,5 @@ pageEncoding="UTF-8"%>
</form>
</div>
</body>
</html>
</html>
\ No newline at end of file
src/main/webapp/index.html
View file @
07bbf7a0
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin=
"anonymous"
/>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin=
"anonymous"
/>
<!-- para concectar con css -->
...
...
@@ -22,14 +18,14 @@
</head>
<div
class=
"header"
>
<div
class=
"logo"
>
<a
href=
"./index.html"
>
<img
class=
"logoi"
src=
"imagenes/logo-roshka.svg"
alt=
""
/>
</a
>
<!-- logo con link -->
<a
href=
"./index.html"
>
<img
class=
"logoi"
src=
"imagenes/logo-roshka.svg"
alt=
""
/>
</a
>
<!-- logo con link -->
</div>
<div
class=
"menu"
>
<ul>
<li
class=
"link-menu"
><a
href=
"/
"
>
Home
</a></li>
<li
class=
"link-menu"
><a
href=
"./home.html
"
>
Postulate
</a></li>
<li
class=
"link-menu"
><a
href=
"/ProyectoFinal-Bootcamp/crearBootcam
p"
>
Crear bootcamp
</a>
<li
class=
"link-menu"
><a
href=
"
"
>
Home
</a></li>
<li
class=
"link-menu"
><a
href=
"formulario.jsp
"
>
Postulate
</a></li>
<li
class=
"link-menu"
><a
href=
"formulario_bootcamp.js
p"
>
Crear bootcamp
</a>
</li>
</ul>
</div>
...
...
@@ -46,7 +42,8 @@
<!-- <div class="contenido"> -->
<br>
<br>
<br>
<br>
<br>
<br><br><div
class=
"texto"
>
<br>
<br>
<br>
<br>
<br>
<br><br>
<div
class=
"texto"
>
<div
class=
"titulo"
>
<div
class=
"titulo"
>
<h2>
Es tu turno
<strong>
Postulate
</strong>
para el bootcamp
</h2>
...
...
@@ -75,40 +72,40 @@
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<style>
img
.logoi
{
img
.logoi
{
width
:
200px
;
}
}
img
{
img
{
width
:
400px
;
padding
:
10px
;
display
:
block
;
padding
:
10px
;
}
.header
{
padding
:
10px
;
}
.header
{
margin-bottom
:
0
;
width
:
700px
;
}
a
{
}
a
{
float
:
right
100px
;
color
:
#fff
;
color
:
#fff
;
font-size
:
larger
;
text-decoration
:
none
;
padding
:
10px
;
}
}
body
{
body
{
background
:
linear-gradient
(
100deg
,
rgba
(
20
,
99
,
155
,
0.25
),
rgba
(
30
,
148
,
227
,
0.25
));
background-image
:
url(imagenes/descarga.svg)
;
background-size
:
contain
;
background-attachment
:
fixed
;
background-blend-mode
:
multiply
;
...
...
@@ -117,8 +114,8 @@ body {
position
:
relative
;
width
:
100px
;
height
:
100px
;
}
/* ul{
}
/* ul{
list-style: none;
}
.menu >ul{
...
...
@@ -137,10 +134,10 @@ body {
marging-left
position:relative;
} */
.menu
{
.menu
{
width
:
400%
;
float
:
left
;
}
.menu
ul
li
{
...
...
@@ -148,11 +145,11 @@ body {
list-style-type
:
none
;
text-align
:
right
;
}
div
.menu
{
float
:
right
;
div
.menu
{
float
:
right
;
}
.menu
ul
li
a
{
padding-left
:
5px
;
text-decoration
:
none
;
...
...
@@ -164,40 +161,47 @@ body {
padding-bottom
:
50px
;
white-space
:
nowrap
;
}
.grafico
,
svg
{
.grafico
,
svg
{
max-width
:
50px
;
display
:
block
;
height
:
auto
;
}
.seccion.hero
{
}
.seccion.hero
{
margin-top
:
10px
;
padding-bottom
:
10px
;
width
:
900px
;
}
.hero
{
}
.hero
{
perspective
:
100px
;
}
.hero
{
}
.hero
{
display
:
grid
;
grid-template-columns
:
auto
repeat
(
5
,
0.5
fr
)
auto
;
}
.hero
{
}
.hero
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
padding-left
:
200px
;
/* padding-right: 200px;
*/
}
/* */
.postulacion
{
border-radius
:
30px
;
}
.cta-main
{
}
/* */
.postulacion
{
border-radius
:
30px
;
}
.cta-main
{
width
:
200px
;
font-family
:
monospace
;
background-color
:
yellow
;
border
:
none
;
}
background-color
:
yellow
;
border
:
none
;
}
</style>
\ No newline at end of file
src/main/webapp/index.jsp
View file @
07bbf7a0
...
...
@@ -14,7 +14,8 @@
</h1>
<br/>
<a
href=
"hello-servlet"
>
Hello Servlet
</a><br>
<a
href=
"./formulario.html"
>
Postulate aqui
</a>
</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