<!--<form action="<?php echo e(route('upload.m_excel')); ?>" method="POST" enctype="multipart/form-data">-->
<!--    <?php echo csrf_field(); ?>-->
<!--    <input type="file" name="attendance_file[]" multiple>-->
<!--    <button type="submit">Upload</button>-->
<!--</form>-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Upload Attendance Files</title>
    <style>
        body {
            background: #f3f4f6;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }

        .upload-container {
            background-color: #ffffff;
            padding: 30px 40px;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            width: 100%;
        }

        .upload-container h2 {
            margin-bottom: 20px;
            color: #333333;
            font-size: 22px;
            text-align: center;
        }

        .upload-container input[type="file"] {
            display: block;
            width: 100%;
            padding: 10px;
            margin-bottom: 20px;
            background-color: #f1f5f9;
            border: 2px dashed #cbd5e1;
            border-radius: 10px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .upload-container input[type="file"]:hover {
            background-color: #e2e8f0;
        }

        .upload-container button {
            width: 100%;
            padding: 12px;
            background-color: #3b82f6;
            color: white;
            font-weight: bold;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s ease;
        }

        .upload-container button:hover {
            background-color: #2563eb;
        }

        .upload-container .error {
            color: red;
            font-size: 14px;
            margin-top: -15px;
            margin-bottom: 10px;
        }
    </style>
</head>
<body>

    <form action="<?php echo e(route('upload.m_excel')); ?>" method="POST"  target="_blank" enctype="multipart/form-data" class="upload-container">
        <?php echo csrf_field(); ?>
        <h2>Upload Attendance Files</h2>
        
        <input type="file" name="attendance_file[]" multiple>
        <?php $__errorArgs = ['attendance_file.*'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <p class="error"><?php echo e($message); ?></p>
        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        
        <button type="submit">Upload</button>
    </form>

</body>
</html>
<?php /**PATH /home/f2wr0eurtucd/public_html/easybulk.in/resources/views/attendance/m_upload.blade.php ENDPATH**/ ?>