ultimos adiciones

This commit is contained in:
Hacky Purple 2018-10-19 15:57:16 -05:00
parent ad09c1d19d
commit f696e8e976
4 changed files with 50 additions and 385 deletions

View File

@ -194,6 +194,20 @@
} }
} }
@media screen and (max-width:768px) {
.register-left {
margin-top: 0px;
}
.register-left p {
font-weight: lighter;
padding: 0px;
margin-top: 0px;
}
.register-heading{
font-size: 21px;
}
}
</style> </style>
</head> </head>
@ -203,7 +217,7 @@
<div class="col-md-3 register-left"> <div class="col-md-3 register-left">
<img src="captiveportal-logoRedINC.png" alt="" /> <img src="captiveportal-logoRedINC.png" alt="" />
<h3>¡Bienvenid@!</h3> <h3>¡Bienvenid@!</h3>
<p>Estás muy cerca de entrar al mundo Web!</p> <p>¡Estás muy cerca de entrar al mundo Web!</p>
</div> </div>
<div class="col-md-9 register-right"> <div class="col-md-9 register-right">
<ul class="nav nav-tabs nav-justified" id="myTab" role="tablist"> <ul class="nav nav-tabs nav-justified" id="myTab" role="tablist">
@ -216,7 +230,7 @@
</ul> </ul>
<div class="tab-content" id="myTabContent"> <div class="tab-content" id="myTabContent">
<div class="tab-pane fade show" id="home" role="tabpanel" aria-labelledby="home-tab"> <div class="tab-pane fade show" id="home" role="tabpanel" aria-labelledby="home-tab">
<h3 class="register-heading">Entra con Internet</h3> <h3 class="register-heading">Entrar con Internet</h3>
<div class="row register-form"> <div class="row register-form">
<div class="col-md-12"> <div class="col-md-12">
<form method="post" action="$PORTAL_ACTION$"> <form method="post" action="$PORTAL_ACTION$">

View File

