feat: add admin panel layout, dashboard, and user management
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
<?php $__env->startSection('content'); ?>
|
||||
<!-- Start::app-content -->
|
||||
<div class="container-lg">
|
||||
<div class="row justify-content-center align-items-center authentication authentication-basic h-100">
|
||||
<div class="col-xxl-4 col-xl-5 col-lg-5 col-md-6 col-sm-8 col-12">
|
||||
<div class="card custom-card my-4 auth-circle">
|
||||
<div class="card-body p-5">
|
||||
<p class="h4 mb-3 fw-semibold text-center">
|
||||
ورود به پنل مدیریت
|
||||
</p>
|
||||
<p class="mb-4 text-muted text-center">
|
||||
برای ورود به پنل مدیریت لطفا اطلاعات فرم را وارد کنید.
|
||||
</p>
|
||||
|
||||
|
||||
<form method="POST" action="<?php echo e(route('admin.auth.login.post')); ?>">
|
||||
<?php echo csrf_field(); ?>
|
||||
<div class="col-xl-12">
|
||||
<label for="login-email" class="form-label text-default">نام کاربری</label>
|
||||
<input
|
||||
type="text"
|
||||
name="username"
|
||||
class="form-control"
|
||||
id="login-username"
|
||||
placeholder="نام کاربری خود را وارد کنید."
|
||||
value="<?php echo e(old('username')); ?>"
|
||||
/>
|
||||
<?php $__errorArgs = ['username'];
|
||||
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
||||
if ($__bag->has($__errorArgs[0])) :
|
||||
if (isset($message)) { $__messageOriginal = $message; }
|
||||
$message = $__bag->first($__errorArgs[0]); ?>
|
||||
<span style="color: red"><?php echo e($message); ?></span>
|
||||
<?php unset($message);
|
||||
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
||||
endif;
|
||||
unset($__errorArgs, $__bag); ?>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="col-xl-12">
|
||||
<label for="login-password" class="form-label text-default">رمز عبور</label>
|
||||
<div class="position-relative">
|
||||
<input
|
||||
type="password"
|
||||
name="password"
|
||||
class="form-control"
|
||||
id="login-password"
|
||||
placeholder="رمز عبور را وارد کنید"
|
||||
/>
|
||||
<?php $__errorArgs = ['password'];
|
||||
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
||||
if ($__bag->has($__errorArgs[0])) :
|
||||
if (isset($message)) { $__messageOriginal = $message; }
|
||||
$message = $__bag->first($__errorArgs[0]); ?>
|
||||
<span style="color: red"><?php echo e($message); ?></span>
|
||||
<?php unset($message);
|
||||
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
||||
endif;
|
||||
unset($__errorArgs, $__bag); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-grid mt-4">
|
||||
<button type="submit" class="btn btn-primary">ورود</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End::app-content -->
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php echo $__env->make('admin.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\ASUS\Desktop\airline-agency\resources\views/admin/login.blade.php ENDPATH**/ ?>
|
||||
Reference in New Issue
Block a user