chore(deps): added adminlte vendored items
(this might not be entirely necessary unless we're changing everything adminlte publishes) Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
88
resources/views/vendor/adminlte/auth/passwords/confirm.blade.php
vendored
Normal file
88
resources/views/vendor/adminlte/auth/passwords/confirm.blade.php
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
@extends('adminlte::master')
|
||||
|
||||
@section('adminlte_css')
|
||||
@yield('css')
|
||||
@stop
|
||||
|
||||
@section('classes_body', 'lockscreen')
|
||||
|
||||
@php( $password_reset_url = View::getSection('password_reset_url') ?? config('adminlte.password_reset_url', 'password/reset') )
|
||||
@php( $dashboard_url = View::getSection('dashboard_url') ?? config('adminlte.dashboard_url', 'home') )
|
||||
|
||||
@if (config('adminlte.use_route_url', false))
|
||||
@php( $password_reset_url = $password_reset_url ? route($password_reset_url) : '' )
|
||||
@php( $dashboard_url = $dashboard_url ? route($dashboard_url) : '' )
|
||||
@else
|
||||
@php( $password_reset_url = $password_reset_url ? url($password_reset_url) : '' )
|
||||
@php( $dashboard_url = $dashboard_url ? url($dashboard_url) : '' )
|
||||
@endif
|
||||
|
||||
@section('body')
|
||||
<div class="lockscreen-wrapper">
|
||||
|
||||
{{-- Lockscreen logo --}}
|
||||
<div class="lockscreen-logo">
|
||||
<a href="{{ $dashboard_url }}">
|
||||
<img src="{{ asset(config('adminlte.logo_img')) }}" height="50">
|
||||
{!! config('adminlte.logo', '<b>Admin</b>LTE') !!}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{{-- Lockscreen user name --}}
|
||||
<div class="lockscreen-name">
|
||||
{{ isset(Auth::user()->name) ? Auth::user()->name : Auth::user()->email }}
|
||||
</div>
|
||||
|
||||
{{-- Lockscreen item --}}
|
||||
<div class="lockscreen-item">
|
||||
@if(config('adminlte.usermenu_image'))
|
||||
<div class="lockscreen-image">
|
||||
<img src="{{ Auth::user()->adminlte_image() }}" alt="{{ Auth::user()->name }}">
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="POST" action="{{ route('password.confirm') }}"
|
||||
class="lockscreen-credentials @if(!config('adminlte.usermenu_image'))ml-0 @endif">
|
||||
@csrf
|
||||
|
||||
<div class="input-group">
|
||||
<input id="password" type="password" name="password"
|
||||
class="form-control @error('password') is-invalid @enderror"
|
||||
placeholder="{{ __('adminlte::adminlte.password') }}" required autofocus>
|
||||
|
||||
<div class="input-group-append">
|
||||
<button type="submit" class="btn">
|
||||
<i class="fas fa-arrow-right text-muted"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{{-- Password error alert --}}
|
||||
@error('password')
|
||||
<div class="lockscreen-subitem text-center" role="alert">
|
||||
<b class="text-danger">{{ $message }}</b>
|
||||
</div>
|
||||
@enderror
|
||||
|
||||
{{-- Help block --}}
|
||||
<div class="help-block text-center">
|
||||
{{ __('adminlte::adminlte.confirm_password_message') }}
|
||||
</div>
|
||||
|
||||
{{-- Additional links --}}
|
||||
<div class="text-center">
|
||||
<a href="{{ $password_reset_url }}">
|
||||
{{ __('adminlte::adminlte.i_forgot_my_password') }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('adminlte_js')
|
||||
@stack('js')
|
||||
@yield('js')
|
||||
@stop
|
50
resources/views/vendor/adminlte/auth/passwords/email.blade.php
vendored
Normal file
50
resources/views/vendor/adminlte/auth/passwords/email.blade.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
@extends('adminlte::auth.auth-page', ['auth_type' => 'login'])
|
||||
|
||||
@php( $password_email_url = View::getSection('password_email_url') ?? config('adminlte.password_email_url', 'password/email') )
|
||||
|
||||
@if (config('adminlte.use_route_url', false))
|
||||
@php( $password_email_url = $password_email_url ? route($password_email_url) : '' )
|
||||
@else
|
||||
@php( $password_email_url = $password_email_url ? url($password_email_url) : '' )
|
||||
@endif
|
||||
|
||||
@section('auth_header', __('adminlte::adminlte.password_reset_message'))
|
||||
|
||||
@section('auth_body')
|
||||
|
||||
@if(session('status'))
|
||||
<div class="alert alert-success">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form action="{{ $password_email_url }}" method="post">
|
||||
@csrf
|
||||
|
||||
{{-- Email field --}}
|
||||
<div class="input-group mb-3">
|
||||
<input type="email" name="email" class="form-control @error('email') is-invalid @enderror"
|
||||
value="{{ old('email') }}" placeholder="{{ __('adminlte::adminlte.email') }}" autofocus>
|
||||
|
||||
<div class="input-group-append">
|
||||
<div class="input-group-text">
|
||||
<span class="fas fa-envelope {{ config('adminlte.classes_auth_icon', '') }}"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@error('email')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
{{-- Send reset link button --}}
|
||||
<button type="submit" class="btn btn-block {{ config('adminlte.classes_auth_btn', 'btn-flat btn-primary') }}">
|
||||
<span class="fas fa-share-square"></span>
|
||||
{{ __('adminlte::adminlte.send_password_reset_link') }}
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
@stop
|
82
resources/views/vendor/adminlte/auth/passwords/reset.blade.php
vendored
Normal file
82
resources/views/vendor/adminlte/auth/passwords/reset.blade.php
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
@extends('adminlte::auth.auth-page', ['auth_type' => 'login'])
|
||||
|
||||
@php( $password_reset_url = View::getSection('password_reset_url') ?? config('adminlte.password_reset_url', 'password/reset') )
|
||||
|
||||
@if (config('adminlte.use_route_url', false))
|
||||
@php( $password_reset_url = $password_reset_url ? route($password_reset_url) : '' )
|
||||
@else
|
||||
@php( $password_reset_url = $password_reset_url ? url($password_reset_url) : '' )
|
||||
@endif
|
||||
|
||||
@section('auth_header', __('adminlte::adminlte.password_reset_message'))
|
||||
|
||||
@section('auth_body')
|
||||
<form action="{{ $password_reset_url }}" method="post">
|
||||
@csrf
|
||||
|
||||
{{-- Token field --}}
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
|
||||
{{-- Email field --}}
|
||||
<div class="input-group mb-3">
|
||||
<input type="email" name="email" class="form-control @error('email') is-invalid @enderror"
|
||||
value="{{ old('email') }}" placeholder="{{ __('adminlte::adminlte.email') }}" autofocus>
|
||||
|
||||
<div class="input-group-append">
|
||||
<div class="input-group-text">
|
||||
<span class="fas fa-envelope {{ config('adminlte.classes_auth_icon', '') }}"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@error('email')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
{{-- Password field --}}
|
||||
<div class="input-group mb-3">
|
||||
<input type="password" name="password" class="form-control @error('password') is-invalid @enderror"
|
||||
placeholder="{{ __('adminlte::adminlte.password') }}">
|
||||
|
||||
<div class="input-group-append">
|
||||
<div class="input-group-text">
|
||||
<span class="fas fa-lock {{ config('adminlte.classes_auth_icon', '') }}"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
{{-- Password confirmation field --}}
|
||||
<div class="input-group mb-3">
|
||||
<input type="password" name="password_confirmation"
|
||||
class="form-control @error('password_confirmation') is-invalid @enderror"
|
||||
placeholder="{{ trans('adminlte::adminlte.retype_password') }}">
|
||||
|
||||
<div class="input-group-append">
|
||||
<div class="input-group-text">
|
||||
<span class="fas fa-lock {{ config('adminlte.classes_auth_icon', '') }}"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@error('password_confirmation')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
{{-- Confirm password reset button --}}
|
||||
<button type="submit" class="btn btn-block {{ config('adminlte.classes_auth_btn', 'btn-flat btn-primary') }}">
|
||||
<span class="fas fa-sync-alt"></span>
|
||||
{{ __('adminlte::adminlte.reset_password') }}
|
||||
</button>
|
||||
|
||||
</form>
|
||||
@stop
|
Reference in New Issue
Block a user