@ -1,379 +0,0 @@
<!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">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Portal Cautivo Red Comunitaria</title>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
.register {
background: -webkit-linear-gradient(left, #3931af, #00c6ff);
margin-top: 3%;
padding: 3%;
}
.register-left {
text-align: center;
color: #fff;
margin-top: 4%;
}
.register-left input {
border: none;
border-radius: 1.5rem;
padding: 2%;
width: 60%;
background: #f8f9fa;
font-weight: bold;
color: #383d41;
margin-top: 30%;
margin-bottom: 3%;
cursor: pointer;
}
.register-right {
background: #f8f9fa;
border-top-left-radius: 10% 50%;
border-bottom-left-radius: 10% 50%;
}
.register-left img {
margin-top: 15%;
margin-bottom: 5%;
width: 25%;
-webkit-animation: mover 2s infinite alternate;
animation: mover 1s infinite alternate;
}
@-webkit-keyframes mover {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-20px);
}
}
@keyframes mover {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-20px);
}
}
.register-left p {
font-weight: lighter;
padding: 12%;
margin-top: -9%;
}
.register .register-form {
padding: 10%;
margin-top: 10%;
}
.btnRegister {
float: right;
margin-top: 10%;
border: none;
border-radius: 1.5rem;
padding: 2%;
background: #0062cc;
color: #fff;
font-weight: 600;
width: 50%;
cursor: pointer;
}
.register .nav-tabs {
margin-top: 3%;
border: none;
background: #0062cc;
border-radius: 1.5rem;
width: 28%;
float: right;
}
.register .nav-tabs .nav-link {
padding: 2%;
height: 34px;
font-weight: 600;
color: #fff;
border-top-right-radius: 1.5rem;
border-bottom-right-radius: 1.5rem;
}
.register .nav-tabs .nav-link:hover {
border: none;
}
.register .nav-tabs .nav-link.active {
width: 100%;
color: #0062cc;
border: 2px solid #0062cc;
border-top-left-radius: 1.5rem;
border-bottom-left-radius: 1.5rem;
}
.register-heading {
text-align: center;
margin-top: 8%;
margin-bottom: -15%;
color: #495057;
}
/* images sprites
*/
.circle {
cursor: pointer;
width: 215px;
height: 215px;
position: absolute;
top: 50%;
left: 50%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.mask-a,
.mask-b {
border-radius: 100%;
position: relative;
width: 100%;
height: 100%;
}
.mask-a {
background: #1b2d41;
overflow: hidden;
-webkit-mask-position: 0 0;
-webkit-mask-size: 215px 215px;
-webkit-mask-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/953/mask_svg.svg);
z-index: 10;
}
.mask-b {
background: #1b2d41;
}
.cursor,
.cursor::before {
background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/953/ok_1.svg) no-repeat center center;
position: absolute;
width: 44px;
height: 44px;
}
.cursor {
background-position: 0px -31px;
top: 7em;
left: 9em;
will-change: transform;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
transition: -webkit-transform 550ms ease;
transition: transform 550ms ease;
transition: transform 550ms ease, -webkit-transform 550ms ease;
}
.cursor::before {
background-position: -43px -30px;
content: "";
top: -0.3em;
left: 0.3em;
will-change: transform;
-webkit-transform: translateX(0px) translateZ(0px);
transform: translateX(0px) translateZ(0px);
transition: -webkit-transform 550ms ease;
transition: transform 550ms ease;
transition: transform 550ms ease, -webkit-transform 550ms ease;
}
.ok-btn {
background: #1aaf5d;
border-radius: 0.7em;
box-shadow: 0 5px 0 #0a7237;
color: #fff;
font-size: 2em;
font-weight: 500;
text-shadow: 0 2px 0 #0a7237;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
width: 148px;
height: 70px;
margin-left: -74px;
margin-top: -35px;
will-change: transform;
-webkit-transform: translateY(0px) translateZ(0px);
transform: translateY(0px) translateZ(0px);
line-height: 70px;
transition: all 550ms ease;
}
.circle:hover>.mask-b>.ok-btn {
background: #179951;
box-shadow: 0 0 0 1px #064320, inset 0 1px 0 0 #0a7237;
-webkit-transform: translateY(5px) translateZ(0px);
transform: translateY(5px) translateZ(0px);
transition: all 450ms 100ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
}
.circle:hover>.mask-b>.cursor {
-webkit-transform: translate3d(-0.3em, 0.5em, 0);
transform: translate3d(-0.3em, 0.5em, 0);
transition: -webkit-transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
transition: transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
transition: transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65), -webkit-transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
}
.circle:hover>.mask-b>.cursor::before {
-webkit-transform: translateX(-4px) translateZ(0px);
transform: translateX(-4px) translateZ(0px);
transition: -webkit-transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
transition: transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
transition: transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65), -webkit-transform 450ms cubic-bezier(0.68, -0.55, 0.265, 1.65);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
figure {
margin: 0;
}
.credit-design {
color: #315277;
font-weight: 400;
position: absolute;
width: 100%;
left: 0;
bottom: 20px;
font-size: 0.8rem;
text-align: center;
}
.credit-design a {
color: #395f89;
text-decoration: none;
}
.circle-button {
box-shadow: 2px 4px 0 2px rgba(0, 0, 0, 0.1);
border: .5em solid #c7d400;
font-size: 1em;
line-height: 1.1em;
color: #ffffff;
background-color: #76be4e;
margin: auto;
border-radius: 50%;
height: 7em;
width: 7em;
position: relative;
}
.orange-circle-button:hover {
color: #ffffff;
background-color: #226093;
text-decoration: none;
border-color: #c7d400;
}
.orange-circle-button:visited {
color: #ffffff;
background-color: #c7d400;
text-decoration: none;
}
.orange-circle-link-greater-than {
font-size: 1em;
}
</style>
</head>
<body>
<div class="container register">
<div class="row">
<div class="col-md-3 register-left">
<img src="https://image.ibb.co/n7oTvU/logo_white.png" alt="" />
<h3>¡Bienvenido!</h3>
<p>Estás muy cerca de entrar al mundo Web!</p>
</div>
<div class="col-md-9 register-right">
<ul class="nav nav-tabs nav-justified" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link " id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="false">Con Internet</a>
</li>
<li class="nav-item">
<a class="nav-link active" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="true">Sin Internet</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show" id="home" role="tabpanel" aria-labelledby="home-tab">
<h3 class="register-heading">Entrar con Internet</h3>
<div class="row register-form">
<div class="col-md-12">
<form method="post" action="$PORTAL_ACTION$">
<input class="form-control" name="auth_user" type="text" placeholder="Usuario" id="auth_user">
<input class="form-control" name="auth_pass" type="password" placeholder="Contraseña" id="auth_pass">
<legend>Si tienes un codigo de acceso, ingresalo aquí:</legend>
<input class="form-control" name="auth_voucher" type="text" placeholder="Codigo Voucher">
<input class="form-control" name="redirurl" type="hidden" value="$PORTAL_REDIRURL$">
<input name="zone" type="hidden" value="$PORTAL_ZONE$">
<input class="btn register nav-tabs register-left" name="accept" type="submit" value="Entrar">
</form>
</div>
</div>
</div>
<div class="tab-pane fade show active" id="profile" role="tabpanel" aria-labelledby="profile-tab">
<h3 class="register-heading">Ver contenidos sin Internet</h3>
<div class="row register-form">
<div>
<div class="container d-flex justify-content-center">
<div class="col-md-12">
<button class="btn btn-default circle-button" href="">Entrar /><span class="orange-circle-greater-than">></span></button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
</body>
</html>

