Move frontend.auth.* to auth.*

This commit is contained in:
Nabeel Shahzad
2018-05-21 09:57:41 -05:00
parent 203b6496fc
commit b63c9a8cd4
14 changed files with 75 additions and 65 deletions
@@ -1,5 +1,5 @@
@extends('auth.layout')
@section('title', trans('frontend.global.login'))
@section('title', __('auth.login'))
@section('content')
<div class="col-md-4 content-center">
@@ -18,7 +18,7 @@
{{
Form::text('email', old('email'), [
'id' => 'email',
'placeholder' => trans('frontend.global.email'),
'placeholder' => __('common.email'),
'class' => 'form-control',
'required' => true,
])
@@ -38,7 +38,7 @@
Form::password('password', [
'name' => 'password',
'class' => 'form-control',
'placeholder' => trans('frontend.auth.password'),
'placeholder' => __('auth.password'),
'required' => true,
])
}}
@@ -51,16 +51,16 @@
</div>
<div class="footer text-center">
<button href="#pablo" class="btn btn-primary btn-round btn-lg btn-block">@lang('frontend.auth.login')</button>
<button class="btn btn-primary btn-round btn-lg btn-block">@lang('auth.login')</button>
</div>
<div class="pull-left">
<h6>
<a href="{{ url('/register') }}" class="link">@lang('frontend.auth.createaccount')</a>
<a href="{{ url('/register') }}" class="link">@lang('auth.createaccount')</a>
</h6>
</div>
<div class="pull-right">
<h6>
<a href="{{ url('/password/reset') }}" class="link">@lang('frontend.auth.forgotpassword')?</a>
<a href="{{ url('/password/reset') }}" class="link">@lang('auth.forgotpassword')?</a>
</h6>
</div>
{{ Form::close() }}
@@ -1,12 +1,12 @@
@extends('app')
@section('title', trans('frontend.auth.registrationpending'))
@section('title', __('auth.registrationpending'))
@section('content')
<div class="row">
<div class="col-md-12 " style="text-align: center;">
<div class="flex-center position-ref full-height">
<div class="title m-b-md">
<h2 class="description">@lang('frontend.auth.pendingmessage')</h2>
<h2 class="description">@lang('auth.pendingmessage')</h2>
</div>
</div>
</div>
@@ -1,5 +1,5 @@
@extends('app')
@section('title', trans('frontend.global.register'))
@section('title', __('auth.register'))
@section('content')
<div class="row">
@@ -11,7 +11,7 @@
<div class="panel periodic-login">
<div class="panel-body">
<h2>@lang('common.register')</h2>
<label for="name" class="control-label">@lang('frontend.auth.fullname')</label>
<label for="name" class="control-label">@lang('auth.fullname')</label>
<div class="input-group form-group-no-border {{ $errors->has('name') ? 'has-danger' : '' }}">
{{ Form::text('name', null, ['class' => 'form-control']) }}
</div>
@@ -19,7 +19,7 @@
<p class="text-danger">{{ $errors->first('name') }}</p>
@endif
<label for="email" class="control-label">@lang('frontend.auth.emailaddress')</label>
<label for="email" class="control-label">@lang('auth.emailaddress')</label>
<div class="input-group form-group-no-border {{ $errors->has('email') ? 'has-danger' : '' }}">
{{ Form::text('email', null, ['class' => 'form-control']) }}
</div>
@@ -59,7 +59,7 @@
<p class="text-danger">{{ $errors->first('timezone') }}</p>
@endif
<label for="password" class="control-label">@lang('frontend.auth.password')</label>
<label for="password" class="control-label">@lang('auth.password')</label>
<div class="input-group form-group-no-border {{ $errors->has('password') ? 'has-danger' : '' }}">
{{ Form::password('password', ['class' => 'form-control']) }}
</div>
@@ -76,7 +76,7 @@
@endif
@if(config('captcha.enabled'))
<label for="g-recaptcha-response" class="control-label">@lang('frontend.auth.fillcaptcha')</label>
<label for="g-recaptcha-response" class="control-label">@lang('auth.fillcaptcha')</label>
<div class="input-group form-group-no-border {{ $errors->has('g-recaptcha-response') ? 'has-danger' : '' }}">
{!! NoCaptcha::display(config('captcha.attributes')) !!}
</div>
@@ -88,8 +88,8 @@
@include('auth.toc')
<div style="width: 100%; text-align: right; padding-top: 20px;">
@lang('frontend.auth.tocaccept')<br /><br />
{{ Form::submit(trans('frontend.auth.register'), ['class' => 'btn btn-primary']) }}
@lang('auth.tocaccept')<br /><br />
{{ Form::submit(__('auth.register'), ['class' => 'btn btn-primary']) }}
</div>
</div>
@@ -1,11 +1,11 @@
@extends('app')
@section('title', trans('frontend.auth.registrationsubmitted'))
@section('title', __('auth.registrationsubmitted'))
@section('content')
<div class="container registered-page">
<h3>@lang('frontend.auth.registrationconfirmation')</h3>
<h3>@lang('auth.registrationconfirmation')</h3>
<p>
@lang('frontend.auth.confirmationmessage')
@lang('auth.confirmationmessage')
</p>
</div>
@endsection
@@ -1,5 +1,5 @@
@extends('app')
@section('title', trans('frontend.auth.registrationdenied'))
@section('title', __('auth.registrationdenied'))
@section('content')
<div class="row">
@@ -7,7 +7,7 @@
<div class="flex-center position-ref full-height">
<div class="title m-b-md">
<h2 class="description">
@lang('frontend.auth.deniedmessage')
@lang('auth.deniedmessage')
</h2>
</div>
</div>
@@ -1,5 +1,5 @@
@extends('app')
@section('title', trans('frontend.auth.accountsuspended'))
@section('title', __('auth.accountsuspended'))
@section('content')
<div class="row">
@@ -7,7 +7,7 @@
<div class="flex-center position-ref full-height">
<div class="title m-b-md">
<h2 class="description">
@lang('frontend.auth.suspendedmessage')
@lang('auth.suspendedmessage')
</h2>
</div>
</div>