You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
2.7 KiB
PHTML

@extends('layouts.admin-login')
@section('content')
<div class="login-box">
<div class="card">
<div class="card-header text-center login-header">
<h1><b>{{ $settings->site_name }}</b></h1>
</div>
<div class="card-body login-body">
<form method="POST" action="{{ route('cms.login', null, false) }}">
@csrf
<div class="input-group mb-3 mt-2">
<input type="email" name="email" id="email" value="{{ old('email') }}" placeholder="E-mail" class="form-control @error('email') is-invalid @enderror" required autocomplete="email" autofocus />
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-envelope"></span>
</div>
</div>
@error('email')
<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>
@enderror
</div>
<div class="input-group mb-4">
<input type="password" id="password" name="password" value="" placeholder="Password" class="form-control @error('password') is-invalid @enderror" required autocomplete="current-password">
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-lock"></span>
</div>
</div>
@error('password')
<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>
@enderror
</div>
@foreach ($errors->all() as $error)
<div style="color:#f77162;padding-bottom:10px;font-size:11px;letter-spacing:-0.05em;" role="alert">
{{ $error }}
</div>
@endforeach
<div class="row mb-1 justify-content-center">
<div class="col-4">
<button type="submit" class="btn btn-primary btn-block">Login</button>
</div>
@if (Route::has('password.request'))
<!--<a class="btn btn-link" href="{{ route('password.request') }}">비밀번호를 잊으셨나요?</a>-->
@endif
</div>
</form>
</div>
</div>
</div>
@endsection