CINXE.COM
Login e-Takah Universitas Pembangunan Nasional
<!DOCTYPE html> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7 Version: 4.7.1 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Dribbble: www.dribbble.com/keenthemes Like: www.facebook.com/keenthemes Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes Renew Support: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project. --> <!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]--> <!--[if !IE]><!--> <html lang="en"> <!--<![endif]--> <!-- BEGIN HEAD --> <head> <meta charset="utf-8" /> <title>Login e-Takah Universitas Pembangunan Nasional</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta content="width=device-width, initial-scale=1" name="viewport" /> <meta content="Qelola Pusdatin" name="description" /> <meta content="" name="author" /> <!-- BEGIN GLOBAL MANDATORY STYLES --> <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css" /> <link href="https://etakah.upnvj.ac.id/dive/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <link href="https://etakah.upnvj.ac.id/dive/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" /> <link href="https://etakah.upnvj.ac.id/dive/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <!-- END GLOBAL MANDATORY STYLES --> <!-- BEGIN THEME GLOBAL STYLES --> <link href="https://etakah.upnvj.ac.id/dive/assets/global/css/components-md.min.css" rel="stylesheet" id="style_components" type="text/css" /> <link href="https://etakah.upnvj.ac.id/dive/assets/global/css/plugins-md.min.css" rel="stylesheet" type="text/css" /> <!-- END THEME GLOBAL STYLES --> <!-- BEGIN PAGE LEVEL STYLES --> <link href="https://etakah.upnvj.ac.id/dive/assets/pages/css/login-4.min.css" rel="stylesheet" type="text/css" /> <!-- END PAGE LEVEL STYLES --> <!-- BEGIN THEME LAYOUT STYLES --> <!-- END THEME LAYOUT STYLES --> <link rel="icon" href="https://etakah.upnvj.ac.id/dive/assets/images/logo-h.png" /> <!-- END HEAD --> </head> <body class="login"> <!-- BEGIN LOGO --> <div class="logo"> </div> <!-- END LOGO --> <!-- BEGIN LOGIN --> <div class="content block5"> <img src="https://etakah.upnvj.ac.id/dive/assets/images/head-login.jpg" width="100%"> <!-- BEGIN LOGIN FORM --> <form action="https://etakah.upnvj.ac.id/dive/assets/docs/thailand" class="login-form" id="loginAction" method="post" accept-charset="utf-8"> <input type="hidden" name="csrf_key_etakah" value="27e6029784be78b1660e5347f59fb204" /> <h3 class="form-title font-blue-ebonylay">Login to your account</h3> <span class="message_error"></span> <div class="form-group"> <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that--> <label class="control-label visible-ie8 visible-ie9">Username</label> <div class="input-group"> <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="Username" name="account" autofocus /> <span class="input-group-addon"> <i class="fa fa-user"></i> </span> </div> </div> <div class="form-group"> <label class="control-label visible-ie8 visible-ie9">Password</label> <div class="input-icon"> <input class="form-control placeholder-no-fix" id="password" type="password" autocomplete="off" placeholder="Password" name="pass" /> </div> </div> <div class="form-group row"> <div class="col-md-6 col-xs-6 text-right"> <div class="img_capcap load-captcha"></div> <small><a onclick="regenerateCaptcha()"><i class="fa fa-refresh"></i> Refresh Captcha</a></small> </div> <div class="col-md-6 col-xs-6"> <input type="text" class="form-control" name="captcha_key" placeholder="Kode Captcha" maxlength="5"> </div> </div> <div class="form-actions"> <input type="submit" class="btn green pull-right" name="act" value="login"> </div> <!--div class="forget-password"> <h4>Forgot your password ?</h4> <p> no worries, click <a href="javascript:;" id="forget-password"> here </a> to reset your password. </p> </div--> <p> </p> </form> <!-- END LOGIN FORM --> <!-- BEGIN FORGOT PASSWORD FORM --> </div> <!-- END LOGIN --> <!-- BEGIN COPYRIGHT --> <div class="copyright"> 2024 © e-Takah iCraft</div> <!-- END COPYRIGHT --> <!--[if lt IE 9]> <script src="../assets/global/plugins/respond.min.js"></script> <script src="../assets/global/plugins/excanvas.min.js"></script> <script src="../assets/global/plugins/ie8.fix.min.js"></script> <![endif]--> <!-- BEGIN CORE PLUGINS --> <script src="https://etakah.upnvj.ac.id/dive/assets/global/plugins/jquery.min.js" type="text/javascript"></script> <script src="https://etakah.upnvj.ac.id/dive/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script> <script src="https://etakah.upnvj.ac.id/dive/assets/global/plugins/js.cookie.min.js" type="text/javascript"></script> <script src="https://etakah.upnvj.ac.id/dive/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script> <script src="https://etakah.upnvj.ac.id/dive/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script> <script src="https://etakah.upnvj.ac.id/dive/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script> <!-- END CORE PLUGINS --> <!-- BEGIN PAGE LEVEL PLUGINS --> <script src="https://etakah.upnvj.ac.id/dive/assets/global/plugins/jquery-validation/js/jquery.validate.min.js" type="text/javascript"></script> <script src="https://etakah.upnvj.ac.id/dive/assets/global/plugins/jquery-validation/js/additional-methods.min.js" type="text/javascript"></script> <script src="https://etakah.upnvj.ac.id/dive/assets/global/plugins/select2/js/select2.full.min.js" type="text/javascript"></script> <!-- END PAGE LEVEL PLUGINS --> <!-- BEGIN THEME GLOBAL SCRIPTS --> <script src="https://etakah.upnvj.ac.id/dive/assets/global/scripts/app.min.js" type="text/javascript"></script> <!-- END THEME GLOBAL SCRIPTS --> <!-- BEGIN PAGE LEVEL SCRIPTS --> <!-- <script src="https://etakah.upnvj.ac.id/dive/assets/pages/scripts/login-4.min.js" type="text/javascript"></script> --> <!-- END PAGE LEVEL SCRIPTS --> <!-- BEGIN THEME LAYOUT SCRIPTS --> <!-- END THEME LAYOUT SCRIPTS --> <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> --> <script src="https://etakah.upnvj.ac.id/dive/assets/plugins/sh.password/password.js" type="text/javascript"></script> <script> var csrfName = 'csrf_key_etakah'; var csrfHash = '27e6029784be78b1660e5347f59fb204'; $(function() { $('#password').password().on('show.bs.password', function(e) { $('#eventLog').text('On show event'); $('#methods').prop('checked', true); }).on('hide.bs.password', function(e) { $('#eventLog').text('On hide event'); $('#methods').prop('checked', false); }); $('#methods').click(function() { $('#password').password('toggle'); }); }); function regenerateCaptcha(){ $('div.load-captcha').block({ message: '<i class="fa fa-spin fa-refresh"></i>', css: { border: '1px solid #fff' } }); $.ajax({ type: "POST", url: 'https://etakah.upnvj.ac.id/dive/login/generate_capcap', data : {[csrfName]:csrfHash}, success: function(text) { $('div.load-captcha').unblock(); $('.img_capcap').html(text); }, error: function(e){ $('div.load-captcha').unblock(); // swal ( "Oops" , 'Internal Server Error' , "error" ); } }); } $( document ).ready(function() { regenerateCaptcha(); $('#loginAction').on('submit', function (event) { // console.log('asdasdad'); if (event.isDefaultPrevented()) { // alert("false"); } else { event.preventDefault(); $('div.block5').block({ message: '<img src="https://etakah.upnvj.ac.id/dive/assets/images/loader.gif" width="200px" />', css: { border: '1px solid #fff' } }); var form = $('#loginAction'); var formData = new FormData(form[0]); $.ajax({ type: "POST", url: 'https://etakah.upnvj.ac.id/dive/login/auth', processData: false, contentType: false, data: formData, success: function(text) { if (text.status){ $('div.block5').unblock(); $('.message_error').html( '<div class="alert alert-success">' +text.message +'</div>' ); setTimeout(function(){ location.reload();},500); } else { $('div.block5').unblock(); $('.message_error').html( '<div class="alert alert-warning">' +text.message +'</div>' ); } }, error: function(e){ $('div.block5').unblock(); $('.message_error').html( '<div class="alert alert-danger">'+e.statusText+' (Code : '+e.status+' )</div>' ); } }); } }); }); </script> </body> </html>