mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-25 21:54:05 +08:00
Updated register link text/placement on login card
- Also extracted "Already have account?" text to translation files.
This commit is contained in:
parent
4e49d06182
commit
e0c229114f
@ -26,6 +26,8 @@ return [
|
|||||||
'remember_me' => 'Remember Me',
|
'remember_me' => 'Remember Me',
|
||||||
'ldap_email_hint' => 'Please enter an email to use for this account.',
|
'ldap_email_hint' => 'Please enter an email to use for this account.',
|
||||||
'create_account' => 'Create Account',
|
'create_account' => 'Create Account',
|
||||||
|
'already_have_account' => 'Already have an account?',
|
||||||
|
'dont_have_account' => 'Don\'t have an account?',
|
||||||
'social_login' => 'Social Login',
|
'social_login' => 'Social Login',
|
||||||
'social_registration' => 'Social Registration',
|
'social_registration' => 'Social Registration',
|
||||||
'social_registration_text' => 'Register and sign in using another service.',
|
'social_registration_text' => 'Register and sign in using another service.',
|
||||||
|
@ -8,8 +8,5 @@
|
|||||||
@include('form.password', ['name' => 'password', 'tabindex' => 1])
|
@include('form.password', ['name' => 'password', 'tabindex' => 1])
|
||||||
<span class="block small mt-s">
|
<span class="block small mt-s">
|
||||||
<a href="{{ baseUrl('/password/email') }}">{{ trans('auth.forgot_password') }}</a>
|
<a href="{{ baseUrl('/password/email') }}">{{ trans('auth.forgot_password') }}</a>
|
||||||
@if(setting('registration-enabled', false))
|
|
||||||
• <a href="{{ baseUrl('/register') }}">{{ trans('auth.sign_up') }}</a>
|
|
||||||
@endif
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<div class="my-l"> </div>
|
<div class="my-l"> </div>
|
||||||
|
|
||||||
<div class="card content-wrap">
|
<div class="card content-wrap auto-height">
|
||||||
<h1 class="list-heading">{{ title_case(trans('auth.log_in')) }}</h1>
|
<h1 class="list-heading">{{ title_case(trans('auth.log_in')) }}</h1>
|
||||||
|
|
||||||
<form action="{{ baseUrl('/login') }}" method="POST" id="login-form" class="mt-l">
|
<form action="{{ baseUrl('/login') }}" method="POST" id="login-form" class="mt-l">
|
||||||
@ -25,6 +25,7 @@
|
|||||||
'label' => trans('auth.remember_me'),
|
'label' => trans('auth.remember_me'),
|
||||||
])
|
])
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
<button class="button primary" tabindex="3">{{ title_case(trans('auth.log_in')) }}</button>
|
<button class="button primary" tabindex="3">{{ title_case(trans('auth.log_in')) }}</button>
|
||||||
</div>
|
</div>
|
||||||
@ -43,6 +44,13 @@
|
|||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if(setting('registration-enabled', false))
|
||||||
|
<div class="text-center">
|
||||||
|
<hr class="my-l">
|
||||||
|
<a href="{{ baseUrl('/register') }}">{{ trans('auth.dont_have_account') }}</a>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<div class="my-l"> </div>
|
<div class="my-l"> </div>
|
||||||
|
|
||||||
<div class="card content-wrap">
|
<div class="card content-wrap auto-height">
|
||||||
<h1 class="list-heading">{{ title_case(trans('auth.sign_up')) }}</h1>
|
<h1 class="list-heading">{{ title_case(trans('auth.sign_up')) }}</h1>
|
||||||
|
|
||||||
<form action="{{ baseUrl("/register") }}" method="POST" class="mt-l stretch-inputs">
|
<form action="{{ baseUrl("/register") }}" method="POST" class="mt-l stretch-inputs">
|
||||||
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
<div class="grid half collapse-xs gap-xl v-center mt-m">
|
<div class="grid half collapse-xs gap-xl v-center mt-m">
|
||||||
<div class="text-small">
|
<div class="text-small">
|
||||||
<a href="{{ baseUrl('/login') }}">Already have an account?</a>
|
<a href="{{ baseUrl('/login') }}">{{ trans('auth.already_have_account') }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="from-group text-right">
|
<div class="from-group text-right">
|
||||||
<button class="button primary">{{ trans('auth.create_account') }}</button>
|
<button class="button primary">{{ trans('auth.create_account') }}</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user