Commit cbb8ab95 by Jose Baez

Merge branch 'mejorasCss5' into 'develop'

Mejoras css5

See merge request !44
parents dfc70628 a906d1a5
......@@ -11,7 +11,7 @@ public class DataBase {
Class.forName("org.postgresql.Driver");
con= DriverManager
.getConnection("jdbc:postgresql://localhost:5432/bootcamp_th",
"postgres", "postgres");
"postgres", "2022roshka");
if(con != null){
System.out.println("---> CONNECTED TO SERVER");
......
......@@ -15,20 +15,20 @@ public class SaveServlet extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out=response.getWriter();
PrintWriter out = response.getWriter();
String nombre=request.getParameter("nombre");
String apellido=request.getParameter("apellido");
String email=request.getParameter("correo");
String nro_cedulaStr=request.getParameter("nro_cedula");
String nombre = request.getParameter("nombre");
String apellido = request.getParameter("apellido");
String email = request.getParameter("correo");
String nro_cedulaStr = request.getParameter("nro_cedula");
int nro_cedula = Integer.parseInt(nro_cedulaStr);
Profesor p =new Profesor(nro_cedula, nombre, apellido, email);
Profesor p = new Profesor(nro_cedula, nombre, apellido, email);
int status=ProfesorDao.save(p);
if(status>0){
int status = ProfesorDao.save(p);
if (status > 0) {
out.print("<p>Record saved successfully!</p>");
request.getRequestDispatcher("formulario_profesor.jsp").include(request, response);
}else{
} else {
out.println("Sorry! unable to save record");
}
......
......@@ -17,9 +17,10 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="imagenes/roshkaicon.ico" sizes="any" />
<!-- coneccion con el de css -->
<link rel="stylesheet" href="postulante.css">
<title>JSP Page</title>
<title>Crear BOOTCAMP</title>
</head>
<body>
......
img.logoi {
width: 200px;
}
img {
width: 400px;
padding: 10px;
display: block;
padding: 10px;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
width:100vw;
height: 100vh;
background: linear-gradient(100deg, rgba(20, 99, 155, 0.25), rgba(30, 148, 227, 0.25));
background-image: url(imagenes/descarga.svg);
font-family: Georgia, 'Times New Roman', Times, serif;
font-weight: "bold";
color: white;
}
.contenedor{
width: 100%;
height: 20%;
display: flex;
justify-content: space-between;
align-items: center;
}
.main{
width: 100%;
height: 80%;
display: flex;
align-items: center;
/* background-color: aqua; */
}
.letra{
width: 60%;
height: 40%;
margin-left: 10px;
font-weight: bold;
color: aliceblue;
}
.letra h3{
.header {
margin-bottom: 0;
width: 700px;
}
}
.imagen{
width: 40%;
/* background-color: crimson; */
}
.contenido a img{
width: 100%;
display: flex;
justify-content: flex-end;
a {
float: right 100px;
color: #fff;
font-size: larger;
text-decoration: none;
padding: 10px;
}
}
.link{
width: 90%;
height: 80%;
text-decoration: none;
display: flex;
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;
font-family: Georgia, 'Times New Roman', Times, serif;
color: white;
position: relative;
width: 100px;
height: 100px;
}
/* ul{
list-style: none;
justify-content: flex-end;
align-items: center;
}
ul {
width: 70%;
height: 70%;
}
.menu >ul{
float: right;
div.link ul li a {
/* float: right 100px;
color: #fff;
font-size: larger; */
text-decoration: none;
color: aliceblue;
/* padding: 10px; */
}
.menu li a {
.link ul {
display: flex;
justify-content: space-around;
align-items: center;
list-style: none;
}
color:#fff;
text-decoration:none;
padding:10px 12px;
display:block;
.imagen img{
width: 100%;
height:100%;
}
.menu li ul li {
marging-left
position:relative;
} */
.menu {
width: 400%;
float: left;
}
.menu ul li {
float: right;
list-style-type: none;
text-align: right;
}
div.menu {
float: right;
}
.menu ul li a {
padding-left: 5px;
text-decoration: none;
font-size: clamp(145px);
text-transform: uppercase;
display: block;
position: relative;
overflow: hidden;
padding-bottom: 50px;
white-space: nowrap;
}
.grafico,
svg {
max-width: 50px;
display: block;
height: auto;
}
.seccion.hero {
margin-top: 10px;
padding-bottom: 10px;
width: 900px;
}
.hero {
perspective: 100px;
}
.hero {
display: grid;
grid-template-columns: auto repeat(5, 0.5fr) auto;
}
.hero {
display: flex;
flex-direction: column;
align-items: center;
padding-left: 200px;
/* padding-right: 200px;
*/
}
/* */
.postulacion {
border-radius: 30px;
}
.cta-main {
width: 200px;
font-family: monospace;
background-color: yellow;
border: none;
}
.cta-main {
width: 200px;
font-family: monospace;
background-color: yellow;
border: none;
}
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<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" />
<!-- para concectar con css -->
<link rel="stylesheet" href="home.css">
<!-- el icono para la pagina -->
<link rel="stylesheet" href="home.css" />
<!-- CSS only -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor"
crossorigin="anonymous"
/>
<link rel="shortcut icon" href="imagenes/roshkaicon.ico" sizes="any" />
<title>Roshka WebSite</title>
</head>
<div class="header">
<div class="logo">
<a href="./index.html"> <img class="logoi" src="imagenes/logo-roshka.svg" alt="" /> </a>
<!-- logo con link -->
</div>
<div class="menu">
<title>Web Site Roshka</title>
</head>
<body>
<header class="contenedor">
<div class="contenido">
<img src="imagenes/logo-roshka.svg " alt="imagen" />
</div>
<div class="link">
<ul>
<li class="link-menu"><a href="">Home</a></li>
<li class="link-menu"><a href="bootcamp.jsp">Postulate</a></li>
</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="">About us</a></li>
<li class="link-menu"><a href="">Work with us</a></li>
<li class="link-menu"><a href="">Get in touch</a></li>
</ul>
</div>
<!-- menu -->
</div>
<!-- header -->
<div class="main">
<div class="seccion hero">
<!-- <div class="contenido"> -->
<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>
<h1>Aprende</h1>
</div>
</div>
<div class="parrafo">
<p data-block-key="cwggy">Es un campo de entrenamiento intensivo y gratuito para principiantes que ya programan y quieren ser parte de la empresa</p>
</div>
<div class="postulacion">
<a href="bootcamp.jsp"><button type="submit" class="cta-main">POSTULACION</button></a>
<!-- <a href="/postulacion" class="cta-main">POSTULACION</a> -->
</div>
</div>
<div class="grafico">
<img style="align-items:right ;" src="imagenes/ilustracion-herov3.svg" alt="">
</div>
<!-- </div> -->
</div>
<!-- pie de pagina -->
<div class="footer">
<div class="logofooter"><img src="imagenes/logo_footer.svg" alt="" class="logofooter"></div>
</div>
</div>
</div>
</div>
</body>
</div>
</header>
<main class="main">
<div class="letra">
<h1>Es tu turno, <strong>Postulate</strong> para el bootcamp</h1>
<h3 data-block-key="cwggy">
Es un campo de entrenamiento intensivo y gratuito para principiantes
que ya programan y quieren ser parte de la empresa.
</h3>
<a href="bootcamp.jsp">
<button type="submit" class="btn btn-warning cta-main">
POSTULACION
</button>
</a>
</div>
<div class="imagen">
<img
style="align-items: right"
src="imagenes/ilustracion-herov3.svg"
alt=""
/>
</div>
</main>
</body>
</html>
......@@ -13,71 +13,8 @@
<head>
<link rel="shortcut icon" href="imagenes/roshkaicon.ico" sizes="any" />
</head>
<style>
<link href="https://fonts.googleapis.com/css2?family=Concert+One&family=Francois+One&family=Satisfy&family=Staatliches&display=swap" rel="stylesheet">* {
box-sizing: border-box;
}
body {
font-family: 'Concert One', cursive;
font-family: 'Francois One', sans-serif;
font-family: 'Satisfy', cursive;
font-family: 'Staatliches', cursive;
font-size: 13px
}
.header,
.footer {
background-color: rgb(18, 18, 98);
color: white;
padding: 60px;
}
.column {
float: left;
padding: 30px;
}
.clearfix::after {
content: "";
clear: both;
display: table;
}
a {
color: white;
}
.botones a {
color: black;
}
.menu {
width: 50%;
}
.content {
width: 50%;
}
.menu ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.menu li {
padding: 8px;
margin-bottom: 8px;
background-color: rgb(18, 18, 98);
color: #ffffff;
}
.menu li:hover {
background-color: rgb(18, 18, 98);
}
</style>
<link rel="stylesheet" href="menulogin.css">
<link href="https://fonts.googleapis.com/css2?family=Concert+One&family=Francois+One&family=Satisfy&family=Staatliches&display=swap" rel="stylesheet">
</head>
<body>
......@@ -88,15 +25,19 @@
<body>
<div class="logo"><img src="imagenes/logo-roshka.svg" alt="logo-roshka"></div>
<div class="header">
<h1> MENU TH</h1>
<h1>Bienvenido! al MENU TH</h1>
<h2> EN LOS SIGUIENTES LINKS PUEDE MODIFICAR, AGREGAR O ELIMINAR DATOS DE LA BASE DE DATOS DEL BOOTCAMP </h2>
<h3>PUEDE ACCEDER A LOS SIGUIENTES LINKS:</h3>
</div>
<div class="column content">
<!-- <div class="column content">
<h1>PUEDE ACCEDER A LOS SIGUIENTES LINKS:</h1>
</div>
</div> -->
<div class="clearfix">
<div class="column menu">
......
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
img {
width: 200px;
padding: 10px;
display: block;
padding: 10px;
}
body {
font-family: 'Concert One', cursive;
font-family: 'Francois One', sans-serif;
font-family: 'Satisfy', cursive;
font-family: 'Staatliches', cursive;
font-size: 13px;
background-image: url(imagenes/descarga.svg);
}
.header,
.footer {
background-color: whitesmoke;
color: rgb(18, 18, 98);
padding: 60px;
}
.header,.footer{
background-color: aqua;
}
.column {
float: left;
padding: 30px;
}
.clearfix::after {
content: "";
clear: both;
display: table;
}
a {
color: white;
text-align: center;
text-decoration: none;
font-size: larger;
}
.menu {
width: 50%;
text-align: center;
}
.content {
width: 50%;
}
.menu ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.menu li {
padding: 8px;
margin-bottom: 8px;
border: solid 2px white;
/* background-image: url(imagenes/descarga.svg); */
color: rgb(18, 18, 98);
}
.menu li:hover {
background-color: rgb(18, 18, 98);
}
div.header{
background-image: url(imagenes/descarga.svg);
border: solid 1px black;
}
h1{
color: white;
text-align: center;
font-size: 30px;
}
h2,h3{
text-align: center;
font-family: monospace;
color: white;
}
h2:hover{
color: yellow;
}
h3:hover{
color: yellow;
}
\ No newline at end of file
......@@ -16,6 +16,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- el icono para la pagina -->
<link rel="shortcut icon" href="imagenes/roshkaicon.ico" sizes="any" />
<!-- coneccion con el de css -->
......@@ -29,22 +31,25 @@
<a href="menu.jsp">MENU</a><br>
</div>
<div class="logo">
<a href="./index.html"> <img class="logoi" src="imagenes/logo-roshka.svg" alt="" /> </a>
<a href="./login.jsp"> <img class="logoi" src="imagenes/logo-roshka.svg" alt="" /> </a>
<!-- logo con link -->
</div>
<div class="container">
<h1>Lista Postulantes</h1>
<div class="filtros">
<form action="filtros-postulante" >
<input type="search" name="nombreBuscar"
placeholder="Buscar por nombre">
<button type="submit">Buscar</button>
</form>
<div class="input-group">
<form action="filtros-postulante" >
<input type="search" name="nombreBuscar"
placeholder="Buscar por nombre">
<button type="submit">Buscar</button>
</form>
<form action="filtros-postulante" method="post" style="display:inline">
<input type="search" name="nombre" placeholder="Buscar por Bootcamp" required>
<button type="submit">Bootcamp</button>
</form>
<form action="filtros-postulante" method="post">
<input type="search" name="nombre" placeholder="Buscar por Bootcamp" required>
<button type="submit">Bootcamp</button>
</form>
</div>
<form action="filtros-postulante" method="post">
<input type="hidden" name="nombre" value="notebook">
......
......@@ -11,7 +11,7 @@ img{
padding: 5px;
}
.container{
width: 300%;
width: 100%;
max-width: 785px;
min-width: 320px;
border-radius: 15px;
......@@ -22,7 +22,7 @@ table{
/* background-color: wheat; */
text-align: left;
border-collapse: collapse;
width: 150%;
width: 100%;
/* border: solid 3px black; */
}
a{
......@@ -31,7 +31,7 @@ a{
}
h1{
font-family:Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
text-align: right;
text-align: center;
color:wheat;
font-weight:bold;
......@@ -80,3 +80,7 @@ th { border: 1px solid black; height: 30px;
}
button:hover{
color: yellow;}
div.boot{
width: 100%;
text-align: center;
}
\ No newline at end of file
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