135 lines
2.7 KiB
PHP
135 lines
2.7 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="fa" dir="rtl">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>ورود مدیران</title>
|
|
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #f4f7fb;
|
|
font-family: Tahoma, sans-serif;
|
|
}
|
|
|
|
.login-card {
|
|
width: 400px;
|
|
background: #fff;
|
|
padding: 35px;
|
|
border-radius: 16px;
|
|
box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
|
|
}
|
|
|
|
.login-card h2 {
|
|
margin-top: 0;
|
|
margin-bottom: 25px;
|
|
text-align: center;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: #0d6efd;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.error {
|
|
color: #dc3545;
|
|
font-size: 13px;
|
|
margin-top: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="login-card">
|
|
|
|
<h2>ورود به پنل مدیریت</h2>
|
|
|
|
<form
|
|
action="{{ route('admin.auth.login.post') }}"
|
|
method="POST"
|
|
>
|
|
|
|
@csrf
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="username">
|
|
نام کاربری
|
|
</label>
|
|
|
|
<input
|
|
type="text"
|
|
id="username"
|
|
name="username"
|
|
value="{{ old('username') }}"
|
|
autocomplete="username"
|
|
>
|
|
|
|
@error('username')
|
|
<div class="error">
|
|
{{ $message }}
|
|
</div>
|
|
@enderror
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password">
|
|
رمز عبور
|
|
</label>
|
|
|
|
<input
|
|
type="password"
|
|
id="password"
|
|
name="password"
|
|
autocomplete="current-password"
|
|
>
|
|
|
|
@error('password')
|
|
<div class="error">
|
|
{{ $message }}
|
|
</div>
|
|
@enderror
|
|
|
|
</div>
|
|
|
|
<button type="submit">
|
|
ورود
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|