Add SPOTA core PHP application
Add the main admin, dosen, mahasiswa, API, and service code needed to run the core legacy application with configurable upload storage.
This commit is contained in:
173
dosen/login.php
Normal file
173
dosen/login.php
Normal file
@@ -0,0 +1,173 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- Template Name: Clip-One - Responsive Admin Template build with Twitter Bootstrap 3 Version: 1.0 Author: ClipTheme -->
|
||||
<!--[if IE 8]><html class="ie8 no-js" lang="en"><![endif]-->
|
||||
<!--[if IE 9]><html class="ie9 no-js" lang="en"><![endif]-->
|
||||
<!--[if !IE]><!-->
|
||||
<html lang="en" class="no-js">
|
||||
<!--<![endif]-->
|
||||
<!-- start: HEAD -->
|
||||
<head>
|
||||
<title>LOGIN DOSEN - SPOTA UNTAN</title>
|
||||
<script>
|
||||
if (location.hostname !== 'localhost' && location.hostname !== '127.0.0.1' && location.protocol !== 'https:') {
|
||||
location.replace(`https:${location.href.substring(location.protocol.length)}`);
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="shortcut icon" href="../img/logountan.png">
|
||||
<!-- start: META -->
|
||||
<meta charset="utf-8" />
|
||||
<!--[if IE]><meta http-equiv='X-UA-Compatible' content="IE=edge,IE=9,IE=8,chrome=1" /><![endif]-->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta content="spota, untan, sistem pendukung, tugas akhir" name="description" />
|
||||
<meta content="universitas tanjungpura" name="author" />
|
||||
<!-- end: META -->
|
||||
<!-- start: MAIN CSS -->
|
||||
<link href="../assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link rel="stylesheet" href="../assets/plugins/font-awesome/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="../assets/fonts/style.css">
|
||||
<link rel="stylesheet" href="../assets/css/main.css">
|
||||
|
||||
<script>
|
||||
/**
|
||||
(function(h,o,t,j,a,r){
|
||||
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
|
||||
h._hjSettings={hjid:3350217,hjsv:6};
|
||||
a=o.getElementsByTagName('head')[0];
|
||||
r=o.createElement('script');r.async=1;
|
||||
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
|
||||
a.appendChild(r);
|
||||
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
|
||||
*/
|
||||
</script>
|
||||
<!--[if IE 7]>
|
||||
<link rel="stylesheet" href="assets/plugins/font-awesome/css/font-awesome-ie7.min.css">
|
||||
<![endif]-->
|
||||
<!-- end: MAIN CSS -->
|
||||
<!-- start: CSS REQUIRED FOR THIS PAGE ONLY -->
|
||||
<!-- end: CSS REQUIRED FOR THIS PAGE ONLY -->
|
||||
</head>
|
||||
<!-- end: HEAD -->
|
||||
<!-- start: BODY -->
|
||||
<body class="login example2">
|
||||
<div class="main-login col-sm-4 col-sm-offset-4">
|
||||
<div class="logo"><!-- <img style="width:60px;height:60px; margin-right:10px" src="../img/untanlogo.png"/> -->SPOTA UNIVERSITAS TANJUNGPURA
|
||||
</div>
|
||||
<!-- start: LOGIN BOX -->
|
||||
<div class="box-login">
|
||||
<h3>LOGIN DOSEN</h3>
|
||||
<p>
|
||||
Silakan masukkan username (NIP) dan password anda.
|
||||
</p>
|
||||
<form class="form-login" action="" method="POST">
|
||||
<input type="hidden" name="act" value="login" />
|
||||
<div class="errorHandler alert alert-danger no-display">
|
||||
<i class="fa fa-remove-sign"></i> Ada kesalahan, silakan diperiksa kembali.
|
||||
</div>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<span class="input-icon">
|
||||
<input type="text" class="form-control" name="username" id="login_uname" placeholder="Masukkan NIP Anda">
|
||||
<i class="fa fa-user"></i> </span>
|
||||
</div>
|
||||
<div class="form-group form-actions">
|
||||
<span class="input-icon">
|
||||
<input type="password" class="form-control password" name="password" placeholder="Masukkan Password Anda">
|
||||
<i class="fa fa-lock"></i>
|
||||
<a class="forgot" href="#">
|
||||
Lupa Password
|
||||
</a> </span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<span class="input-icon">
|
||||
<select class="form-control" name="prodi" id="prodi">
|
||||
<option value="2">Informatika</option>
|
||||
<!--<option value="">Pilih Prodi</option>-->
|
||||
</select>
|
||||
<i class="fa fa-user"></i> </span>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-bricky pull-right">
|
||||
Login <i class="fa fa-arrow-circle-right"></i>
|
||||
</button>
|
||||
<span id="loading" style="display:none">Login....</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<!-- end: LOGIN BOX -->
|
||||
<!-- start: FORGOT BOX -->
|
||||
<div class="box-forgot">
|
||||
<h3>Lupa Password?</h3>
|
||||
<p>
|
||||
Silakan masukkan email anda.
|
||||
</p>
|
||||
<form class="form-forgot" action="" method="POST">
|
||||
<input type="hidden" name="act" value="recoverpass" />
|
||||
<div class="errorHandler alert alert-danger no-display">
|
||||
<i class="fa fa-remove-sign"></i> Ada kesalahan, silakan dicek terlebih dahulu
|
||||
</div>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<span class="input-icon">
|
||||
<input type="email" class="form-control" name="email" placeholder="Email">
|
||||
<i class="fa fa-envelope"></i> </span>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<button class="btn btn-light-grey go-back">
|
||||
<i class="fa fa-circle-arrow-left"></i> Kembali
|
||||
</button>
|
||||
<button type="submit" class="btn btn-bricky pull-right">
|
||||
Submit <i class="fa fa-arrow-circle-right"></i>
|
||||
</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<!-- end: FORGOT BOX -->
|
||||
|
||||
<!-- end: REGISTER BOX -->
|
||||
<!-- start: COPYRIGHT -->
|
||||
<div class="copyright">
|
||||
2014 © Universitas Tanjungpura.
|
||||
</div>
|
||||
<!-- end: COPYRIGHT -->
|
||||
</div>
|
||||
<!-- start: MAIN JAVASCRIPTS -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="assets/plugins/respond.min.js"></script>
|
||||
<script src="assets/plugins/excanvas.min.js"></script>
|
||||
<![endif]-->
|
||||
<script src="../js/jquery-1.8.3.min.js"></script>
|
||||
<script src="../assets/plugins/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="../assets/plugins/jquery-validation/dist/jquery.validate.min.js"></script>
|
||||
<script src="../assets/js/dosen/login.js?v=0.0.2"></script>
|
||||
<!-- end: MAIN JAVASCRIPTS -->
|
||||
<!-- start: JAVASCRIPTS REQUIRED FOR THIS PAGE ONLY -->
|
||||
<script>
|
||||
jQuery(document).ready(function() {
|
||||
Login.init();
|
||||
$("#login_uname").change(function(ev) {
|
||||
ev.preventDefault();
|
||||
var nip=$("#login_uname").val();
|
||||
//alert(nip);
|
||||
$.ajax({
|
||||
url:'act.auth.php',
|
||||
data:{act:'chpr',nip:nip},
|
||||
dataType:'html',
|
||||
type:'POST',
|
||||
beforeSend:function(){
|
||||
|
||||
},
|
||||
success:function(html){
|
||||
$('#prodi').html(html);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
<!-- end: BODY -->
|
||||
</html>
|
||||
Reference in New Issue
Block a user