TRF Certest first commit
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('page-title', trans('Login'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="col-md-8 col-lg-6 col-xl-5 mx-auto my-10p" id="login">
|
||||
<div class="text-center">
|
||||
<x-logo />
|
||||
</div>
|
||||
|
||||
<div class="card mt-5">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title text-center mt-4 text-uppercase">
|
||||
@lang('Login')
|
||||
</h5>
|
||||
|
||||
<div class="p-4">
|
||||
@include('auth.social.buttons')
|
||||
|
||||
@include('partials.messages')
|
||||
|
||||
<form role="form" action="<?= url('login') ?>" method="POST" id="login-form" autocomplete="off" class="mt-3">
|
||||
|
||||
<input type="hidden" value="<?= csrf_token() ?>" name="_token">
|
||||
|
||||
@if (Request::has('to'))
|
||||
<input type="hidden" value="{{ Request::get('to') }}" name="to">
|
||||
@endif
|
||||
|
||||
<div class="form-group">
|
||||
<label for="username" class="sr-only">@lang('Email or Username')</label>
|
||||
<input type="text"
|
||||
name="username"
|
||||
id="username"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('Email or Username')"
|
||||
value="{{ old('username') }}">
|
||||
</div>
|
||||
|
||||
<div class="form-group password-field">
|
||||
<label for="password" class="sr-only">@lang('Password')</label>
|
||||
<input type="password"
|
||||
name="password"
|
||||
id="password"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('Password')">
|
||||
</div>
|
||||
|
||||
|
||||
@if (setting('remember_me'))
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" name="remember" id="remember" value="1"/>
|
||||
<label class="custom-control-label font-weight-normal" for="remember">
|
||||
@lang('Remember me?')
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<div class="form-group mt-4">
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block" id="btn-login">
|
||||
@lang('Log In')
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@if (setting('forgot_password'))
|
||||
<a href="<?= route('password.request') ?>" class="forgot">@lang('I forgot my password')</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-center text-muted">
|
||||
@if (setting('reg_enabled'))
|
||||
@lang("Don't have an account?")
|
||||
<a class="font-weight-bold" href="<?= url("register") ?>">@lang('Sign Up')</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
|
||||
@section('scripts')
|
||||
<script src="{{ asset('assets/js/as/login.js') }}"></script>
|
||||
{!! JsValidator::formRequest('Vanguard\Http\Requests\Auth\LoginRequest', '#login-form') !!}
|
||||
@stop
|
||||
@@ -0,0 +1,53 @@
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('page-title', __('Reset Password'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="col-md-8 col-lg-6 col-xl-5 mx-auto my-10p">
|
||||
<div class="text-center">
|
||||
<x-logo />
|
||||
</div>
|
||||
|
||||
<div class="card mt-5">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title text-center mt-4 mb-2 text-uppercase">
|
||||
@lang('Forgot Your Password?')
|
||||
</h5>
|
||||
|
||||
<div class="p-4">
|
||||
<form role="form" action="<?= route('password.email') ?>" method="POST" id="remind-password-form" autocomplete="off">
|
||||
{{ csrf_field() }}
|
||||
|
||||
<p class="text-muted mb-4 text-center font-weight-light">
|
||||
@lang('Please provide your email below and we will send you a password reset link.')
|
||||
</p>
|
||||
|
||||
@include('partials.messages')
|
||||
|
||||
<div class="form-group password-field my-3">
|
||||
<label for="password" class="sr-only">@lang('Email')</label>
|
||||
<input type="email"
|
||||
name="email"
|
||||
id="email"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('Your E-Mail')">
|
||||
</div>
|
||||
|
||||
<div class="form-group mt-4">
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block" id="btn-reset-password">
|
||||
@lang('Reset Password')
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
||||
|
||||
@section('scripts')
|
||||
{!! JsValidator::formRequest('Vanguard\Http\Requests\Auth\PasswordRemindRequest', '#remind-password-form') !!}
|
||||
@stop
|
||||
@@ -0,0 +1,71 @@
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('page-title', __('Reset Password'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="col-md-8 col-lg-6 col-xl-5 mx-auto my-10p">
|
||||
<div class="text-center">
|
||||
<x-logo />
|
||||
</div>
|
||||
|
||||
<div class="card mt-5">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title text-center mt-4 mb-2 text-uppercase">
|
||||
@lang('Reset Your Password')
|
||||
</h5>
|
||||
|
||||
<form role="form" action="{{ route('password.update') }}" method="POST" id="reset-password-form"
|
||||
autocomplete="off" class="p-4">
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
{{ csrf_field() }}
|
||||
|
||||
<p class="text-muted mb-4 text-center font-weight-light px-2">
|
||||
@lang('Please provide your email and pick a new password below.')
|
||||
</p>
|
||||
|
||||
@include('partials.messages')
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password" class="sr-only">@lang('Your E-Mail')</label>
|
||||
<input type="email"
|
||||
name="email"
|
||||
id="email"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('Your E-Mail')">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password" class="sr-only">@lang('New Password')</label>
|
||||
<input type="password"
|
||||
name="password"
|
||||
id="password"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('New Password')">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password" class="sr-only">@lang('Confirm New Password')</label>
|
||||
<input type="password"
|
||||
name="password_confirmation"
|
||||
id="password_confirmation"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('Confirm New Password')">
|
||||
</div>
|
||||
|
||||
<div class="form-group mt-5">
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block" id="btn-reset-password">
|
||||
@lang('Update Password')
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
|
||||
@section('scripts')
|
||||
{!! JsValidator::formRequest('Vanguard\Http\Requests\Auth\PasswordResetRequest', '#reset-password-form') !!}
|
||||
@stop
|
||||
@@ -0,0 +1,124 @@
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('page-title', __('Sign Up'))
|
||||
|
||||
@if (setting('registration.captcha.enabled'))
|
||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
||||
@endif
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="col-md-8 col-lg-6 col-xl-5 mx-auto my-10p">
|
||||
<div class="text-center">
|
||||
<x-logo />
|
||||
</div>
|
||||
|
||||
<div class="card mt-5">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title text-center mt-4 text-uppercase">
|
||||
@lang('Register')
|
||||
</h5>
|
||||
|
||||
<div class="p-4">
|
||||
@include('auth.social.buttons')
|
||||
|
||||
@include('partials/messages')
|
||||
|
||||
<form role="form" action="<?= url('register') ?>" method="post" id="registration-form" autocomplete="off" class="mt-3">
|
||||
<input type="hidden" value="<?= csrf_token() ?>" name="_token">
|
||||
<div class="form-group">
|
||||
<input type="email"
|
||||
name="email"
|
||||
id="email"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('Email')"
|
||||
value="{{ old('email') }}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="text"
|
||||
name="username"
|
||||
id="username"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('Username')"
|
||||
value="{{ old('username') }}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="password"
|
||||
name="password"
|
||||
id="password"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('Password')">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="password"
|
||||
name="password_confirmation"
|
||||
id="password_confirmation"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('Confirm Password')">
|
||||
</div>
|
||||
|
||||
@if (setting('tos'))
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" name="tos" id="tos" value="1"/>
|
||||
<label class="custom-control-label font-weight-normal" for="tos">
|
||||
@lang('I accept')
|
||||
<a href="#tos-modal" data-toggle="modal">@lang('Terms of Service')</a>
|
||||
</label>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- Only display captcha if it is enabled --}}
|
||||
@if (setting('registration.captcha.enabled'))
|
||||
<div class="form-group my-4">
|
||||
{!! app('captcha')->display() !!}
|
||||
</div>
|
||||
@endif
|
||||
{{-- end captcha --}}
|
||||
|
||||
<div class="form-group mt-4">
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block" id="btn-login">
|
||||
@lang('Register')
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-center text-muted">
|
||||
@if (setting('reg_enabled'))
|
||||
@lang('Already have an account?')
|
||||
<a class="font-weight-bold" href="<?= url("login") ?>">@lang('Login')</a>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@if (setting('tos'))
|
||||
<div class="modal fade" id="tos-modal" tabindex="-1" role="dialog" aria-labelledby="tos-label">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="tos-label">@lang('Terms of Service')</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@include('auth.tos')
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">
|
||||
@lang('Close')
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@stop
|
||||
|
||||
@section('scripts')
|
||||
{!! JsValidator::formRequest('Vanguard\Http\Requests\Auth\RegisterRequest', '#registration-form') !!}
|
||||
@stop
|
||||
@@ -0,0 +1,30 @@
|
||||
@if ($socialProviders)
|
||||
<?php $colSize = 12 / count($socialProviders); ?>
|
||||
|
||||
<div class="row pb-3 pt-2">
|
||||
@if (in_array('facebook', $socialProviders))
|
||||
<div class="col-{{ $colSize }} d-flex align-items-center justify-content-center">
|
||||
<a href="{{ url('auth/facebook/login') }}" class="btn-facebook">
|
||||
<i class="fab fa-facebook fa-2x"></i>
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (in_array('twitter', $socialProviders))
|
||||
<div class="col-{{ $colSize }} d-flex align-items-center justify-content-center">
|
||||
<a href="{{ url('auth/twitter/login') }}" class="btn-twitter">
|
||||
<i class="fab fa-twitter fa-2x"></i>
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (in_array('google', $socialProviders))
|
||||
<div class="col-{{ $colSize }} d-flex align-items-center justify-content-center">
|
||||
<a href="{{ url('auth/google/login') }}" class="btn-google">
|
||||
<i class="fab fa-google-plus-square fa-2x"></i>
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@endif
|
||||
@@ -0,0 +1,44 @@
|
||||
@extends('layouts.auth')
|
||||
|
||||
@section('page-title', trans('Two-Factor Authentication'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="col-md-8 col-lg-6 col-xl-5 mx-auto my-10p">
|
||||
<div class="text-center">
|
||||
<x-logo />
|
||||
</div>
|
||||
|
||||
<div class="card mt-5">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title text-center mt-4 text-uppercase">
|
||||
@lang('Two-Factor Authentication')
|
||||
</h5>
|
||||
|
||||
<div class="p-4">
|
||||
@include('partials/messages')
|
||||
|
||||
<form role="form" action="<?= route('auth.token.validate') ?>" method="POST" autocomplete="off">
|
||||
<input type="hidden" value="<?= csrf_token() ?>" name="_token">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password" class="sr-only">@lang('Token')</label>
|
||||
<input type="text"
|
||||
name="code"
|
||||
id="code"
|
||||
class="form-control input-solid"
|
||||
placeholder="@lang('2FA Code')">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block" id="btn-reset-password">
|
||||
@lang('Validate')
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@@ -0,0 +1,24 @@
|
||||
<h4>1. Terms</h4>
|
||||
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||||
Donec quis lacus porttitor, dignissim nibh sit amet, fermentum felis.
|
||||
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere
|
||||
cubilia Curae; In ultricies consectetur viverra. Nullam velit neque,
|
||||
placerat condimentum tempus tincidunt, placerat eu lectus. Nam molestie
|
||||
porta purus, et pretium risus vehicula in. Cras sem ipsum, varius sagittis
|
||||
rhoncus nec, dictum maximus diam. Duis ac laoreet est. In turpis velit, placerat
|
||||
eget nisi vitae, dignissim tristique nisl. Curabitur sollicitudin, nunc ut
|
||||
viverra interdum, lacus...
|
||||
</p>
|
||||
|
||||
<h4>2. Use License</h4>
|
||||
|
||||
<ol type="a">
|
||||
<li>
|
||||
Aenean vehicula erat eu nisi scelerisque, a mattis purus blandit. Curabitur congue
|
||||
ollis nisl malesuada egestas. Lorem ipsum dolor sit amet, consectetur adipiscing elit:
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<p>...</p>
|
||||
@@ -0,0 +1,30 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ __('Verify Your Email Address') }}</h5>
|
||||
|
||||
@if (session('resent'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ __('A fresh verification link has been sent to your email address.') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{ __('Before proceeding, please check your email for a verification link.') }}
|
||||
{{ __('If you did not receive the email') }},
|
||||
<form action="{{ route('verification.resend') }}" method="POST" class="d-inline">
|
||||
@csrf
|
||||
<button type="submit" class="d-inline btn btn-link p-0">
|
||||
{{ __('click here to request another') }}
|
||||
</button>.
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user