Commit 07bbf7a0 by Jose Baez

Merge branch 'formulario_jsp' into 'develop'

Formulario jsp

See merge request jbaez/ProyectoFinal-Bootcamp!16
parents f775ac12 32de296d
<!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
<%@ 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
<!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/crearBootcamp">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.jsp">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.5fr) 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
......@@ -14,7 +14,8 @@
</h1>
<br/>
<a href="hello-servlet">Hello Servlet</a><br>
<a href="./formulario.html">Postulate aqui</a>
</body>
</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 to comment