|
@@ -1,114 +1,101 @@
|
|
<style>
|
|
<style>
|
|
- html body {background: #fff;}
|
|
|
|
|
|
+ .login-page {background: #f7f7f9;}
|
|
|
|
+
|
|
|
|
+ .login-box {
|
|
|
|
+ margin-top: -5rem;
|
|
|
|
+ }
|
|
</style>
|
|
</style>
|
|
|
|
|
|
-<link rel="stylesheet" href="{{ admin_asset('@admin/css/pages/authentication.css') }}">
|
|
|
|
-
|
|
|
|
-<section class="row flexbox-container">
|
|
|
|
- <div class="col-xl-8 col-11 d-flex justify-content-center" style="top: -35px;">
|
|
|
|
- <div class="card bg-authentication rounded-0 mb-0">
|
|
|
|
- <div class="row m-0 shadow-100">
|
|
|
|
- <div class="col-lg-6 d-lg-block d-none text-center align-self-center px-1 py-0" style="min-width: 240px">
|
|
|
|
- <img src="{{ admin_asset('@admin/images/pages/login.png') }}" alt="branding logo">
|
|
|
|
- </div>
|
|
|
|
- <div class="col-lg-6 col-12 p-0">
|
|
|
|
- <div class="card rounded-0 mb-0 px-2" style="min-width: 400px">
|
|
|
|
- <div class="card-header pb-1 justify-content-center">
|
|
|
|
- <div class="card-title">
|
|
|
|
- <h4 class="m-auto">{{ config('admin.name') }}</h4>
|
|
|
|
- </div>
|
|
|
|
|
|
+<div class="login-page">
|
|
|
|
+ <div class="login-box">
|
|
|
|
+ <div class="login-logo mb-2">
|
|
|
|
+ {{ config('admin.name') }}
|
|
|
|
+ </div>
|
|
|
|
+ <div class="card">
|
|
|
|
+ <div class="card-body login-card-body p-2 shadow-100">
|
|
|
|
+ <p class="login-box-msg mt-1 mb-1">{{ __('admin.welcome_back') }}</p>
|
|
|
|
+
|
|
|
|
+ <form id="login-form" method="POST" action="{{ admin_url('auth/login') }}">
|
|
|
|
+
|
|
|
|
+ @csrf
|
|
|
|
+
|
|
|
|
+ <fieldset class="form-label-group form-group position-relative has-icon-left">
|
|
|
|
+ <input
|
|
|
|
+ type="text"
|
|
|
|
+ class="form-control {{ $errors->has('username') ? 'is-invalid' : '' }}"
|
|
|
|
+ name="username"
|
|
|
|
+ placeholder="{{ trans('admin.username') }}"
|
|
|
|
+ value="{{ old('username') }}"
|
|
|
|
+ required
|
|
|
|
+ autofocus
|
|
|
|
+ >
|
|
|
|
+
|
|
|
|
+ <div class="form-control-position">
|
|
|
|
+ <i class="feather icon-user"></i>
|
|
</div>
|
|
</div>
|
|
- <p class="px-2 text-center">{{ __('admin.welcome_back') }}</p>
|
|
|
|
- <div class="card-content">
|
|
|
|
- <div class="card-body pt-1">
|
|
|
|
- <form id="login-form" method="POST" action="{{ admin_url('auth/login') }}">
|
|
|
|
-
|
|
|
|
- @csrf
|
|
|
|
-
|
|
|
|
- <fieldset class="form-label-group form-group position-relative has-icon-left">
|
|
|
|
- <input
|
|
|
|
- type="text"
|
|
|
|
- class="form-control {{ $errors->has('username') ? 'is-invalid' : '' }}"
|
|
|
|
- name="username"
|
|
|
|
- placeholder="{{ trans('admin.username') }}"
|
|
|
|
- value="{{ old('username') }}"
|
|
|
|
- required
|
|
|
|
- autofocus
|
|
|
|
- >
|
|
|
|
-
|
|
|
|
- <div class="form-control-position">
|
|
|
|
- <i class="feather icon-user"></i>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- <label for="email">{{ trans('admin.username') }}</label>
|
|
|
|
-
|
|
|
|
- <div class="help-block with-errors"></div>
|
|
|
|
- @if($errors->has('username'))
|
|
|
|
- <span class="invalid-feedback text-danger" role="alert">
|
|
|
|
|
|
+
|
|
|
|
+ <label for="email">{{ trans('admin.username') }}</label>
|
|
|
|
+
|
|
|
|
+ <div class="help-block with-errors"></div>
|
|
|
|
+ @if($errors->has('username'))
|
|
|
|
+ <span class="invalid-feedback text-danger" role="alert">
|
|
@foreach($errors->get('username') as $message)
|
|
@foreach($errors->get('username') as $message)
|
|
- <span class="control-label" for="inputError"><i class="feather icon-x-circle"></i> {{$message}}</span><br>
|
|
|
|
- @endforeach
|
|
|
|
|
|
+ <span class="control-label" for="inputError"><i class="feather icon-x-circle"></i> {{$message}}</span><br>
|
|
|
|
+ @endforeach
|
|
</span>
|
|
</span>
|
|
- @endif
|
|
|
|
- </fieldset>
|
|
|
|
-
|
|
|
|
- <fieldset class="form-label-group form-group position-relative has-icon-left">
|
|
|
|
- <input
|
|
|
|
- minlength="5"
|
|
|
|
- maxlength="20"
|
|
|
|
- id="password"
|
|
|
|
- type="password"
|
|
|
|
- class="form-control {{ $errors->has('password') ? 'is-invalid' : '' }}"
|
|
|
|
- name="password"
|
|
|
|
- placeholder="{{ trans('admin.password') }}"
|
|
|
|
- required
|
|
|
|
- autocomplete="current-password"
|
|
|
|
- >
|
|
|
|
-
|
|
|
|
- <div class="form-control-position">
|
|
|
|
- <i class="feather icon-lock"></i>
|
|
|
|
- </div>
|
|
|
|
- <label for="password">{{ trans('admin.password') }}</label>
|
|
|
|
-
|
|
|
|
- <div class="help-block with-errors"></div>
|
|
|
|
- @if($errors->has('password'))
|
|
|
|
- <span class="invalid-feedback text-danger" role="alert">
|
|
|
|
|
|
+ @endif
|
|
|
|
+ </fieldset>
|
|
|
|
+
|
|
|
|
+ <fieldset class="form-label-group form-group position-relative has-icon-left">
|
|
|
|
+ <input
|
|
|
|
+ minlength="5"
|
|
|
|
+ maxlength="20"
|
|
|
|
+ id="password"
|
|
|
|
+ type="password"
|
|
|
|
+ class="form-control {{ $errors->has('password') ? 'is-invalid' : '' }}"
|
|
|
|
+ name="password"
|
|
|
|
+ placeholder="{{ trans('admin.password') }}"
|
|
|
|
+ required
|
|
|
|
+ autocomplete="current-password"
|
|
|
|
+ >
|
|
|
|
+
|
|
|
|
+ <div class="form-control-position">
|
|
|
|
+ <i class="feather icon-lock"></i>
|
|
|
|
+ </div>
|
|
|
|
+ <label for="password">{{ trans('admin.password') }}</label>
|
|
|
|
+
|
|
|
|
+ <div class="help-block with-errors"></div>
|
|
|
|
+ @if($errors->has('password'))
|
|
|
|
+ <span class="invalid-feedback text-danger" role="alert">
|
|
@foreach($errors->get('password') as $message)
|
|
@foreach($errors->get('password') as $message)
|
|
- <span class="control-label" for="inputError"><i class="feather icon-x-circle"></i> {{$message}}</span><br>
|
|
|
|
- @endforeach
|
|
|
|
|
|
+ <span class="control-label" for="inputError"><i class="feather icon-x-circle"></i> {{$message}}</span><br>
|
|
|
|
+ @endforeach
|
|
</span>
|
|
</span>
|
|
- @endif
|
|
|
|
-
|
|
|
|
- </fieldset>
|
|
|
|
- <div class="form-group d-flex justify-content-between align-items-center">
|
|
|
|
- <div class="text-left">
|
|
|
|
- <fieldset class="checkbox">
|
|
|
|
- <div class="vs-checkbox-con vs-checkbox-primary">
|
|
|
|
- <input id="remember" name="remember" value="1" type="checkbox" {{ old('remember') ? 'checked' : '' }}>
|
|
|
|
- <span class="vs-checkbox">
|
|
|
|
|
|
+ @endif
|
|
|
|
+
|
|
|
|
+ </fieldset>
|
|
|
|
+ <div class="form-group d-flex justify-content-between align-items-center">
|
|
|
|
+ <div class="text-left">
|
|
|
|
+ <fieldset class="checkbox">
|
|
|
|
+ <div class="vs-checkbox-con vs-checkbox-primary">
|
|
|
|
+ <input id="remember" name="remember" value="1" type="checkbox" {{ old('remember') ? 'checked' : '' }}>
|
|
|
|
+ <span class="vs-checkbox">
|
|
<span class="vs-checkbox--check">
|
|
<span class="vs-checkbox--check">
|
|
<i class="vs-icon feather icon-check"></i>
|
|
<i class="vs-icon feather icon-check"></i>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
- <span> {{ trans('admin.remember_me') }}</span>
|
|
|
|
- </div>
|
|
|
|
- </fieldset>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <button type="submit" class="btn btn-primary float-right btn-inline">{{ __('admin.login') }}</button>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="login-footer">
|
|
|
|
- <div class="divider"></div>
|
|
|
|
- <div class="footer-btn d-inline"></div>
|
|
|
|
|
|
+ <span> {{ trans('admin.remember_me') }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ </fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ <button type="submit" class="btn btn-primary float-right btn-inline">{{ __('admin.login') }}</button>
|
|
|
|
+ </form>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-</section>
|
|
|
|
|
|
+</div>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
Dcat.ready(function () {
|
|
Dcat.ready(function () {
|