Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
ProyectoFinal-Bootcamp
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
Jose Baez
ProyectoFinal-Bootcamp
Commits
e7f9db5a
Commit
e7f9db5a
authored
May 17, 2022
by
Yovan Martinez
Browse files
Options
Browse Files
Download
Plain Diff
merge con develop
parents
9260cde7
5c94329c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
50 deletions
+39
-50
.gitignore
+1
-0
src/main/java/com/roshka/proyectofinal/DataBase.java
+1
-1
src/main/webapp/form.css
+29
-35
src/main/webapp/formulario.jsp
+4
-3
src/main/webapp/formulario_bootcamp.jsp
+4
-0
src/main/webapp/index.html
+0
-11
No files found.
.gitignore
View file @
e7f9db5a
...
@@ -15,6 +15,7 @@ target/
...
@@ -15,6 +15,7 @@ target/
*.iws
*.iws
*.iml
*.iml
*.ipr
*.ipr
/encodings.xml
/encodings.xml
### Eclipse ###
### Eclipse ###
.apt_generated
.apt_generated
...
...
src/main/java/com/roshka/proyectofinal/DataBase.java
View file @
e7f9db5a
...
@@ -10,7 +10,7 @@ public class DataBase {
...
@@ -10,7 +10,7 @@ public class DataBase {
try
{
try
{
Class
.
forName
(
"org.postgresql.Driver"
);
Class
.
forName
(
"org.postgresql.Driver"
);
con
=
DriverManager
con
=
DriverManager
.
getConnection
(
"jdbc:postgresql://localhost:543
2
/bootcamp_th"
,
.
getConnection
(
"jdbc:postgresql://localhost:543
3
/bootcamp_th"
,
"postgres"
,
"postgres"
);
"postgres"
,
"postgres"
);
if
(
con
!=
null
){
if
(
con
!=
null
){
...
...
src/main/webapp/form.css
View file @
e7f9db5a
...
@@ -5,19 +5,15 @@ html,body{
...
@@ -5,19 +5,15 @@ html,body{
}
}
/* damos los estilos a todo lo que contiene el body */
/* damos los estilos a todo lo que contiene el body */
body
{
body
{
font-family
:
'Quicksand'
,
sans-serif
;
background-color
:
rgba
(
11
,
49
,
110
,
0.75
);
color
:
white
;
font-family
:
Calibri
,
Candara
,
Segoe
,
Segoe
UI
,
Optima
,
Arial
,
sans-serif
;
webkit-font-smoothing
:
antialiased
;
color
:
wheat
;
-moz-osx-font-smoothing
:
grayscale
;
font-weight
:
bold
;
align-items
:
center
;
display
:
flex
;
height
:
150%
;}
justify-content
:
center
;
p
{
font-family
:
'Quicksand'
,
sans-serif
;
color
:
white
;
webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
align-items
:
center
;
align-items
:
center
;
height
:
150%
;}
height
:
160%
;
}
/* para el logo */
/* para el logo */
...
@@ -32,7 +28,7 @@ p.enter{
...
@@ -32,7 +28,7 @@ p.enter{
}
}
/* para el parrafo */
/* para el parrafo */
p
:hover
{
p
:hover
{
color
:
white
;
color
:
yellow
;
}
}
/* para el create o sea para el main */
/* para el create o sea para el main */
...
@@ -51,7 +47,7 @@ p:hover{
...
@@ -51,7 +47,7 @@ p:hover{
display
:
block
;
display
:
block
;
border
:
none
;
border
:
none
;
align-items
:
center
;
align-items
:
center
;
color
:
white
}
}
...
@@ -62,12 +58,10 @@ p:hover{
...
@@ -62,12 +58,10 @@ p:hover{
align-items
:
center
;
align-items
:
center
;
}
}
.form
input
[
type
=
"email"
],
.form
input
[
type
=
"text"
],
.form
input
[
type
=
"number"
]
{
.form
input
[
type
=
"email"
],
.form
input
[
type
=
"text"
],
.form
input
[
type
=
"number"
]
{
background-color
:
transparent
e
;
background-color
:
transparent
;
border-radius
:
10px
;
border-radius
:
10px
;
border
:
1px
solid
#000
;
border
:
1px
solid
#000
;
}
}
.form
input
:hover
{
.form
input
:hover
{
background-color
:
wheat
;
background-color
:
wheat
;
...
@@ -77,12 +71,10 @@ p:hover{
...
@@ -77,12 +71,10 @@ p:hover{
a
{
a
{
text-decoration
:
none
;
text-decoration
:
none
;
}
}
ul
{
ul
{
list-style
:
none
;
list-style
:
none
;
font-size
:
15px
;
font-size
:
15px
;
}
}
a
{
a
{
...
@@ -98,19 +90,19 @@ border-radius: 10px;
...
@@ -98,19 +90,19 @@ border-radius: 10px;
background-image
:
url(imagenes/descarga.svg)
;
background-image
:
url(imagenes/descarga.svg)
;
}
}
.form
input
[
type
=
"reset"
]
,
.form
input
[
type
=
"submit"
]
{
.form
input
[
type
=
"reset"
]
,
.form
input
[
type
=
"submit"
]
{
text-decoration
:
none
;
text-decoration
:
none
;
background-color
:
rgba
(
11
,
49
,
110
,
0.75
);
background-color
:
rgba
(
11
,
49
,
110
,
0.75
);
background-image
:
url(imagenes/descarga.svg)
;
background-image
:
url(imagenes/descarga.svg)
;
border-radius
:
5px
;
;
border-radius
:
5px
;
;
padding
:
10px
;
padding
:
10px
;
border-radius
:
10px
;
border-radius
:
10px
;
margin
:
10px
;
margin
:
10px
;
text-decoration
:
none
;
text-decoration
:
none
;
color
:
#ffff
;
color
:
#ffff
;
text-align
:
left
;
text-align
:
left
;
cursor
:
pointer
;
cursor
:
pointer
;
width
:
80px
;
width
:
80px
;
text-align
:
center
;
text-align
:
center
;
}
}
/*hola mundo*/
/*hola mundo*/
...
@@ -122,12 +114,14 @@ input#experiencia_laboral,input#notebook,input#universidad{
...
@@ -122,12 +114,14 @@ input#experiencia_laboral,input#notebook,input#universidad{
width
:
500px
;
width
:
500px
;
}
}
/* para el alert */
/* para el alert */
.alert
{
.alert
{
padding
:
10px
;
padding
:
10px
;
background-color
:
background-color
:
#2196F3
;
background-color
:
background-color
:
#2196F3
;
color
:
white
;
color
:
white
;
}
}
.alert.info
{
background-color
:
#2196F3
;}
.alert.info
{
background-color
:
#2196F3
;}
.alert.error
{
background-color
:
#ff0000
;}
.alert.error
{
background-color
:
#ff0000
;}
.closebtn
{
.closebtn
{
...
@@ -140,7 +134,7 @@ width:500px;
...
@@ -140,7 +134,7 @@ width:500px;
cursor
:
pointer
;
cursor
:
pointer
;
transition
:
0.3s
;
transition
:
0.3s
;
}
}
.closebtn
:hover
{
.closebtn
:hover
{
color
:
black
;
color
:
black
;
}
}
Contraer
\ No newline at end of file
\ No newline at end of file
src/main/webapp/formulario.jsp
View file @
e7f9db5a
...
@@ -13,7 +13,7 @@ pageEncoding="UTF-8"%>
...
@@ -13,7 +13,7 @@ pageEncoding="UTF-8"%>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
<script src="Javascript.js"></script>
<script src="Javascript.js"></script>
<link rel="stylesheet" media="(max-width: 800px)" href="example.css" />
<link rel="stylesheet" media="(max-width: 800px)" href="example.css" />
<title>Formulario Postulante</title>
<title>Formulario Postulante</title>
</head>
</head>
<body>
<body>
...
@@ -41,8 +41,7 @@ pageEncoding="UTF-8"%>
...
@@ -41,8 +41,7 @@ pageEncoding="UTF-8"%>
<form method="get" action="SaveServlet" class="form">
<form method="get" action="SaveServlet" class="form">
<input type="hidden" name="bootcamp" value="<%= request.getParameter(" bootcamp ") %>">
<input type="hidden" name="bootcamp" value="<%= request.getParameter("bootcamp") %>">
<label for="nombre">Ingrese su Nombre:</label>
<label for="nombre">Ingrese su Nombre:</label>
<input required id="nombre" name="nombre" type="text"><br>
<input required id="nombre" name="nombre" type="text"><br>
...
@@ -98,9 +97,11 @@ pageEncoding="UTF-8"%>
...
@@ -98,9 +97,11 @@ pageEncoding="UTF-8"%>
<input class="borrar" type="reset" value="Borrar"><br>
<input class="borrar" type="reset" value="Borrar"><br>
<a href="index.html">volver</a>
<a href="index.html">volver</a>
</form>
</form>
</div>
</article>
</article>
</main>
</main>
</body>
</body>
</html>
</html>
<script>
<script>
(function() {
(function() {
...
...
src/main/webapp/formulario_bootcamp.jsp
View file @
e7f9db5a
...
@@ -18,6 +18,10 @@
...
@@ -18,6 +18,10 @@
<
%@
page
import=
"com.roshka.proyectofinal.entity.Lenguaje, com.roshka.proyectofinal.entity.Bootcamp, com.roshka.proyectofinal.lenguaje.LenguajeDao, com.roshka.proyectofinal.bootcamp.BootcampDao, com.roshka.proyectofinal.entity.Profesor, com.roshka.proyectofinal.profesor.ProfesorDao, java.util.List,java.util.Iterator"
%
>
<
%@
page
import=
"com.roshka.proyectofinal.entity.Lenguaje, com.roshka.proyectofinal.entity.Bootcamp, com.roshka.proyectofinal.lenguaje.LenguajeDao, com.roshka.proyectofinal.bootcamp.BootcampDao, com.roshka.proyectofinal.entity.Profesor, com.roshka.proyectofinal.profesor.ProfesorDao, java.util.List,java.util.Iterator"
%
>
<
%
<
%
LenguajeDao
lenDao =
new
LenguajeDao
();
List
<
Lenguaje
>
listLen = lenDao.listar();
Iterator
<Lenguaje>
iter = listLen.iterator();
Lenguaje len = null;
ProfesorDao profeDao = new ProfesorDao();
ProfesorDao profeDao = new ProfesorDao();
List
<Profesor>
listProfesor = profeDao.listar();
List
<Profesor>
listProfesor = profeDao.listar();
...
...
src/main/webapp/index.html
View file @
e7f9db5a
...
@@ -26,18 +26,7 @@
...
@@ -26,18 +26,7 @@
<ul>
<ul>
<li
class=
"link-menu"
><a
href=
""
>
Home
</a></li>
<li
class=
"link-menu"
><a
href=
""
>
Home
</a></li>
<li
class=
"link-menu"
><a
href=
"bootcamp.jsp"
>
Postulate
</a></li>
<li
class=
"link-menu"
><a
href=
"bootcamp.jsp"
>
Postulate
</a></li>
<li
class=
"link-menu"
><a
href=
"formulario_bootcamp.jsp"
>
Crear bootcamp
</a></li>
<li
class=
"link-menu"
><a
href=
"manage_postulantes.jsp"
>
Manage Postulantes(perdon angel)
</a></li>
<li
class=
"link-menu"
><a
href=
"formulario.jsp"
>
Postulate
</a></li>
<li
class=
"link-menu"
><a
href=
"formulario_bootcamp.jsp"
>
Crear bootcamp
</a>
<li
class=
"link-menu"
><a
href=
"login.jsp"
>
Login
</a>
<li
class=
"link-menu"
><a
href=
"protected"
>
Recurso Protegido
</a></li>
</li>
<li
class=
"link-menu"
><a
href=
"formulario_lenguaje.jsp"
>
Crear lenguaje
</a>
</li>
<li
class=
"link-menu"
><a
href=
"formulario_profesor.jsp"
>
Crear profesor
</a>
</li>
</li>
</ul>
</ul>
...
...
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