| Current Path : /var/www/html/laravel-cms/storage/framework/views/ |
| Current File : /var/www/html/laravel-cms/storage/framework/views/b064623a152090dcc20f7f2dfff9205f.php |
<?php $__env->startSection('title', 'Admin Login'); ?>
<?php $__env->startSection('content'); ?>
<?php $__env->startPush('styles'); ?>
<style>
body {
font-family: 'Figtree', sans-serif;
background-image: url('<?php echo e(asset('dynaweb4/img/background.jpg')); ?>');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in {
animation: fadeIn 0.5s ease-out;
}
/* Optional: Add an overlay to make the card more readable */
.bg-overlay {
background-color: rgba(0, 0, 0, 0.5);
}
</style>
<?php $__env->stopPush(); ?>
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0">
<!-- Logo / Brand -->
<div class="mb-4 animate-fade-in">
<a href="/">
<img src="<?php echo e(asset('dynaweb4/img/logo-small.png')); ?>" alt="Logo"
class="w-16 h-16 rounded-xl shadow-lg object-cover p-1 bg-white">
</a>
</div>
<!-- Login Card -->
<div
class="w-full sm:max-w-md px-6 py-8 bg-white/95 backdrop-blur-sm shadow-md overflow-hidden sm:rounded-xl border border-gray-200 animate-fade-in">
<!-- Header -->
<div class="text-center mb-8">
<h2 class="text-2xl font-bold text-gray-900">Admin Login</h2>
<p class="text-sm text-gray-600 mt-2">Sign in to access dashboard</p>
</div>
<!-- Session Status -->
<?php if(session('status')): ?>
<div class="mb-4 text-sm text-green-600 bg-green-50 border border-green-200 rounded-lg p-3">
<?php echo e(session('status')); ?>
</div>
<?php endif; ?>
<!-- Login Form -->
<form method="POST" action="<?php echo e(route('admin.login.submit')); ?>">
<?php echo csrf_field(); ?>
<!-- Login Field -->
<div class="mb-5">
<label for="login" class="block text-sm font-medium text-gray-700 mb-1">
Email Address or Username
</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<svg class="h-5 w-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207">
</path>
</svg>
</div>
<input type="text" name="login" id="login" value="<?php echo e(old('login')); ?>" required autofocus
autocomplete="username"
class="block w-full pl-10 pr-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 transition duration-150 <?php $__errorArgs = ['login'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> border-red-500 <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
placeholder="superadmin@example.com or superadmin">
</div>
<?php $__errorArgs = ['login'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
<!-- Password -->
<div class="mb-5">
<label for="password" class="block text-sm font-medium text-gray-700 mb-1">
Password
</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<svg class="h-5 w-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z">
</path>
</svg>
</div>
<input type="password" name="password" id="password" required autocomplete="current-password"
class="block w-full pl-10 pr-10 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 transition duration-150 <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> border-red-500 <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
placeholder="••••••••">
<button type="button" onclick="togglePassword()"
class="absolute inset-y-0 right-0 pr-3 flex items-center">
<svg id="togglePasswordIcon" class="h-5 w-5 text-gray-400 hover:text-gray-600 cursor-pointer"
fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z">
</path>
</svg>
</button>
</div>
<?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
<!-- Remember Me -->
<div class="flex items-center justify-between mb-6">
<label class="flex items-center">
<input type="checkbox" name="remember"
class="rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500">
<span class="ml-2 text-sm text-gray-600">Remember me</span>
</label>
<?php if(Route::has('password.request')): ?>
<a href="<?php echo e(route('password.request')); ?>"
class="text-sm text-indigo-600 hover:text-indigo-500 hover:underline transition">
Forgot password?
</a>
<?php endif; ?>
</div>
<!-- Submit Button -->
<button type="submit"
class="w-full flex justify-center py-2.5 px-4 border border-transparent rounded-lg shadow-sm text-sm font-medium text-white bg-gradient-to-r from-rose-800 to-red-900 hover:from-rose-900 hover:to-red-950 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-600 transition duration-150 transform hover:scale-[1.02]">
<svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1">
</path>
</svg>
Sign In
</button>
<!-- Demo Credentials (Optional - remove in production) -->
<div class="mt-6 p-3 bg-blue-50 rounded-lg border border-blue-200">
<p class="text-xs text-blue-800 font-medium mb-1">Demo Credentials:</p>
<p class="text-xs text-blue-700">Email/Username: superadmin@example.com / superadmin</p>
<p class="text-xs text-blue-700">Password: password</p>
</div>
</form>
</div>
</div>
<?php $__env->startPush('scripts'); ?>
<script>
function togglePassword() {
const passwordInput = document.getElementById('password');
const icon = document.getElementById('togglePasswordIcon');
if (passwordInput.type === 'password') {
passwordInput.type = 'text';
icon.innerHTML =
'<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"></path>';
} else {
passwordInput.type = 'password';
icon.innerHTML =
'<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>';
}
}
</script>
<?php $__env->stopPush(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('auth-base', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/redd/resources/views/backend/auth/login.blade.php ENDPATH**/ ?>