1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/resources/views/portal/default/auth/login.blade.php

104 lines
5.5 KiB
PHP
Raw Normal View History

2019-07-17 05:09:37 +02:00
@extends('portal.default.layouts.guest')
@section('body')
<body class="app flex-row align-items-center">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card-group">
<div class="card p-4">
<div class="card-body">
@if (session('info'))
<div class="row">
<div class="col-md-12">
<div class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
{{ session('info') }}
</div>
</div>
</div>
@elseif (session('error'))
<div class="row">
<div class="col-md-12">
<div class="alert alert-danger alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
{{ session('error') }}
</div>
</div>
</div>
@endif
<form method="POST" action="{{ route('client.login') }}">
@csrf
2019-09-26 12:49:52 +02:00
<h1>{{ ('texts.account_login') }}</h1>
2019-07-17 05:09:37 +02:00
@if (Session::has('error'))
<div class="alert alert-danger">
<li>{!! Session::get('error') !!}</li>
</div>
@endif
<p class="text-muted"></p>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="icon-user"></i>
</span>
</div>
2019-09-26 12:49:52 +02:00
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" placeholder="{{ ('texts.email') }}" required autofocus>
2019-07-17 05:09:37 +02:00
@if ($errors->has('email'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
<div class="input-group mb-4">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="icon-lock"></i>
</span>
</div>
2019-09-26 12:49:52 +02:00
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="{{ ('texts.password') }}" required>
2019-07-17 05:09:37 +02:00
@if ($errors->has('password'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
<div class="row">
<div class="col-6">
2019-09-26 12:49:52 +02:00
<button class="btn btn-primary px-4" type="submit">{{ trans('texts.login') }}</button>
2019-07-17 05:09:37 +02:00
</div>
<div class="col-6 text-right">
2019-07-17 06:52:54 +02:00
<a class="btn btn-link" href="{{ route('client.password.request') }}">
2019-07-17 05:09:37 +02:00
@lang('texts.forgot_password')
</a>
</div>
</div>
</form>
</div>
</div>
@env('hosted')
<!--<div class="card text-white bg-primary py-5 d-md-down-none" style="width:44%">
<div class="card-body text-center">
<div>
<h2>@lang('texts.sign_up_now')</h2>
<p>@lang('texts.not_a_member_yet')</p>
<a class="btn btn-primary active mt-3" href="{{route('signup') }}">@lang('texts.login_create_an_account')</a>
</div>
</div>
</div>
-->
@endenv
</div>
</div>
</div>
</div>
</body>
@endsection