95 lines
3.0 KiB
HTML
Executable File
95 lines
3.0 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<title>Home</title>
|
|
<link rel="stylesheet" href="/styles/style.min.css">
|
|
|
|
<!-- Sweet Alert -->
|
|
<link rel="stylesheet" href="/plugin/sweet-alert/sweetalert.css">
|
|
|
|
<!-- Waves Effect -->
|
|
<link rel="stylesheet" href="/plugin/waves/waves.min.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="single-wrapper">
|
|
<form action="#" class="frm-single">
|
|
<div class="inside">
|
|
<div class="title"><strong>ONT Checker</strong></div>
|
|
<!-- /.title -->
|
|
<div class="frm-title">Login</div>
|
|
<!-- /.frm-title -->
|
|
<div class="frm-input"><input type="text" id="username" placeholder="Username" class="frm-inp"><i
|
|
class="fa fa-user frm-ico"></i></div>
|
|
<!-- /.frm-input -->
|
|
<div class="frm-input"><input type="password" id="password" placeholder="Password" class="frm-inp"><i
|
|
class="fa fa-lock frm-ico"></i></div>
|
|
<!-- /.frm-input -->
|
|
|
|
<!-- /.clearfix -->
|
|
<button type="button" class="frm-submit" onclick="login()">Login<i
|
|
class="fa fa-arrow-circle-right"></i></button>
|
|
|
|
<!-- /.row -->
|
|
<!-- <a href="/" class="a-link"><i class="fa fa-arrow-circle-left"></i>Kembali ke Halaman Utama.</a> -->
|
|
<div class="frm-footer">ONT Checker © 2024.</div>
|
|
<!-- /.footer -->
|
|
</div>
|
|
<!-- .inside -->
|
|
</form>
|
|
<!-- /.frm-single -->
|
|
</div><!--/#single-wrapper -->
|
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
<!--[if lt IE 9]>
|
|
<script src="/script/html5shiv.min.js"></script>
|
|
<script src="/script/respond.min.js"></script>
|
|
<![endif]-->
|
|
<!--
|
|
================================================== -->
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
<script src="/scripts/jquery.min.js"></script>
|
|
<script src="/scripts/modernizr.min.js"></script>
|
|
<script src="/plugin/bootstrap/js/bootstrap.min.js"></script>
|
|
<script src="/plugin/nprogress/nprogress.js"></script>
|
|
<script src="/plugin/waves/waves.min.js"></script>
|
|
<script src="/plugin/sweet-alert/sweetalert.min.js"></script>
|
|
<script src="/block/jquery.blockUI.js"></script>
|
|
<script src="/scripts/main.min.js"></script>
|
|
<script src="/my-js.js"></script>
|
|
|
|
<script>
|
|
function login() {
|
|
if (document.getElementById("username").value == "" && document.getElementById("password").value == "") {
|
|
// focus input
|
|
$('#username').focus();
|
|
return false;
|
|
|
|
}
|
|
|
|
if (document.getElementById("username").value == "admin" && document.getElementById("password").value == "admin") {
|
|
window.location = "/admin";
|
|
} else {
|
|
swal({
|
|
title: "Login Gagal",
|
|
text: "Username atau Password yang anda masukkan salah",
|
|
type: "error",
|
|
timer: 2000,
|
|
showConfirmButton: !1
|
|
});
|
|
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
|
|
</html> |