Corrección de errores, con esto ya queda una versión funcional de la nueva implementación
This commit is contained in:
parent
d93d45e9a6
commit
bdcd9ef4b1
@ -19,6 +19,8 @@
|
||||
|
||||
<!-- static zone info -->
|
||||
<script src="js/zone.js"></script>
|
||||
<script src="js/jquery-1.11.2.min.js"></script>
|
||||
<!-- <script src="js/captiveportal-jquery.min.js"></script> -->
|
||||
|
||||
<script>
|
||||
function getURLparams()
|
||||
@ -156,49 +158,6 @@
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
<header class="page-head">
|
||||
<nav class="navbar navbar-default" >
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="#">
|
||||
<img class="brand-logo" src="images/captiveportal-logoNR.png" height="30" width="150">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="page-content col-sm-6 col-sm-push-3">
|
||||
-->
|
||||
<!-- User option 1: login needed with name and password -->
|
||||
<!--
|
||||
<div id="login_password" class="hidden">
|
||||
<form class="form-signin">
|
||||
<h2 class="form-signin-heading">Please sign in</h2>
|
||||
<label for="inputUsername" class="sr-only">Username</label>
|
||||
<input type="text" id="inputUsername" class="form-control" placeholder="Username" required autofocus autocomplete="none" autocapitalize="none" autocorrect="off">
|
||||
<label for="inputPassword" class="sr-only">Password</label>
|
||||
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
|
||||
<button class="btn btn-primary btn-block" id="signin" type="button">Sign in</button>
|
||||
</form>
|
||||
</div>
|
||||
-->
|
||||
<!-- User option 2: login needed, without username, password -->
|
||||
<!--
|
||||
<div id="login_none" class="hidden">
|
||||
<form class="form-signin">
|
||||
<button class="btn btn-primary btn-block" id="signin_anon" type="button">Sign in</button>
|
||||
</form>
|
||||
</div>
|
||||
<!-- User option 3: Already logged in, show logout button -->
|
||||
<!--
|
||||
<div id="logout_frm" class="hidden">
|
||||
<form class="form-signin">
|
||||
<button class="btn btn-primary btn-block" id="logoff" type="button">Logout</button>
|
||||
</form>
|
||||
</div>
|
||||
<!-- Message dialog -->
|
||||
|
||||
|
||||
<div class="container register">
|
||||
@ -224,14 +183,24 @@
|
||||
<div class="row register-form">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div id="login_password" class="hidden">
|
||||
<form class="form-signin">
|
||||
<!--<h2 class="form-signin-heading">Please sign in</h2>-->
|
||||
<!-- <h2 class="form-signin-heading">Please sign in</h2> -->
|
||||
<label for="inputUsername" class="sr-only">Usuario</label>
|
||||
<input type="text" id="inputUsername" class="form-control" placeholder="Username" required autofocus autocomplete="none" autocapitalize="none" autocorrect="off">
|
||||
<input type="text" id="inputUsername" class="form-control" placeholder="Usuario" required autofocus autocomplete="none" autocapitalize="none" autocorrect="off">
|
||||
<label for="inputPassword" class="sr-only">Contraseña</label>
|
||||
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
|
||||
<input type="password" id="inputPassword" class="form-control" placeholder="Contraseña" required>
|
||||
<button class="btn btn-primary btn-block" id="signin" type="button">Ingresar</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- User option 3: Already logged in, show logout button -->
|
||||
<div id="logout_frm" class="hidden">
|
||||
<form class="form-signin">
|
||||
<button class="btn btn-primary btn-block" id="logoff" type="button">Salir</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
@ -262,7 +231,7 @@
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="js/captiveportal-jquery.min.js"></script>
|
||||
|
||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||
<script src="js/captiveportal-bootstrap.min.js"></script>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user