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:
81
resources/views/vendor/adminlte/auth/auth-page.blade.php
vendored
Normal file
81
resources/views/vendor/adminlte/auth/auth-page.blade.php
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
@extends('adminlte::master')
|
||||
|
||||
@php( $dashboard_url = View::getSection('dashboard_url') ?? config('adminlte.dashboard_url', 'home') )
|
||||
|
||||
@if (config('adminlte.use_route_url', false))
|
||||
@php( $dashboard_url = $dashboard_url ? route($dashboard_url) : '' )
|
||||
@else
|
||||
@php( $dashboard_url = $dashboard_url ? url($dashboard_url) : '' )
|
||||
@endif
|
||||
|
||||
@section('adminlte_css')
|
||||
@stack('css')
|
||||
@yield('css')
|
||||
@stop
|
||||
|
||||
@section('classes_body'){{ ($auth_type ?? 'login') . '-page' }}@stop
|
||||
|
||||
@section('body')
|
||||
<div class="{{ $auth_type ?? 'login' }}-box">
|
||||
|
||||
{{-- Logo --}}
|
||||
<div class="{{ $auth_type ?? 'login' }}-logo">
|
||||
<a href="{{ $dashboard_url }}">
|
||||
|
||||
{{-- Logo Image --}}
|
||||
@if (config('adminlte.auth_logo.enabled', false))
|
||||
<img src="{{ asset(config('adminlte.auth_logo.img.path')) }}"
|
||||
alt="{{ config('adminlte.auth_logo.img.alt') }}"
|
||||
@if (config('adminlte.auth_logo.img.class', null))
|
||||
class="{{ config('adminlte.auth_logo.img.class') }}"
|
||||
@endif
|
||||
@if (config('adminlte.auth_logo.img.width', null))
|
||||
width="{{ config('adminlte.auth_logo.img.width') }}"
|
||||
@endif
|
||||
@if (config('adminlte.auth_logo.img.height', null))
|
||||
height="{{ config('adminlte.auth_logo.img.height') }}"
|
||||
@endif>
|
||||
@else
|
||||
<img src="{{ asset(config('adminlte.logo_img')) }}"
|
||||
alt="{{ config('adminlte.logo_img_alt') }}" height="50">
|
||||
@endif
|
||||
|
||||
{{-- Logo Label --}}
|
||||
{!! config('adminlte.logo', '<b>Admin</b>LTE') !!}
|
||||
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{{-- Card Box --}}
|
||||
<div class="card {{ config('adminlte.classes_auth_card', 'card-outline card-primary') }}">
|
||||
|
||||
{{-- Card Header --}}
|
||||
@hasSection('auth_header')
|
||||
<div class="card-header {{ config('adminlte.classes_auth_header', '') }}">
|
||||
<h3 class="card-title float-none text-center">
|
||||
@yield('auth_header')
|
||||
</h3>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- Card Body --}}
|
||||
<div class="card-body {{ $auth_type ?? 'login' }}-card-body {{ config('adminlte.classes_auth_body', '') }}">
|
||||
@yield('auth_body')
|
||||
</div>
|
||||
|
||||
{{-- Card Footer --}}
|
||||
@hasSection('auth_footer')
|
||||
<div class="card-footer {{ config('adminlte.classes_auth_footer', '') }}">
|
||||
@yield('auth_footer')
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('adminlte_js')
|
||||
@stack('js')
|
||||
@yield('js')
|
||||
@stop
|
104
resources/views/vendor/adminlte/auth/login.blade.php
vendored
Normal file
104
resources/views/vendor/adminlte/auth/login.blade.php
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
@extends('adminlte::auth.auth-page', ['auth_type' => 'login'])
|
||||
|
||||
@section('adminlte_css_pre')
|
||||
<link rel="stylesheet" href="{{ asset('vendor/icheck-bootstrap/icheck-bootstrap.min.css') }}">
|
||||
@stop
|
||||
|
||||
@php( $login_url = View::getSection('login_url') ?? config('adminlte.login_url', 'login') )
|
||||
@php( $register_url = View::getSection('register_url') ?? config('adminlte.register_url', 'register') )
|
||||
@php( $password_reset_url = View::getSection('password_reset_url') ?? config('adminlte.password_reset_url', 'password/reset') )
|
||||
|
||||
@if (config('adminlte.use_route_url', false))
|
||||
@php( $login_url = $login_url ? route($login_url) : '' )
|
||||
@php( $register_url = $register_url ? route($register_url) : '' )
|
||||
@php( $password_reset_url = $password_reset_url ? route($password_reset_url) : '' )
|
||||
@else
|
||||
@php( $login_url = $login_url ? url($login_url) : '' )
|
||||
@php( $register_url = $register_url ? url($register_url) : '' )
|
||||
@php( $password_reset_url = $password_reset_url ? url($password_reset_url) : '' )
|
||||
@endif
|
||||
|
||||
@section('auth_header', __('adminlte::adminlte.login_message'))
|
||||
|
||||
@section('auth_body')
|
||||
<form action="{{ $login_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>
|
||||
|
||||
{{-- 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>
|
||||
|
||||
{{-- Login field --}}
|
||||
<div class="row">
|
||||
<div class="col-7">
|
||||
<div class="icheck-primary" title="{{ __('adminlte::adminlte.remember_me_hint') }}">
|
||||
<input type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
|
||||
|
||||
<label for="remember">
|
||||
{{ __('adminlte::adminlte.remember_me') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-5">
|
||||
<button type=submit class="btn btn-block {{ config('adminlte.classes_auth_btn', 'btn-flat btn-primary') }}">
|
||||
<span class="fas fa-sign-in-alt"></span>
|
||||
{{ __('adminlte::adminlte.sign_in') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
@stop
|
||||
|
||||
@section('auth_footer')
|
||||
{{-- Password reset link --}}
|
||||
@if($password_reset_url)
|
||||
<p class="my-0">
|
||||
<a href="{{ $password_reset_url }}">
|
||||
{{ __('adminlte::adminlte.i_forgot_my_password') }}
|
||||
</a>
|
||||
</p>
|
||||
@endif
|
||||
|
||||
{{-- Register link --}}
|
||||
@if($register_url)
|
||||
<p class="my-0">
|
||||
<a href="{{ $register_url }}">
|
||||
{{ __('adminlte::adminlte.register_a_new_membership') }}
|
||||
</a>
|
||||
</p>
|
||||
@endif
|
||||
@stop
|
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
|
108
resources/views/vendor/adminlte/auth/register.blade.php
vendored
Normal file
108
resources/views/vendor/adminlte/auth/register.blade.php
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
@extends('adminlte::auth.auth-page', ['auth_type' => 'register'])
|
||||
|
||||
@php( $login_url = View::getSection('login_url') ?? config('adminlte.login_url', 'login') )
|
||||
@php( $register_url = View::getSection('register_url') ?? config('adminlte.register_url', 'register') )
|
||||
|
||||
@if (config('adminlte.use_route_url', false))
|
||||
@php( $login_url = $login_url ? route($login_url) : '' )
|
||||
@php( $register_url = $register_url ? route($register_url) : '' )
|
||||
@else
|
||||
@php( $login_url = $login_url ? url($login_url) : '' )
|
||||
@php( $register_url = $register_url ? url($register_url) : '' )
|
||||
@endif
|
||||
|
||||
@section('auth_header', __('adminlte::adminlte.register_message'))
|
||||
|
||||
@section('auth_body')
|
||||
<form action="{{ $register_url }}" method="post">
|
||||
@csrf
|
||||
|
||||
{{-- Name field --}}
|
||||
<div class="input-group mb-3">
|
||||
<input type="text" name="name" class="form-control @error('name') is-invalid @enderror"
|
||||
value="{{ old('name') }}" placeholder="{{ __('adminlte::adminlte.full_name') }}" autofocus>
|
||||
|
||||
<div class="input-group-append">
|
||||
<div class="input-group-text">
|
||||
<span class="fas fa-user {{ config('adminlte.classes_auth_icon', '') }}"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@error('name')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
{{-- 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') }}">
|
||||
|
||||
<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>
|
||||
|
||||
{{-- Confirm password field --}}
|
||||
<div class="input-group mb-3">
|
||||
<input type="password" name="password_confirmation"
|
||||
class="form-control @error('password_confirmation') is-invalid @enderror"
|
||||
placeholder="{{ __('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>
|
||||
|
||||
{{-- Register button --}}
|
||||
<button type="submit" class="btn btn-block {{ config('adminlte.classes_auth_btn', 'btn-flat btn-primary') }}">
|
||||
<span class="fas fa-user-plus"></span>
|
||||
{{ __('adminlte::adminlte.register') }}
|
||||
</button>
|
||||
|
||||
</form>
|
||||
@stop
|
||||
|
||||
@section('auth_footer')
|
||||
<p class="my-0">
|
||||
<a href="{{ $login_url }}">
|
||||
{{ __('adminlte::adminlte.i_already_have_a_membership') }}
|
||||
</a>
|
||||
</p>
|
||||
@stop
|
23
resources/views/vendor/adminlte/auth/verify.blade.php
vendored
Normal file
23
resources/views/vendor/adminlte/auth/verify.blade.php
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
@extends('adminlte::auth.auth-page', ['auth_type' => 'login'])
|
||||
|
||||
@section('auth_header', __('adminlte::adminlte.verify_message'))
|
||||
|
||||
@section('auth_body')
|
||||
|
||||
@if(session('resent'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ __('adminlte::adminlte.verify_email_sent') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{ __('adminlte::adminlte.verify_check_your_email') }}
|
||||
{{ __('adminlte::adminlte.verify_if_not_recieved') }},
|
||||
|
||||
<form class="d-inline" method="POST" action="{{ route('verification.resend') }}">
|
||||
@csrf
|
||||
<button type="submit" class="btn btn-link p-0 m-0 align-baseline">
|
||||
{{ __('adminlte::adminlte.verify_request_another') }}
|
||||
</button>.
|
||||
</form>
|
||||
|
||||
@stop
|
Reference in New Issue
Block a user