Add pedoman content and editor assets
This commit is contained in:
120
pedoman/login.php
Normal file
120
pedoman/login.php
Normal file
@@ -0,0 +1,120 @@
|
||||
<?php
|
||||
include('koneksi.php');
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>LOGIN ADMIN</title>
|
||||
|
||||
<!-- Bootstrap CSS CDN -->
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||
<!-- Our Custom CSS -->
|
||||
<link rel="stylesheet" href="css/login.css">
|
||||
<script>
|
||||
<?php
|
||||
if (isset($_GET['message'])) {
|
||||
echo "alert('" . $_GET['message'] . "')";
|
||||
}
|
||||
?>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<div id="content">
|
||||
<nav class="navbar navbar-default">
|
||||
<span>
|
||||
<div class="title">
|
||||
<h1>Ebook Panduan Akademik FT UNTAN</h1>
|
||||
</div>
|
||||
</span>
|
||||
</nav>
|
||||
<div class="line"></div>
|
||||
|
||||
<div class="container-fluid" style="padding-top: 20px;padding-bottom: 20px;">
|
||||
<h2 style="text-align: center;">LOGIN
|
||||
</h2>
|
||||
<div class="line"></div>
|
||||
<?php
|
||||
include('notif.php');
|
||||
if(isset($_GET['notif'])){
|
||||
if($_GET['tipe']=="konfirm"){
|
||||
notif($_GET['tipe'],$_GET['pesan'],$_GET['tujuan'],$_GET['asal']);
|
||||
}else{
|
||||
notif($_GET['tipe'],$_GET['pesan']);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
<form class="daftarsiswa" action="authlogin.php" method="POST">
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<label for="username">Username</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="username" required>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="password">Password</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="input-group">
|
||||
<input class="form-control pwd1" name="password" type="password">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default reveal1" type="button" style="border: none;height: 35px;"><i class="glyphicon glyphicon-eye-open"></i></button>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="display:flex;align-item:right;justify-content:right;">
|
||||
<input class="button" type="reset" value="Reset">
|
||||
<input name="login" class="button" type="submit" value="Login">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- jQuery CDN -->
|
||||
<script src="js/jquery-1.12.0.min.js"></script>
|
||||
|
||||
<script defer>
|
||||
$(".reveal1").on('click',function() {
|
||||
var $pwd = $(".pwd1");
|
||||
if ($pwd.attr('type') === 'password') {
|
||||
$pwd.attr('type', 'text');
|
||||
} else {
|
||||
$pwd.attr('type', 'password');
|
||||
}
|
||||
});
|
||||
$(".reveal2").on('click',function() {
|
||||
var $pwd = $(".pwd2");
|
||||
if ($pwd.attr('type') === 'password') {
|
||||
$pwd.attr('type', 'text');
|
||||
} else {
|
||||
$pwd.attr('type', 'password');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- Bootstrap Js CDN -->
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user