mein-sterntours/resources/views/auth/google2fa.blade.php
2021-11-09 18:38:44 +01:00

58 lines
3.2 KiB
PHP

@extends('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/sphinx.jpg')}});">
<div class="ui-bg-overlay bg-dark opacity-25"></div>
<div class="authentication-inner py-5">
<div class="card">
<div class="p-4 p-sm-5" 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.sterntours.de"><img src="{{ asset('/images/stern-tours-logo.png') }}" alt="STERN TOURS" class=""></a>
</div>
</div>
</div>
<!-- / Logo -->
<h5 class="text-center text-muted font-weight-normal mb-4">{{ __('Login to your account') }}</h5>
<p class="text-center text-muted font-weight-normal">Bitte geben Sie das auf Ihrer Authentificator-App generierte One Time Password ein.
Stellen Sie sicher, dass Sie den Aktuellen einreichen, da er alle 30 Sekunden aktualisiert.</p>
<form method="POST" class="my-5" action="{{ route('2fa') }}" aria-label="OTP">
@csrf
<div class="form-group">
<label class="form-label">One Time Password</label>
<input id="one_time_password" type="text" class="form-control {{ $errors->any() ? ' is-invalid' : '' }}" name="one_time_password" value="" required autofocus>
@if ($errors->any())
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first() }}</strong>
</span>
@endif
</div>
<div class="d-flex justify-content-between align-items-center m-0">
<button type="submit" class="btn btn-primary">{{ __('Login') }}</button>
<a href="{{ route('logout') }}" class="btn btn-default">{{ __('Logout') }}</a>
</div>
</form>
<!-- / Form -->
<div class="mt-5">
<a class="update_modal_data_load" href="{{ route('data_protected') }}" data-url="{{ route('loading_modal') }}" data-data="data_protection" data-target="#modal-loading">{{ __('data protection') }}</a>
<a class="update_modal_data_load float-right" href="{{ route('imprint') }}" data-url="{{ route('loading_modal') }}" data-data="imprint" data-target="#modal-loading">{{ __('imprint') }}</a>
</div>
</div>
</div>
</div>
</div>
@endsection