78a3b1d63d
git commit "Add admin management search sort and permission structure preparation"
85 lines
2.3 KiB
PHP
85 lines
2.3 KiB
PHP
@extends('admin.layouts.app')
|
|
|
|
@section('content')
|
|
|
|
<div class="container mt-5">
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-md-5">
|
|
|
|
<div class="card shadow rounded-4">
|
|
|
|
<div class="card-body p-4">
|
|
|
|
<h3 class="text-center mb-4">
|
|
ورود مدیر
|
|
</h3>
|
|
@error('general')
|
|
<span style="color: #42a5f5"> {{$message}} </span>
|
|
@enderror
|
|
|
|
|
|
<form action="{{ route('admin.auth.login.post') }}" method="POST">
|
|
|
|
@csrf
|
|
|
|
|
|
<div class="mb-3">
|
|
|
|
<label>
|
|
نام کاربری
|
|
</label>
|
|
|
|
<input
|
|
type="text"
|
|
name="username"
|
|
class="form-control"
|
|
value="{{old('username')}}"
|
|
|
|
>
|
|
@error('username')
|
|
<span style="color: #42a5f5"> {{$message}} </span>
|
|
@enderror
|
|
|
|
</div>
|
|
|
|
|
|
<div class="mb-3">
|
|
|
|
<label>
|
|
رمز عبور
|
|
</label>
|
|
|
|
<input
|
|
type="password"
|
|
name="password"
|
|
class="form-control"
|
|
>
|
|
@error('password')
|
|
<span style="color: #42a5f5"> {{$message}} </span>
|
|
@enderror
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<button class="btn btn-primary w-100">
|
|
ورود
|
|
</button>
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|