Files
silent-auction/resources/views/vendor/tablar/auth/login.blade.php
T

98 lines
5.1 KiB
PHP

@extends('tablar::auth.layout')
@section('title', 'Login')
@section('content')
<div class="container container-tight py-4">
<div class="text-center mb-1 mt-5">
<a href="" class="navbar-brand navbar-brand-autodark">
<img src="{{asset(config('tablar.auth_logo.img.path','assets/logo.svg'))}}" height="36"
alt=""></a>
</div>
<div class="card card-md">
<div class="card-body">
<h2 class="h2 text-center mb-4">Login to your account</h2>
@if (session('status'))
<div class="alert alert-success" role="alert">
{{ session('status') }}
</div>
@endif
@if (session('error'))
<div class="alert alert-danger" role="alert">
{{ session('error') }}
</div>
@endif
<form action="{{route('login')}}" method="post" autocomplete="off" novalidate>
@csrf
<div class="mb-3">
<label class="form-label">Email address</label>
<input type="email" class="form-control @error('email') is-invalid @enderror" name="email"
placeholder="your@email.com"
autocomplete="off">
@error('email')
<div class="invalid-feedback">{{ $message }}</div>
@enderror
</div>
<div class="mb-2">
<label class="form-label">
Password
<span class="form-label-description">
<a href="{{route('password.request')}}">I forgot password</a>
</span>
</label>
<div class="input-group input-group-flat">
<input type="password" name="password"
class="form-control @error('password') is-invalid @enderror"
placeholder="Your password"
autocomplete="off">
<span class="input-group-text">
<a href="#" class="link-secondary" title="Show password" data-bs-toggle="tooltip"><!-- Download SVG icon from http://tabler-icons.io/i/eye -->
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><circle cx="12"
cy="12"
r="2"/><path
d="M22 12c-2.667 4.667 -6 7 -10 7s-7.333 -2.333 -10 -7c2.667 -4.667 6 -7 10 -7s7.333 2.333 10 7"/></svg>
</a>
</span>
@error('password')
<div class="invalid-feedback">{{ $message }}</div>
@enderror
</div>
</div>
<div class="mb-2">
<label class="form-check">
<input type="checkbox" class="form-check-input"/>
<span class="form-check-label">Remember me on this device</span>
</label>
</div>
<div class="form-footer">
<button type="submit" class="btn btn-primary w-100">Sign in</button>
</div>
</form>
</div>
<div class="hr-text">or</div>
<div class="card-body">
<div class="row">
<div class="col">
<a href="{{ url('auth/social/oidc') }}" class="btn btn-white w-100">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-login" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2"></path>
<path d="M20 12h-13l3 -3m0 6l-3 -3"></path>
</svg>
Login with Single Sign-On
</a>
</div>
</div>
</div>
</div>
@if(Route::has('register'))
<div class="text-center text-muted mt-3">
Don't have account yet? <a href="{{route('register')}}" tabindex="-1">Sign up</a>
</div>
@endif
</div>
@endsection