HEX
Server: Apache/2.4.46 (Ubuntu)
System: Linux localhost 5.11.0-49-generic #55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64
User: root (0)
PHP: 7.4.16
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/hrms-production/storage/framework/views/0a72d84c917ba79c92d1620d2b2c66829b9130a1.php
<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Login | HRMS</title>

    <!-- Fonts -->
    <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>

    <!-- SweetAlert2 css -->
    <link rel="stylesheet" href="<?php echo e(asset('plugins/sweetalert2-theme-bootstrap-4/bootstrap-4.min.css')); ?>">
    <!-- SweetAlert2 js -->
    <script src="<?php echo e(asset('plugins/sweetalert2/sweetalert2.min.js')); ?>"></script>
    <!-- Styles -->
    <style>
        body {
            background: #e9e9e9;
            color: #666666;
            font-family: 'RobotoDraft', 'Roboto', sans-serif;
            font-size: 14px;
            margin: 0px;
        }

        /* Main Content Styles */
        .container {
            width: 69%;
            margin-left: auto;
            margin-right: auto;
        }

        .card {
            width: 50%;
            background: #ffffff;
            border-radius: 5px;
            padding: 60px 0 40px 0;
            box-sizing: border-box;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
        }

        /* Right Side Card Styles */
        .card .title {
            position: relative;
            z-index: 1;
            border-left: 5px solid #E65100;
            margin: 0 0 35px;
            padding: 10px 0 10px 50px;
            color: #E65100;
            font-size: 220%;
            font-weight: 600;
            text-transform: uppercase;
        }

        .card .input-container {
            position: relative;
            margin: 0 60px 50px;
        }

        .card .input-container input {
            outline: none;
            z-index: 1;
            position: relative;
            background: none;
            width: 100%;
            height: 60px;
            border: 0;
            color: #212121;
            font-size: 24px;
            font-weight: 400;
        }

        .card .input-container .bar {
            position: absolute;
            left: 0;
            bottom: 0;
            background: #757575;
            width: 100%;
            height: 1px;
        }

        .card .button-container {
            margin: 0 60px;
            margin-bottom: 20px;
            text-align: center;
        }

        .card .button-container button {
            outline: 0;
            cursor: pointer;
            position: relative;
            background: 0;
            width: 70%;
            border: 2px solid #e3e3e3;
            padding: 20px 0;
            font-size: 180%;
            font-weight: 600;
            line-height: 1;
            text-transform: uppercase;
            transition: .3s ease;
        }

        .card .button-container button:hover,
        .card .button-container button:active,
        .card .button-container button:focus {
            border-color: #E65100;
        }

        .card .forgot {
            color: #d3d3d3;
            font-size: 180%;
            font-weight: 300;
            text-align: center;
            cursor: pointer;
        }

        .card .forgot:hover {
            color: #bababa;
        }

        /* Left Side Card Styles */
        .info {
            color: white;
            background-color: #f7b612;
        }

        .info img {
            display: block;
            margin: 0 auto;
        }

        .info h1 {
            text-align: center;
            font-size: 240%;
            font-weight: 200;
            text-transform: uppercase;
        }

        .info .para {
            position: relative;
            text-align: center;
            font-size: 135%;
            padding: 4%;
            font-style: italic;
            line-height: 145%;
        }

        .info .copy {
            text-align: center;
            margin-bottom: 6px;
        }

        /* Media Queries */
        @media  only screen and (max-width: 1094px) {
            .container {
                width: 100%;
            }
        }

        @media  only screen and (min-width: 768px) {
            .eq {
                display: table;
            }

            .col {
                float: none;
                display: table-cell;
                vertical-align: top;
            }
        }

        @media  only screen and (max-width: 767px) {
            .container {
                width: 100%;
            }

            .card {
                width: 100%;
            }

            .progress .bar {
                width: 1%;
            }

            .progress #right {
                background-color: #fff;
            }
        }

        /* Animations */
        @-webkit-keyframes fade-in {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes  fade-in {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @-webkit-keyframes slide-up {
            from {
                transform: translateY(12px);
            }

            to {
                transform: translateY(0);
            }
        }

        @keyframes  slide-up {
            from {
                transform: translateY(12px);
            }

            to {
                transform: translateY(0);
            }
        }

        .animated {
            -webkit-animation: slide-up 0.7s ease-in, fade-in 0.7s ease-in;
            animation: slide-up 0.7s ease-in, fade-in 0.7s ease-in;
            -webkit-animation-play-state: running;
            animation-play-state: running;
            -webkit-animation-fill-mode: backwards;
            animation-fill-mode: backwards;
        }
    </style>

    <style>
        body {
            font-family: 'Nunito';
        }
    </style>
</head>

<body class="antialiased">
    <div
        class="relative flex items-top justify-center min-h-screen bg-gray-100 dark:bg-gray-900 sm:items-center sm:pt-0">
        <?php if(Route::has('login')): ?>
        <div class="hidden fixed top-0 right-0 px-6 py-4 sm:block">
            <?php if(auth()->guard()->check()): ?>
            <a href="<?php echo e(url('/home')); ?>" class="text-sm text-gray-700 underline">Home</a>
            <?php else: ?>
            <a href="<?php echo e(route('login')); ?>" class="text-sm text-gray-700 underline">Login</a>

            <?php if(Route::has('register')): ?>
            <a href="<?php echo e(route('register')); ?>" class="ml-4 text-sm text-gray-700 underline">Register</a>
            <?php endif; ?>
            <?php endif; ?>
        </div>
        <?php endif; ?>

        <div>
            <div class="container eq">
                <div class="card info col">
                    <div class="logo animated">
                        <img src="<?php echo e(url('/uploads/dbskkv_logo.jpg')); ?>">
                    </div>

                    <h1 class="animated">Welcome to DBSKKV HRMS</h1>
                    <p class="para animated">The Konkan region is distinguished from the rest of Maharashtra State by
                        virtue of its disitinct agroclimatic conditions, soil types, topography, its location between
                        the Sahyadri ranges and the Arabian sea, crops and cropping pattern, land holdings, and
                        socio-economic conditions of the farmers. As such, the problems in agriculture and allied
                        sectors are also entirely different from the other parts of Maharashtra. Due to this uniqueness,
                        the Government of Maharashtra established the Konkan Krishi Vidyapeeth on the 18th May 1972 to
                        impart education, conduct research on location specific problems and disseminate the improved
                        crop production technologies amongst the farming community. The university was renamed as Dr.
                        Balasaheb Sawant Konkan Krishi Vidyapeeth, Dapoli on 12th February 2001.</p>
                    <p class="copy animated">&copy; <a href="https://dbskkv.org/" target="_blank">dbskkv.org</a> </p>
                </div>
                <div class="card col">
                    <h1 class="title animated">Login</h1>
                    <form id="loginForm" method="POST">
                        <div class="input-container animated">
                            <label for="Username">Username</label>
                            <input type="email" id="Username" required="required" />
                            <div class="bar"></div>
                        </div>
                        <div class="input-container animated">
                            <label for="Password">Password</label>
                            <input type="password" id="Userpassword" required="required" />
                            <div class="bar"></div>
                        </div>

                        <div class="button-container animated">
                            <button type="button" id="BtnSignIn">Sign In</button>
                            <span id="errorMessage"></span>
                        </div>

                        <!-- <div class="forgot animated">Forgot your password?</div>
                        <div class="forgot animated">Change your password</div> -->
                    </form>
                </div>

            </div>

        </div>
    </div>
</body>
 
<script>
    $("#BtnSignIn").click(function(){

        
        //$('#errorMessage').html('Please wait...');
        $.post("<?php echo e(url('/')); ?>/user/login",
        {
            _token: "<?php echo e(csrf_token()); ?>",
            Username: $('#Username').val(),
            Userpassword: $('#Userpassword').val()
        },
        function(data, status){
            if(data.ResponseCode == "200")
            {
                //$("#errorMessage").addClass("text-success");
               // $('#errorMessage').html('Successfully login');
                //alert("Data: " + data.User + "\nStatus: " + status);
                Swal.fire({
                            icon: 'success',
                            title: 'Login successfully!',
                            showConfirmButton: false,
                            timer: 2000
                        }).then(function() {
                            location.href="<?php echo e(url('/')); ?>/dashboard";
                        });
                
            }
            else
            {
              //  $("#errorMessage").addClass("text-danger");
               // $('#errorMessage').html('Login failed');
               Swal.fire({
                            icon: 'error',
                            title: 'Invalid username or password',
                            showConfirmButton: false,
                            timer: 2000
                        });
            }
            //alert("Data: " + data + "\nStatus: " + status);
        });
    });
</script>
</html><?php /**PATH /var/www/html/hrms-production/resources/views/welcome.blade.php ENDPATH**/ ?>