redcomani.org/portalcautivo/portal.html

377 lines
11 KiB
HTML
Raw Normal View History

2018-10-15 01:58:49 +00:00
<!DOCTYPE html>
<html lang="en">
2018-10-19 03:53:30 +00:00
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2019-04-17 15:12:08 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="-1" />
2018-10-19 03:53:30 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="captiveportal-bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="captiveportal-all.css" crossorigin="anonymous">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Acceso a la 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]-->
2018-10-19 03:53:30 +00:00
<style>
2019-04-17 15:12:08 +00:00
html, body{
height:100%;
}
2018-10-19 03:53:30 +00:00
body{
2019-04-17 15:12:08 +00:00
background: url(captiveportal-imagen_central.jpg)no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
2018-10-19 03:53:30 +00:00
}
2019-04-17 15:12:08 +00:00
textarea,input,select {
background-color: #FDFBFB;
border: 1px solid #BBBBBB;
padding: 2px;
margin: 1px;
font-size: 14px;
color: #808080;
border-radius: 4px;
}
td{
font-weight: bolder;
}
input[type="submit"] {
background: -webkit-linear-gradient(left, #3931af, #00c6ff) !important;;
border: none;
padding: 5px 20px 5px 20px;
color: white;
font-weight: 600;
border-radius: 30px;
margin-top: 1em;
}
2018-10-19 03:53:30 +00:00
.register {
background: -webkit-linear-gradient(left, #3931afb5, #00c6ff);
padding: 3%;
2019-04-17 15:12:08 +00:00
position: relative;
2018-10-19 03:53:30 +00:00
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.register-left {
text-align: center;
color: #fff;
margin-top: 4%;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.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;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.register-right {
background: #f8f9fa;
border-top-left-radius: 20% 50%;
border-bottom-left-radius: 20% 50%;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.register-left img {
margin-top: 15%;
margin-bottom: 5%;
2019-04-17 15:12:08 +00:00
width: 80%;
2018-10-19 03:53:30 +00:00
-webkit-animation: mover 2s infinite alternate;
animation: mover 1s infinite alternate;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
@-webkit-keyframes mover {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-20px);
}
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
@keyframes mover {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-20px);
}
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.register-left p {
font-weight: lighter;
padding: 12%;
margin-top: -9%;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.register .register-form {
padding: 10%;
margin-top: 10%;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.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;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.register .nav-tabs {
margin-top: 3%;
border: none;
background: #0062cc;
border-radius: 1.5rem;
width: 40%;
float: right;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.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;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.register .nav-tabs .nav-link:hover {
border: none;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.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-shadow: rgb(0, 0, 0) 0px 2px 3px;
color: white;
text-align: center;
2019-04-17 15:12:08 +00:00
margin-left: 10%;
margin-top: 15%;
2018-10-19 03:53:30 +00:00
margin-bottom: -15%;
border-top-left-radius: 35px;
background: -webkit-linear-gradient(left, #3931af, #00c6ff) !important;
}
.tab-content {
padding-top: 1em;
}
.boton_entrar{
margin-left: auto !important;
margin-right: auto !important;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.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;
}
2018-10-15 01:58:49 +00:00
2018-10-19 03:53:30 +00:00
.circle_button:hover {
color: #ffffff;
background-color: #226093;
text-decoration: none;
border-color: #c7d400;
2018-10-19 03:53:30 +00:00
}
2018-10-19 03:53:30 +00:00
.circle_button:visited {
color: #ffffff;
background-color: #c7d400;
text-decoration: none;
2018-10-19 03:53:30 +00:00
}
2018-10-19 03:53:30 +00:00
.circle-link-greater-than {
font-size: 1em;
}
2019-04-17 15:12:08 +00:00
2018-10-19 03:53:30 +00:00
@media screen and (max-width:990px) {
.register .nav-tabs {
2019-04-17 15:12:08 +00:00
width: 80%;
2018-10-19 03:53:30 +00:00
}
}
2018-10-19 20:57:16 +00:00
@media screen and (max-width:768px) {
.register-left {
margin-top: 0px;
}
.register-left p {
font-weight: lighter;
padding: 0px;
margin-top: 0px;
}
.register-heading{
2019-04-17 15:12:08 +00:00
font-size: 1em;
margin-left: 25px;
}
}
@media only screen and (max-width: 425px) {
.register-right {
border-top-left-radius: 0% 50%;
border-bottom-left-radius: 0% 50%;
background:#f8f9fad4
}
.register-left img {
width: 30%;
2018-10-19 20:57:16 +00:00
}
}
2018-10-19 03:53:30 +00:00
</style>
</head>
<body>
<div class="container register">
<div class="row">
<div class="col-md-3 register-left">
<img src="captiveportal-logoRedINC.png" alt="" />
<h3>¡Bienvenid@!</h3>
2018-10-19 20:57:16 +00:00
<p>¡Estás muy cerca de entrar al mundo Web!</p>
2018-10-19 03:53:30 +00:00
</div>
<div class="col-md-9 register-right">
<ul class="nav nav-tabs nav-justified" id="myTab" role="tablist">
<li class="nav-item">
2019-04-17 15:12:08 +00:00
<a class="nav-link active" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="true">Sin Internet</a>
2018-10-19 03:53:30 +00:00
</li>
<li class="nav-item">
2019-04-17 15:12:08 +00:00
<a class="nav-link " id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="false">Con Internet</a>
2018-10-19 03:53:30 +00:00
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show" id="home" role="tabpanel" aria-labelledby="home-tab">
2018-10-19 20:57:16 +00:00
<h3 class="register-heading">Entrar con Internet</h3>
2018-10-19 03:53:30 +00:00
<div class="row register-form">
<div class="col-md-12">
2019-04-17 15:12:08 +00:00
<p> <strong>Si tienes un código de acceso, ingrésalo aquí:</strong></p>
$(if chap-id)
<form name="sendin" action="$(link-login-only)" method="post">
<input type="hidden" name="username" />
<input type="hidden" name="password" />
<input type="hidden" name="dst" value="$(link-orig)" />
<input type="hidden" name="popup" value="true" />
</form>
<script type="text/javascript" src="/md5.js"></script>
<script type="text/javascript">
<!--
function doLogin() {
document.sendin.username.value = document.login.username.value;
document.sendin.password.value = hexMD5('$(chap-id)' + document.login.password.value + '$(chap-challenge)');
document.sendin.submit();
return false;
}
//-->
</script>
$(endif)
<table>
<tr>
<td align="center" valign="middle">
<table>
<tr>
<td align="center" valign="bottom" colspan="2">
<form name="login" action="$(link-login-only)" method="post"
$(if chap-id) onSubmit="return doLogin()" $(endif)>
<input type="hidden" name="dst" value="$(link-orig)" />
<input type="hidden" name="popup" value="true" />
<table width="100%">
<tr><td align="right">Usuario: </td>
<td><input style="width: 100%" name="username" type="text" value="$(username)"/></td>
</tr>
<tr><td align="right">Contraseña: </td>
<td><input style="width: 100%" name="password" type="password"/></td>
</tr>
<tr><td>&nbsp;</td>
<td><input type="submit" value="Ingresar" /></td>
</tr>
</table>
</form>
</td>
</tr>
<tr><td align="center"><a href="http://www.colnodo.apc.org" target="_blank" style="border: none;"><img src="/img/logo_colnodo.png" alt="colnodo" /></a></td></tr>
</table>
$(if error)<br /><div style="color: #FF8080; font-size: 9px">$(error)</div>$(endif)
</td>
</tr>
</table>
<script type="text/javascript">
<!--
document.login.username.focus();
//-->
</script>
2018-10-19 03:53:30 +00:00
</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 class="boton_entrar">
<div class="container boton_entrar">
<div class="col-md-12 ">
2018-10-19 20:59:10 +00:00
<a href="https://redinc.org">
<button class="btn btn-default circle_button" > <strong style="font-size: 25px">Entrar</strong> <span class="circle-greater-than"></span></button>
</a>
2018-10-19 03:53:30 +00:00
</div>
</div>
2018-10-19 03:53:30 +00:00
</div>
</div>
2018-10-19 03:53:30 +00:00
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="captiveportal-jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="captiveportal-bootstrap.min.js"></script>
2018-10-19 03:53:30 +00:00
</body>
2018-10-15 01:58:49 +00:00
</html>