frontend translation + other stuff
This commit is contained in:
committed by
Nabeel Shahzad
parent
ba8a819c7d
commit
a346b0df2e
@@ -40,7 +40,7 @@
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script src="{{ public_asset('/assets/frontend/js/core/jquery-3.3.1.min.js') }}" type="text/javascript"></script>
|
||||
<script src="{{ public_asset('/assets/global/js/jquery.js') }}" type="text/javascript"></script>
|
||||
|
||||
@yield('scripts')
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
{{
|
||||
Form::text('email', old('email'), [
|
||||
'id' => 'email',
|
||||
'placeholder' => 'Email',
|
||||
'placeholder' => trans('frontend.global.email'),
|
||||
'class' => 'form-control',
|
||||
'required' => true,
|
||||
])
|
||||
@@ -38,7 +38,7 @@
|
||||
Form::password('password', [
|
||||
'name' => 'password',
|
||||
'class' => 'form-control',
|
||||
'placeholder' => 'Password',
|
||||
'placeholder' => trans('frontend.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">{{ __('Login') }}</button>
|
||||
<button href="#pablo" class="btn btn-primary btn-round btn-lg btn-block">@lang('frontend.auth.login')</button>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<h6>
|
||||
<a href="{{ url('/register') }}" class="link">{{ __('Create Account') }}</a>
|
||||
<a href="{{ url('/register') }}" class="link">@lang('frontend.auth.createaccount')</a>
|
||||
</h6>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<h6>
|
||||
<a href="{{ url('/password/reset') }}" class="link">{{ __('Forgot Password') }}?</a>
|
||||
<a href="{{ url('/password/reset') }}" class="link">@lang('frontend.auth.forgotpassword')?</a>
|
||||
</h6>
|
||||
</div>
|
||||
{{ Form::close() }}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
@extends('app')
|
||||
@section('title', __('Registration Pending'))
|
||||
@section('title', trans('frontend.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">{{ __('Your registration is pending approval. Please check your email!') }}</h2>
|
||||
<h2 class="description">@lang('frontend.auth.pendingmessage')</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@extends('app')
|
||||
@section('title', __('Register'))
|
||||
@section('title', trans('frontend.global.register'))
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
<div class="panel periodic-login">
|
||||
<div class="panel-body">
|
||||
<h2>{{ __('Register') }}</h2>
|
||||
<label for="name" class="control-label">{{ __('Full Name') }}</label>
|
||||
<h2>@lang('frontend.global.register')</h2>
|
||||
<label for="name" class="control-label">@lang('frontend.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">{{ __('Email Address') }}</label>
|
||||
<label for="email" class="control-label">@lang('frontend.auth.emailaddress')</label>
|
||||
<div class="input-group form-group-no-border {{ $errors->has('email') ? 'has-danger' : '' }}">
|
||||
{{ Form::text('email', null, ['class' => 'form-control']) }}
|
||||
</div>
|
||||
@@ -27,7 +27,7 @@
|
||||
<p class="text-danger">{{ $errors->first('email') }}</p>
|
||||
@endif
|
||||
|
||||
<label for="airline" class="control-label">{{ __('Airline') }}</label>
|
||||
<label for="airline" class="control-label">@lang('frontend.global.airline')</label>
|
||||
<div class="input-group form-group-no-border {{ $errors->has('airline') ? 'has-danger' : '' }}">
|
||||
{{ Form::select('airline_id', $airlines, null , ['class' => 'form-control select2']) }}
|
||||
</div>
|
||||
@@ -35,7 +35,7 @@
|
||||
<p class="text-danger">{{ $errors->first('airline_id') }}</p>
|
||||
@endif
|
||||
|
||||
<label for="home_airport" class="control-label">{{ __('Home Airport') }}</label>
|
||||
<label for="home_airport" class="control-label">@lang('frontend.global.homeairport')</label>
|
||||
<div class="input-group form-group-no-border {{ $errors->has('home_airport') ? 'has-danger' : '' }}">
|
||||
{{ Form::select('home_airport_id', $airports, null , ['class' => 'form-control select2']) }}
|
||||
</div>
|
||||
@@ -43,7 +43,7 @@
|
||||
<p class="text-danger">{{ $errors->first('home_airport_id') }}</p>
|
||||
@endif
|
||||
|
||||
<label for="country" class="control-label">{{ __('Country') }}</label>
|
||||
<label for="country" class="control-label">@lang('frontend.global.country')</label>
|
||||
<div class="input-group form-group-no-border {{ $errors->has('country') ? 'has-danger' : '' }}">
|
||||
{{ Form::select('country', $countries, null, ['class' => 'form-control select2' ]) }}
|
||||
</div>
|
||||
@@ -51,7 +51,7 @@
|
||||
<p class="text-danger">{{ $errors->first('country') }}</p>
|
||||
@endif
|
||||
|
||||
<label for="timezone" class="control-label">{{ __('Timezone') }}</label>
|
||||
<label for="timezone" class="control-label">@lang('frontend.global.timezone')</label>
|
||||
<div class="input-group form-group-no-border {{ $errors->has('timezone') ? 'has-danger' : '' }}">
|
||||
{{ Form::select('timezone', $timezones, null, ['id'=>'timezone', 'class' => 'form-control select2' ]) }}
|
||||
</div>
|
||||
@@ -59,7 +59,7 @@
|
||||
<p class="text-danger">{{ $errors->first('timezone') }}</p>
|
||||
@endif
|
||||
|
||||
<label for="password" class="control-label">{{ __('Password') }}</label>
|
||||
<label for="password" class="control-label">@lang('frontend.auth.password')</label>
|
||||
<div class="input-group form-group-no-border {{ $errors->has('password') ? 'has-danger' : '' }}">
|
||||
{{ Form::password('password', ['class' => 'form-control']) }}
|
||||
</div>
|
||||
@@ -67,7 +67,7 @@
|
||||
<p class="text-danger">{{ $errors->first('password') }}</p>
|
||||
@endif
|
||||
|
||||
<label for="password_confirmation" class="control-label">{{ __('Confirm Password') }}</label>
|
||||
<label for="password_confirmation" class="control-label">@lang('frontend.global.confirmpassword')</label>
|
||||
<div class="input-group form-group-no-border {{ $errors->has('password_confirmation') ? 'has-danger' : '' }}">
|
||||
{{ Form::password('password_confirmation', ['class' => 'form-control']) }}
|
||||
</div>
|
||||
@@ -76,7 +76,7 @@
|
||||
@endif
|
||||
|
||||
@if(config('captcha.enabled'))
|
||||
<label for="g-recaptcha-response" class="control-label">{{ __('Fill out the captcha') }}</label>
|
||||
<label for="g-recaptcha-response" class="control-label">@lang('frontend.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;">
|
||||
{{ __('By registering, you agree to the Terms and Conditions.') }}<br /><br />
|
||||
{{ Form::submit(__('Register!'), ['class' => 'btn btn-primary']) }}
|
||||
@lang('frontend.auth.tocaccept')<br /><br />
|
||||
{{ Form::submit(trans('frontend.auth.register'), ['class' => 'btn btn-primary']) }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
@extends('app')
|
||||
@section('title', __('Registration Submitted'))
|
||||
@section('title', trans('frontend.auth.registrationsubmitted'))
|
||||
|
||||
@section('content')
|
||||
<div class="container registered-page">
|
||||
<h3>{{ __('Registration Confirmation') }}</h3>
|
||||
<h3>@lang('frontend.auth.registrationconfirmation')</h3>
|
||||
<p>
|
||||
__('Your application has been submitted. It requires staff member approval, once a\nstaff member has reviewed your application, you will receive a confirmation email.') }}
|
||||
@lang('frontend.auth.confirmationmessage')
|
||||
</p>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@extends('app')
|
||||
@section('title', __('Registration Denied'))
|
||||
@section('title', trans('frontend.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">
|
||||
{{ __('Your registration was denied. Please contact an administrator.') }}
|
||||
@lang('frontend.auth.deniedmessage')
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@extends('app')
|
||||
@section('title', __('Account Suspended'))
|
||||
@section('title', trans('frontend.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">
|
||||
{{ __('Your account has been suspended. Please contact an administrator.') }}
|
||||
@lang('frontend.auth.suspendedmessage')
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,69 +1,6 @@
|
||||
<h4>{{ __('Terms and Conditions') }}</h4>
|
||||
<textarea class="form-control" style="height: 150px; border: 1px #ccc solid;">
|
||||
{{ config('app.name') }} offers this Web site, including all information, software,
|
||||
products and services available from this Web site or offered as part of or in conjunction
|
||||
with this Web site (the “Web site”), to you, the user, conditioned upon your acceptance of
|
||||
all of the terms, conditions, policies and notices stated here. {{ config('app.name') }}
|
||||
reserves the right to make changes to these Terms and Conditions immediately by posting the
|
||||
changed Terms and Conditions in this location.
|
||||
|
||||
Your continued use of the Web site constitutes your agreement to all such terms, conditions
|
||||
and notices, and any changes to the Terms and Conditions made by {{ config('app.name') }}.
|
||||
|
||||
The term ‘genericwebsite.com’ or ‘us’ or ‘we’ refers to the owner of the website. The term
|
||||
‘you’ refers to the user or viewer of our website.
|
||||
|
||||
The use of this website is subject to the following terms of use:
|
||||
|
||||
Use the website at your own risk. This website is provided to you “as is,” without warranty
|
||||
of any kind either express or implied. Neither {{ config('app.name') }} nor its employees,
|
||||
agents, third-party information providers, merchants, licensors or the like warrant that the
|
||||
Web site or its operation will be accurate, reliable, uninterrupted or error-free. No agent
|
||||
or representative has the authority to create any warranty regarding the Web site on behalf
|
||||
of {{ config('app.name') }}. {{ config('app.name') }} reserves the right to change or
|
||||
discontinue at any time any aspect or feature of the Web site.
|
||||
|
||||
Exclusion of Liability
|
||||
|
||||
The content of the pages of this website is for your general information and use only. It is
|
||||
subject to change without notice.
|
||||
|
||||
Neither we nor any third parties provide any warranty or guarantee as to the accuracy,
|
||||
timeliness, performance, completeness or suitability of the information and materials found or
|
||||
offered on this website for any particular purpose. You acknowledge that such information and
|
||||
materials may contain inaccuracies or errors and we expressly exclude liability for any such
|
||||
inaccuracies or errors to the fullest extent permitted by law.
|
||||
|
||||
Indemnification
|
||||
|
||||
Your use of any information or materials on this website is entirely at your own risk, for which
|
||||
we shall not be liable. It shall be your own responsibility to ensure that any products, services
|
||||
or information available through this website meet your specific requirements.
|
||||
|
||||
This website contains material which is owned by or licensed to us. This material includes, but is
|
||||
not limited to, the design, layout, look, appearance and graphics. Reproduction is prohibited other
|
||||
than in accordance with the copyright notice, which forms part of these terms and conditions.
|
||||
|
||||
All trade marks reproduced in this website which are not the property of, or licensed to, the
|
||||
operator are acknowledged on the website.
|
||||
|
||||
Unauthorized use of this website may give rise to a claim for damages and/or be a criminal offense.
|
||||
|
||||
From time to time this website may also include links to other websites. These links are provided
|
||||
for your convenience to provide further information. They do not signify that we endorse the
|
||||
website(s). We have no responsibility for the content of the linked website(s).
|
||||
|
||||
Copyright
|
||||
Except for material in the public domain under United States copyright law, all material contained
|
||||
on the Web site (including all software, HTML code, Java applets, Active X controls and other code)
|
||||
is protected by United States and foreign copyright laws. Except as otherwise expressly provided
|
||||
in these terms and conditions, you may not copy, distribute, transmit, display, perform, reproduce,
|
||||
publish, license, modify, rewrite, create derivative works from, transfer, or sell any material
|
||||
contained on the Web site without the prior consent of the copyright owner.
|
||||
|
||||
None of the material contained on {{ config('app.name') }} may be reverse-engineered, disassembled,
|
||||
decompiled, transcribed, stored in a retrieval system, translated into any language or computer language,
|
||||
retransmitted in any form or by any means (electronic, mechanical, photo reproduction, recordation or
|
||||
otherwise), resold or redistributed without the prior written consent of {{ config('app.name') }}.
|
||||
Violation of this provision may result in severe civil and criminal penalties.
|
||||
<h4>@lang('frontend.toc.toctitle')</h4>
|
||||
<textarea class="form-control" style="height: 150px; border: 1px #ccc solid; background-color: transparent" readonly>
|
||||
@foreach (trans('frontend.toc.toctext') as $line)
|
||||
{{ str_replace(':appname', config('app.name'), $line) }}
|
||||
@endforeach
|
||||
</textarea>
|
||||
|
||||
Reference in New Issue
Block a user