[WIP] Refactor project
This commit is contained in:
32
resources/views/vendor/boilerplate/auth/passwords/email.blade.php
vendored
Normal file
32
resources/views/vendor/boilerplate/auth/passwords/email.blade.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
@extends('boilerplate::auth.layout', ['title' => __('boilerplate::auth.password.title'), 'bodyClass' => 'hold-transition login-page'])
|
||||
|
||||
@section('content')
|
||||
@component('boilerplate::auth.loginbox')
|
||||
<p class="login-box-msg text-sm">@lang('boilerplate::auth.password.intro')</p>
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success d-flex align-items-center">
|
||||
<span class="far fa-check-circle fa-3x mr-3"></span>
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@else
|
||||
{!! Form::open(['route' => 'boilerplate.password.email', 'method' => 'post', 'autocomplete'=> 'off']) !!}
|
||||
@component('boilerplate::input', ['name' => 'email', 'placeholder' => 'boilerplate::auth.fields.email', 'append-text' => 'fas fa-envelope', 'type' => 'email', 'autofocus' => true])@endcomponent
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-12 text-right">
|
||||
<button type="submit" class="btn btn-primary">@lang('boilerplate::auth.password.submit')</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
@endif
|
||||
<p class="mb-0 text-sm">
|
||||
<a href="{{ route('boilerplate.login') }}">@lang('boilerplate::auth.password.login_link')</a>
|
||||
</p>
|
||||
@if(config('boilerplate.auth.register'))
|
||||
<p class="mb-0 text-sm">
|
||||
<a href="{{ route('boilerplate.register') }}" class="text-center">@lang('boilerplate::auth.login.register')</a>
|
||||
</p>
|
||||
@endif
|
||||
@endcomponent
|
||||
@endsection
|
||||
18
resources/views/vendor/boilerplate/auth/passwords/reset.blade.php
vendored
Normal file
18
resources/views/vendor/boilerplate/auth/passwords/reset.blade.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
@extends('boilerplate::auth.layout', ['title' => __('boilerplate::auth.password_reset.title')])
|
||||
|
||||
@section('content')
|
||||
@component('boilerplate::auth.loginbox')
|
||||
<p class="login-box-msg text-sm">@lang('boilerplate::auth.password_reset.intro')</p>
|
||||
{!! Form::open(['route' => 'boilerplate.password.reset.post', 'method' => 'post', 'autocomplete'=> 'off']) !!}
|
||||
{!! Form::hidden('token', $token) !!}
|
||||
@component('boilerplate::input', ['name' => 'email', 'placeholder' => 'boilerplate::auth.fields.email', 'append-text' => 'fas fa-envelope', 'type' => 'email', 'value' => $email, 'autofocus' => true])@endcomponent
|
||||
@component('boilerplate::input', ['name' => 'password', 'placeholder' => 'boilerplate::auth.fields.password', 'append-text' => 'fas fa-lock', 'type' => 'password'])@endcomponent
|
||||
@component('boilerplate::input', ['name' => 'password_confirmation', 'placeholder' => 'boilerplate::auth.fields.password_confirm', 'append-text' => 'fas fa-lock', 'type' => 'password'])@endcomponent
|
||||
<div class="row">
|
||||
<div class="col-12 text-center">
|
||||
<button class="btn btn-primary" type="submit">@lang('boilerplate::auth.password_reset.submit')</button>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
@endcomponent
|
||||
@endsection
|
||||
Reference in New Issue
Block a user