View File

@ -20,13 +20,27 @@ body {
font-size: 2em; font-size: 2em;
padding: 0.4em; padding: 0.4em;
} }
.boton_chat>.btn-lg{
padding: 15px 30px;
font-size: 20px;
border-radius: 30px;
}
.boton_chat{
font-size: 2em;
padding-bottom: 2em;
}
.lead{
letter-spacing: 0.06em;
}
#logo_cabecera{ #logo_cabecera{
width:100%; width:100%;
left:40px; left:40px;
background-color: white; background-color: white;
} }
.alert-info{ .alert-info{
padding-left: 2em;
padding-right: 2em;
color: #341208; color: #341208;
background-image: url(""); background-image: url("");
} }

View File

@ -12,7 +12,7 @@ $email[0] ="correo@redinc.org";
// $facebook[0] ="https://www.facebook.com/redinc/"; // $facebook[0] ="https://www.facebook.com/redinc/";
// $twitter[0] ="@RedINC"; // $twitter[0] ="@RedINC";
$web[0] ="https://redinc.org"; $web[0] ="https://redinc.org";
$slogan[0] ="RedINC <br/> Buenos Aires - Buenas Ondas "; $slogan[0] ="RedINC <br/> Buenos Aires - buena onda! ";
function enviar_mail($formulario) function enviar_mail($formulario)
{ {
@ -152,9 +152,25 @@ $xajax->processRequests();
<img src="libs/redinc/images/logoRedINC.png" alt="Logo RedIINC" class='img img-responsive center-block'> <img src="libs/redinc/images/logoRedINC.png" alt="Logo RedIINC" class='img img-responsive center-block'>
</div> </div>
<div class="container text-center">
<div class="boton_chat tex-center">
<a class="btn btn-danger btn-lg" data-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
Chatear Sin Internet
</a>
<div class="collapse" id="collapseExample">
<div class="card card-body">
Para chatear sin internet en tu celular <a href="https://wiki.redinc.org/doku.php?id=redinc:documentacion:conversar"> Ingresa aquí y sigue las instrucciones </a></br>
En tu computador <a href="https://conversemos.redinc.org"> Ingresa en este enlace</a></br>
<strong>¡Comunícate con tus amigos y vecinos en la RedINC!</strong>
</div>
</div>
</div>
</div>
<div class='container-fluid franja text-center'> <div class='container-fluid franja text-center'>
<h1>RedInc.org <div class='lead'>ofrece acceso gratuito a los contenidos que puedes encontrar navegando esta página, son contenidos de la red local que no necesitan internet <strong> <a style="color:black;" href="#">Si quieres comprar internet conoce más en este enlace</a> </strong></div></h1> <h1>RedInc.org <div class='lead'>Ofrece acceso gratuito a los contenidos que puedes encontrar navegando esta página, son contenidos de la red local que no necesitan internet </br><strong> <a style="color:yellow;" href="https://wiki.redinc.org/doku.php?id=redinc:documentacion:comprarinternet">Si quieres comprar internet entra aquí</a> </strong></div></h1>
</div> </div>
@ -178,7 +194,7 @@ $xajax->processRequests();
</div> </div>
<div id='div_contacto' class='container-fluid'> <div id='div_contacto' class='container-fluid'>
<div class='col-lg-6 col-lg-push-3 alert alert-info text-center' > <div class='col-sm-push-3 col-sm-6 col-md-push-3 col-md-6 col-lg-6 col-lg-push-3 alert alert-info text-center' >
<form role='form' class='form-horizontal' id='formulario_contacto' name='formulario_contacto'> <form role='form' class='form-horizontal' id='formulario_contacto' name='formulario_contacto'>
<h2>Contacto y sugerencias</h2> <h2>Contacto y sugerencias</h2>
<div class='form-group '> <div class='form-group '>
@ -221,7 +237,7 @@ $xajax->processRequests();
<div class="container-fluid " > <div class="container-fluid " >
<div class='col-lg-6 col-lg-push-3' > <div class='col-sm-push-2 col-sm-8 col-md-push-2 col-md-8 col-lg-6 col-lg-push-3' >
<div id="creditos"> <div id="creditos">
<h3>Con el apoyo de:</h3></br> <h3>Con el apoyo de:</h3></br>
<div class="img_creditos"> <div class="img_creditos">