1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/resources/views/themes/ninja2020/view_entity/password.blade.php
Benjamin Beganović 2215f40ec3
Password protected invoices (#3635)
* Password protected invoices (wip)

* Add support for invitations

* Update comments & php-cs-fixer

* Add Forgot your password
2020-04-17 07:19:21 +10:00

31 lines
1.5 KiB
PHP

@extends('portal.ninja2020.layout.clean')
@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') }}</h1>
<p class="text-sm text-center text-gray-700">{{ ctrans('texts.to_view_entity_password', ['entity' => $entity_type]) }}</p>
<form method="post" class="mt-6">
@csrf
<div class="flex flex-col">
<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>
@if(session('PASSWORD_FAILED'))
<div class="validation validation-fail">
{{ ctrans('auth.failed') }}
</div>
@endif
</div>
<div class="mt-5">
<button class="button button-primary button-block">{{ ctrans('texts.continue') }}</button>
</div>
</form>
</div>
</div>
</div>
@endsection