47 lines
1.4 KiB
PHP
47 lines
1.4 KiB
PHP
<!doctype html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>관리자 로그인</title>
|
|
</head>
|
|
<body style="font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; max-width: 360px; margin: 80px auto;">
|
|
<h2>관리자 로그인</h2>
|
|
|
|
@if ($errors->any())
|
|
<div style="background:#ffecec; border:1px solid #ffb3b3; padding:10px; margin:12px 0;">
|
|
<ul style="margin:0; padding-left:18px;">
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
@endif
|
|
|
|
<form method="POST" action="{{ route('admin.login.store') }}">
|
|
@csrf
|
|
|
|
<div style="margin: 12px 0;">
|
|
<label>Email</label><br>
|
|
<input type="email" name="email" value="{{ old('email') }}" required autofocus
|
|
style="width:100%; padding:10px; box-sizing:border-box;">
|
|
</div>
|
|
|
|
<div style="margin: 12px 0;">
|
|
<label>Password</label><br>
|
|
<input type="password" name="password" required
|
|
style="width:100%; padding:10px; box-sizing:border-box;">
|
|
</div>
|
|
|
|
<div style="margin: 12px 0;">
|
|
<label>
|
|
<input type="checkbox" name="remember" value="1">
|
|
로그인 유지
|
|
</label>
|
|
</div>
|
|
|
|
<button type="submit" style="width:100%; padding:10px;">로그인</button>
|
|
</form>
|
|
</body>
|
|
</html>
|