74 lines
4.2 KiB
PHP
74 lines
4.2 KiB
PHP
@extends('portal.layouts.auth')
|
|
|
|
@section('content')
|
|
|
|
<!-- Content -->
|
|
|
|
<div class="authentication-wrapper authentication-2 ui-bg-cover ui-bg-overlay-container px-4" style="background-image: url({{asset('images/back-in2.jpg')}});">
|
|
<div class="ui-bg-overlay bg-dark opacity-25"></div>
|
|
|
|
<div class="authentication-inner py-5">
|
|
|
|
<div class="card">
|
|
|
|
@include('layouts.includes.header-language')
|
|
|
|
<div class="p-4 p-sm-4" style="padding-bottom: 1.5rem !important;">
|
|
<!-- Logo -->
|
|
<div class="d-flex justify-content-center align-items-center pb-2 mb-2">
|
|
<div class="">
|
|
<div class="w-100 position-relative">
|
|
<a href="https://www.mivita.care"><img src="{{ asset('/images/logo_mivita.png') }}" alt="mivita.care" class=""></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- / Logo -->
|
|
<!-- Form -->
|
|
<form method="POST" class="my-2" action="{{ route('portal.login.send-otp') }}" aria-label="{{ __('portal.login_button') }}">
|
|
@csrf
|
|
<h4 class="text-center mb-4">{{ __('portal.login_title') }}</h4>
|
|
|
|
@if(Util::isTestSystem(true))
|
|
<h5 class="text-center mb-4">TestSystem</h5>
|
|
@php
|
|
$email = 'kevin@adametz.media';
|
|
@endphp
|
|
@endif
|
|
<div class="form-group">
|
|
<label class="form-label">{{ __('portal.login_email') }}</label>
|
|
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ $email ?? old('email') }}" required autofocus>
|
|
@if ($errors->has('email'))
|
|
<span class="invalid-feedback" role="alert">
|
|
<strong>{{ $errors->first('email') }}</strong>
|
|
</span>
|
|
@endif
|
|
</div>
|
|
|
|
<div class="d-flex justify-content-between align-items-center m-0">
|
|
<button type="submit" class="btn btn-primary btn-block">{{ __('portal.login_button') }}</button>
|
|
</div>
|
|
|
|
<div class="d-flex flex-column align-items-center m-0 mt-2 border-top pt-2">
|
|
<p class="text-center small">
|
|
{{ __('portal.login_send_otp_description') }}
|
|
</p>
|
|
<p class="text-center small border-top pt-2 mt-2">
|
|
{{ __('portal.login_send_otp_description2') }}
|
|
</p>
|
|
</div>
|
|
</form>
|
|
<!-- / Form -->
|
|
|
|
<div class="mt-1 text-center justify-content-center">
|
|
<button type="button" class="btn btn-outline-primary mt-2 btn-sm update_modal_data_load" data-url="{{ route('portal.loading_modal') }}" data-data="data_protection" data-target="#modal-loading">{{__('register.data_protection')}}</button>
|
|
<button type="button" class="btn btn-outline-primary mt-2 btn-sm update_modal_data_load" data-url="{{ route('portal.loading_modal') }}" data-data="imprint" data-target="#modal-loading">{{__('imprint')}}</button>
|
|
</div>
|
|
<div class="mt-1 text-center justify-content-center">
|
|
<a href="{{ Util::getMyMivitaShopUrl() }}" class="btn btn-secondary mt-2 btn-sm">{{__('portal.back_to_shop')}}</a>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|