mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
aad9f81e93
* Dependency clearing * Tailwind & templates cleanup * Password reset pages & more features: - New $this->render() method - Password reset pages - Tailwind CSS scaffold - New styles for buttons, inputs, alerts - Changed to shorthand syntax for language file (en) - Added app.css and app.js which will be main endpoint - Added new 'theme' field inside of ninja.php - Scaffold for 'ninja2020' theme: both client and global theme - Ignoring local builds of assets, until purgeCSS is there - Overall cleanup * Switch back default template to 'default' * Remove app.css build * Fix Codacy * Fix Codacy 'doublequote' issues
38 lines
1.6 KiB
PHP
38 lines
1.6 KiB
PHP
@extends('portal.ninja2020.layout.clean')
|
|
@section('meta_title', ctrans('texts.password_recovery'))
|
|
|
|
@section('body')
|
|
<div class="flex h-screen">
|
|
<div class="m-auto md:w-1/3 lg:w-1/5">
|
|
<div class="flex flex-col">
|
|
<h1 class="text-center text-3xl">{{ ctrans('texts.password_recovery') }}</h1>
|
|
<p class="text-center opacity-75">{{ ctrans('texts.reset_password_text') }}</p>
|
|
@if(session('status'))
|
|
<div class="alert alert-success mt-4">
|
|
{{ session('status') }}
|
|
</div>
|
|
@endif
|
|
<form action="{{ route('password.email') }}" method="post" class="mt-6">
|
|
@csrf
|
|
<div class="flex flex-col">
|
|
<label for="email" class="text-sm text-gray-600">{{ ctrans('texts.email_address') }}</label>
|
|
<input type="email" name="email" id="email"
|
|
class="input"
|
|
placeholder="user@example.com"
|
|
value="{{ old('email') }}"
|
|
autofocus>
|
|
@error('email')
|
|
<div class="validation validation-fail">
|
|
{{ $message }}
|
|
</div>
|
|
@enderror
|
|
</div>
|
|
<div class="mt-5">
|
|
<button class="button button-primary button-block">{{ ctrans('texts.next_step') }}</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|