This repository has been archived by the owner on May 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.0] Localization and password confirmation view (#14)
* Update dependencies * Add confirm view * Allow all text to be localized * Add StyleCI configuration to repo
- Loading branch information
Showing
16 changed files
with
186 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"404 Page Not Found": "404 Page Not Found", | ||
"419 Page Expired": "419 Page Expired", | ||
"500 Internal Server Error": "500 Internal Server Error", | ||
"503 Service Unavailable": "503 Service Unavailable", | ||
"Confirm New Password": "Confirm New Password", | ||
"Confirm Password": "Confirm Password", | ||
"Confirm your password": "Confirm your password", | ||
"Confirm": "Confirm", | ||
"Create a new account": "Create a new account", | ||
"Create account": "Create account", | ||
"Didn't get the email?": "Didn't get the email?", | ||
"Email": "Email", | ||
"Enter your email address and we'll send you a link to reset your password": "Enter your email address and we'll send you a link to reset your password", | ||
"Forgot password?": "Forgot password?", | ||
"Have an account?": "Have an account?", | ||
"Home": "Home", | ||
"Logout": "Logout", | ||
"Name": "Name", | ||
"New Password": "New Password", | ||
"Page expired (Try refreshing)": "Page expired (Try refreshing)", | ||
"Page not found": "Page not found", | ||
"Password": "Password", | ||
"Please confirm your password before continuing": "Please confirm your password before continuing", | ||
"Remember it?": "Remember it?", | ||
"Remember me": "Remember me", | ||
"Resend it": "Resend it", | ||
"Reset password": "Reset password", | ||
"Reset your password": "Reset your password", | ||
"Send Link": "Send Link", | ||
"Sign in to your account": "Sign in to your account", | ||
"Sign in": "Sign in", | ||
"Sign up": "Sign up", | ||
"Something went wrong": "Something went wrong", | ||
"Verify your email": "Verify your email", | ||
"We have sent you a fresh verification link, please check your email.": "We have sent you a fresh verification link, please check your email.", | ||
"We're performing some maintenance, check back soon": "We're performing some maintenance, check back soon", | ||
"Welcome": "Welcome", | ||
"You must verify your email address before proceeding. Please check your email for a verification link.": "You must verify your email address before proceeding. Please check your email for a verification link." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
@extends('layouts.base') | ||
|
||
@section('title', __('Confirm your password')) | ||
@section('show-header', false) | ||
|
||
@section('content-full') | ||
<div class="h-full flex"> | ||
<div class="p-6 m-auto max-w-xs w-full"> | ||
<div class="flex items-center justify-center"> | ||
<a href="/" class="font-semibold text-gray-700 hover:text-gray-900 no-underline">{{ config('app.name') }}</a> | ||
</div> | ||
|
||
<div class="mt-6 text-center text-gray-600"> | ||
{{ __('Please confirm your password before continuing') }} | ||
</div> | ||
|
||
@if (session('status')) | ||
<div class="mt-6 px-4 py-3 bg-gray-100 text-gray-700 rounded-lg text-sm"> | ||
{{ session('status') }} | ||
</div> | ||
@endif | ||
|
||
<form action="{{ route('password.confirm') }}" method="POST" class="mt-6"> | ||
@csrf | ||
|
||
<div> | ||
<label> | ||
<span class="text-xs font-medium text-gray-600 {{ $errors->first('password', 'text-red-700') }}">{{ __('Password') }}</span> | ||
<input | ||
autofocus | ||
required | ||
tabindex="1" | ||
type="password" | ||
name="password" | ||
value="{{ old('password') }}" | ||
class="mt-1 form-input block w-full {{ $errors->first('password', 'border-red-500') }}" | ||
placeholder="••••••••" | ||
/> | ||
|
||
@if ($errors->has('password')) | ||
<div class="px-3 py-2 mt-2 text-xs font-semibold bg-red-100 text-red-700 rounded-lg">{{ $errors->first('password') }}</div> | ||
@endif | ||
</label> | ||
</div> | ||
|
||
<div class="mt-6 text-sm flex items-center justify-between"> | ||
@if (Route::has('password.request')) | ||
<a tabindex="3" href="{{ route('password.request') }}" class="text-gray-700 font-semibold hover:text-gray-800 hover:underline">{{ __('Forgot password?') }}</a> | ||
@endif | ||
|
||
<button tabindex="2" class="btn px-5 py-2">{{ __('Confirm') }}</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.