CINXE.COM
Sign In - ERP
<!DOCTYPE html> <!--[if IE 8]> <html class="ie8"> <![endif]--> <!--[if IE 9]> <html class="ie9 gt-ie8"> <![endif]--> <!--[if gt IE 9]><!--> <html class="gt-ie8 gt-ie9 not-ie"> <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Sign In - ERP</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <!-- Open Sans font from Google CDN --> <link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&subset=latin" rel="stylesheet" type="text/css"> <!-- Pixel Admin's stylesheets --> <link href="https://erp.sandipuniversity.com/assets/stylesheets/bootstrap.min.css" rel="stylesheet" type="text/css"> <link href="https://erp.sandipuniversity.com/assets/stylesheets/pixel-admin.min.css" rel="stylesheet" type="text/css"> <link href="https://erp.sandipuniversity.com/assets/stylesheets/pages.min.css" rel="stylesheet" type="text/css"> <link href="https://erp.sandipuniversity.com/assets/stylesheets/rtl.min.css" rel="stylesheet" type="text/css"> <link href="https://erp.sandipuniversity.com/assets/stylesheets/themes.min.css" rel="stylesheet" type="text/css"> <script src="https://erp.sandipuniversity.com/assets/javascripts/bootstrap-datepicker.js "></script> <!--[if lt IE 9]> <script src="assets/javascripts/ie.min.js"></script> <![endif]--> <!-- $DEMO ========================================================================================= Remove this section on production --> <!-- / $DEMO --> </head> <!-- 1. $BODY ====================================================================================== Body Classes: * 'theme-{THEME NAME}' * 'right-to-left' - Sets text direction to right-to-left --> <body class="theme-default page-signin"> <!-- Page background --> <div id="page-signin-bg"> <!-- Background overlay --> <div class="overlay"></div> <!-- Replace this with your bg image --> </div> <!-- / Page background --> <!-- Container --> <div class="signin-container"> <!-- Left side --> <div class="signin-info" style="background-color:#f7f7f7"> <a href="" class="logo"> <center> <img src="https://erp.sandipuniversity.com/assets/images/logo.png" alt="" style="margin-top: -5px;"> </center> </a> <!-- / .logo --> <!-- / .slogan --> <!--<ul> <li><i class="fa fa-sitemap signin-icon"></i> Flexible modular structure</li> <li><i class="fa fa-file-text-o signin-icon"></i> LESS & SCSS source files</li> <li><i class="fa fa-outdent signin-icon"></i> RTL direction support</li> <li><i class="fa fa-heart signin-icon"></i> Crafted with love</li> </ul> / Info list --> </div> <!-- / Left side --> <!-- Right side --> <div class="signin-form"> <!-- Form --> <form action="" id="signin-form_id" method="post"> <div class="signin-text"> <input type="hidden" value="student" name="utypes" id="utypes"> <span>Forgot Password :<span style="color:red"> </span></span> </div> <!-- / .signin-text --> <span style="color:red" id="espan"></span> <div class="form-group w-icon"> <input type="text" name="signin_username" id="username_id" class="form-control input-lg" value="" placeholder="Enrollment Number" required> <span class="fa fa-user signin-form-icon"></span> </div> <!-- / Username --> <div class=" form-group date w-icon" id="dob-datepicker"> <div class="input-group"> <span class="input-group-addon"><i class="fa fa-calendar"></i></span> <input type="text" id="dob" name="dob" class="form-control input-lg" style="padding-left: 18px;" value="" placeholder="Date of Birth" required /> </div></div> <div class=" form-group date w-icon" id="otpid"> </div> <div class="form-actions"> <input type="button" name="button" value="Resend Password" id="signin-btn" class="signin-btn" style="background-color: #ed3237;color: white"> </div> </form> <!-- / Form --> <!-- / Password reset form --> </div> <!-- Right side --> </div> <!-- / Container --> <!-- Get jQuery from Google CDN --> <!--[if !IE]> --> <script type="text/javascript"> window.jQuery || document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js">'+"<"+"/script>"); </script> <!-- <![endif]--> <!--[if lte IE 9]> <script type="text/javascript"> window.jQuery || document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">'+"<"+"/script>"); </script> <![endif]--> <!-- Pixel Admin's javascripts --> <script src="https://erp.sandipuniversity.com/assets/javascripts/bootstrap.min.js"></script> <script src="https://erp.sandipuniversity.com/assets/javascripts/pixel-admin.min.js"></script> <script type="text/javascript"> // Resize BG $(document).ready(function(){ $('#dob-datepicker').datepicker( {format: 'dd-mm-yyyy',autoclose: true}); $('#signin-btn').click(function(){ $('#espan').html(''); $('#otpid').html(); var uid = $("#username_id").val(); var dob = $("#dob").val(); var utypes = $("#utypes").val(); if(uid=='') { alert("Enter your Enrollment Number"); return false; } if(dob=='') { alert("Date of Birth can not be blank"); return false; } $('#signin-btn').hide(); $.ajax({ type: 'POST', url: 'https://erp.sandipuniversity.com/Forgot_password/verify_credentials_student', data: { uid: uid, dob :dob,utypes :utypes}, success: function (data) { // alert(data); if(data.trim()=='Y') { // alert("Yes"); var msg ='Enter OTP sent at registered mobile number and click on Resend Password'; var msg2 ='<input type="text" name="otp" id="otp" class="form-control input-lg" value="" placeholder="Enter OTP" required><span class="fa fa-user signin-form-icon"></span>'; var msg3 =' <input type="button" name="button" value="Reset Password" id="reset_pass" class="signin-btn" style="background-color: #ed3237;color: white" onclick="send_logindet()">'; $('#otpid').html(msg2); $('#espan').html(msg); $('.form-actions').html(msg3); } else { // alert("No"); var msg = data; $('#espan').html(msg); $('#signin-btn').show(); } } }); //alert("test"); // return false; }); }); function send_logindet() { // alert("hi"); $('#espan').html(''); // $('#reset_pass').hide(); var uid = $("#username_id").val(); var dob = $("#dob").val(); var otp = $("#otp").val(); var utypes = $("#utypes").val(); if(uid=='') { alert("Enter your Enrollment Number"); return false; } if(dob=='') { alert("Date of Birth can not be blank"); return false; } if(otp=='') { alert("Enter OTP"); return false; } $.ajax({ type: 'POST', url: 'https://erp.sandipuniversity.com/Forgot_password/send_login_credentials', data: { uid: uid, dob :dob, otp :otp,utypes :utypes}, success: function (data) { if(data.trim()=='Y') { $('#espan').html("Your login credentials sent on registered mobile number"); $('#reset_pass').show(); // alert("Your login credentials sent on registered mobile number"); } else { $('#espan').html("Invalid combination. Please check OTP,Enrollment Number and Date of Birth"); $('#reset_pass').show(); // alert("Invalid combination. Please check OTP,Enrollment Number and Date of Birth"); } } }); } init.push(function () { var $ph = $('#page-signin-bg'), $img = $ph.find('> img'); $(window).on('resize', function () { $img.attr('style', ''); if ($img.height() < $ph.height()) { $img.css({ height: '100%', width: 'auto' }); } }); }); // Show/Hide password reset form on click init.push(function () { $('#forgot-password-link').click(function () { $('#password-reset-form').fadeIn(400); return false; }); $('#password-reset-form .close').click(function () { $('#password-reset-form').fadeOut(400); return false; }); }); // Setup Sign In form validation init.push(function () { $("#signin-form_id").validate({ focusInvalid: true, errorPlacement: function () {} }); // Validate username $("#username_id").rules("add", { required: true, minlength: 3 }); // Validate password $("#password_id").rules("add", { required: true, minlength: 6 }); }); // Setup Password Reset form validation init.push(function () { $("#password-reset-form_id").validate({ focusInvalid: true, errorPlacement: function () {} }); // Validate email $("#p_email_id").rules("add", { required: true, email: true }); }); window.PixelAdmin.start(init); </script> </body> </html>