redcomani.org/portalcautivo/logout.html

83 lines
2.0 KiB
HTML

<html>
<head>RedCoMani Salir</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<style type="text/css">
<!--
textarea,input,select {
background-color: #FDFBFB;
padding: 2px;
margin: 1px;
font-size: 14px;
color: #808080;
}
input[type="submit"]{
background: -webkit-linear-gradient(left, #7F9E3C, #DB9E3B) !important;;
border: none;
padding: 5px 20px 5px 20px;
color: white;
font-weight: 600;
border-radius: 30px;
margin-top: 1em;
}
.tabula{
border-width: 1px;
border-collapse: collapse;
border-color: #c1c1c1;
background-color: transparent;
font-family: verdana;
font-size: 11px;
}
body{ color: #737373; font-size: 12px; font-family: verdana; }
a, a:link, a:visited, a:active { color: #AAAAAA; text-decoration: none; font-size: 12px; }
a:hover { border-bottom: 1px dotted #c1c1c1; color: #AAAAAA; }
img {border: none;}
td { font-size: 12px; padding: 4px;}
-->
</style>
</head>
<body>
<script language="JavaScript">
<!--
function openLogin() {
if (window.name != 'hotspot_logout') return true;
open('$(link-login)', '_blank', '');
window.close();
return false;
}
//-->
</script>
<table width="100%" height="100%">
<tr>
<td align="center" valign="middle">
<b>Haz terminado la sesión, ¡Vuelve pronto!</b> <br><br>
<table class="tabula" border="1">
<tr><td align="right">Nombre de usuario</td><td>$(username)</td></tr>
<tr><td align="right">Dirección IP</td><td>$(ip)</td></tr>
<tr><td align="right">Dirección MAC</td><td>$(mac)</td></tr>
<tr><td align="right">Tiempo de sesión</td><td>$(uptime)</td></tr>
$(if session-time-left)
<tr><td align="right">time left</td><td>$(session-time-left)</td></tr>
$(endif)
<tr><td align="right">bytes carga/descarga:</td><td>$(bytes-in-nice) / $(bytes-out-nice)</td></tr>
</table>
<br>
<form action="$(link-login)" name="login" onSubmit="return openLogin()">
<input type="submit" value="Salir">
</form>
</td>
</table>
</body>
</html>