mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-16 08:02:40 +01:00
2b39c1a5d7
- Change ClientPortal helper to return 'bg-primary-darken' instead of 'active-page' - Buttons & input fields don't have SASS color now - bg-blue-600/900 replaced with primary/primary-darken - Production build of assets
61 lines
3.0 KiB
PHP
61 lines
3.0 KiB
PHP
@extends('portal.ninja2020.layout.clean')
|
|
@section('meta_title', ctrans('texts.login'))
|
|
|
|
@component('portal.ninja2020.components.test')
|
|
<input type="hidden" id="test_email" value="{{ config('ninja.testvars.username') }}">
|
|
<input type="hidden" id="test_password" value="{{ config('ninja.testvars.password') }}">
|
|
@endcomponent
|
|
|
|
@section('body')
|
|
<div class="grid lg:grid-cols-3">
|
|
<div class="hidden lg:block col-span-1 bg-red-100 h-screen">
|
|
<img src="https://www.invoiceninja.com/wp-content/uploads/2018/04/bg-home2018b.jpg"
|
|
class="w-full h-screen object-cover"
|
|
alt="Background image">
|
|
</div>
|
|
<div class="col-span-2 h-screen flex">
|
|
<div class="m-auto md:w-1/2 lg:w-1/4">
|
|
<div class="flex flex-col">
|
|
<h1 class="text-center text-3xl">{{ ctrans('texts.client_portal') }}</h1>
|
|
<form action="{{ route('client.login') }}" method="post" class="mt-6">
|
|
@csrf
|
|
<div class="flex flex-col">
|
|
<label for="email" class="input-label">{{ ctrans('texts.email_address') }}</label>
|
|
<input type="email" name="email" id="email"
|
|
class="input"
|
|
value="{{ old('email') }}"
|
|
autofocus>
|
|
@error('email')
|
|
<div class="validation validation-fail">
|
|
{{ $message }}
|
|
</div>
|
|
@enderror
|
|
</div>
|
|
<div class="flex flex-col mt-4">
|
|
<div class="flex justify-between items-center">
|
|
<label for="password" class="input-label">{{ ctrans('texts.password') }}</label>
|
|
<a class="text-xs text-gray-600 hover:text-gray-800 ease-in duration-100"
|
|
href="{{ route('client.password.request') }}">{{ trans('texts.forgot_password') }}</a>
|
|
</div>
|
|
<input type="password" name="password" id="password"
|
|
class="input"
|
|
autofocus>
|
|
@error('password')
|
|
<div class="validation validation-fail">
|
|
{{ $message }}
|
|
</div>
|
|
@enderror
|
|
</div>
|
|
<div class="mt-5">
|
|
<button id="loginBtn" class="button button-primary button-block bg-blue-600">
|
|
{{ trans('texts.login') }}
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|