mirror of
https://github.com/BillyOutlast/UNIT3D.git
synced 2026-02-04 03:01:20 +01:00
130 lines
6.1 KiB
PHP
130 lines
6.1 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ config('app.locale') }}">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>{{ __('auth.login') }} - {{ config('other.title') }}</title>
|
|
@section('meta')
|
|
<meta
|
|
name="description"
|
|
content="{{ __('auth.login-now-on') }} {{ config('other.title') }} . {{ __('auth.not-a-member') }}"
|
|
/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta property="og:title" content="{{ __('auth.login') }}" />
|
|
<meta property="og:site_name" content="{{ config('other.title') }}" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:image" content="{{ url('/img/og.png') }}" />
|
|
<meta property="og:description" content="{{ config('unit3d.powered-by') }}" />
|
|
<meta property="og:url" content="{{ url('/') }}" />
|
|
<meta property="og:locale" content="{{ config('app.locale') }}" />
|
|
<meta name="csrf-token" content="{{ csrf_token() }}" />
|
|
@show
|
|
<link rel="shortcut icon" href="{{ url('/favicon.ico') }}" type="image/x-icon" />
|
|
<link rel="icon" href="{{ url('/favicon.ico') }}" type="image/x-icon" />
|
|
<link rel="stylesheet" href="{{ mix('css/main/login.css') }}" crossorigin="anonymous" />
|
|
</head>
|
|
<body>
|
|
<!-- Do NOT Change! For Jackett Support -->
|
|
<div class="Jackett" style="display: none">{{ config('unit3d.powered-by') }}</div>
|
|
<!-- Do NOT Change! For Jackett Support -->
|
|
<main>
|
|
<section class="auth-form">
|
|
<form class="auth-form__form" method="POST" action="{{ route('login') }}">
|
|
@csrf
|
|
<a class="auth-form__branding" href="{{ route('home.index') }}">
|
|
<i class="fal fa-tv-retro"></i>
|
|
<span class="auth-form__site-logo">{{ \config('other.title') }}</span>
|
|
</a>
|
|
@if (Session::has('warning') || Session::has('success') || Session::has('info'))
|
|
<ul class="auth-form__important-infos">
|
|
@if (Session::has('warning'))
|
|
<li class="auth-form__important-info">
|
|
Warning: {{ Session::get('warning') }}
|
|
</li>
|
|
@endif
|
|
|
|
@if (Session::has('info'))
|
|
<li class="auth-form__important-info">
|
|
Info: {{ Session::get('info') }}
|
|
</li>
|
|
@endif
|
|
|
|
@if (Session::has('success'))
|
|
<li class="auth-form__important-info">
|
|
Success: {{ Session::get('success') }}
|
|
</li>
|
|
@endif
|
|
</ul>
|
|
@endif
|
|
|
|
<p class="auth-form__text-input-group">
|
|
<label class="auth-form__label" for="username">
|
|
{{ __('auth.username') }}
|
|
</label>
|
|
<input
|
|
id="username"
|
|
class="auth-form__text-input"
|
|
autocomplete="username"
|
|
autofocus
|
|
name="username"
|
|
required
|
|
type="text"
|
|
value="{{ old('username') }}"
|
|
/>
|
|
</p>
|
|
<p class="auth-form__text-input-group">
|
|
<label class="auth-form__label" for="password">
|
|
{{ __('auth.password') }}
|
|
</label>
|
|
<input
|
|
id="password"
|
|
class="auth-form__text-input"
|
|
autocomplete="current-password"
|
|
name="password"
|
|
required
|
|
type="password"
|
|
/>
|
|
</p>
|
|
<p class="auth-form__checkbox-input-group">
|
|
<input
|
|
id="remember"
|
|
class="auth-form__checkbox-input"
|
|
name="remember"
|
|
{{ old('remember') ? 'checked' : '' }}
|
|
type="checkbox"
|
|
/>
|
|
<label class="auth-form__label" for="remember">
|
|
{{ __('auth.remember-me') }}
|
|
</label>
|
|
</p>
|
|
@if (config('captcha.enabled'))
|
|
@hiddencaptcha
|
|
@endif
|
|
|
|
<button class="auth-form__primary-button">{{ __('auth.login') }}</button>
|
|
@if (Session::has('errors'))
|
|
<ul class="auth-form__errors">
|
|
@foreach ($errors->all() as $error)
|
|
<li class="auth-form__error">{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
@endif
|
|
</form>
|
|
<footer class="auth-form__footer">
|
|
@if (! config('other.invite-only'))
|
|
<a class="auth-form__footer-item" href="{{ route('register') }}">
|
|
{{ __('auth.signup') }}
|
|
</a>
|
|
@elseif (config('other.application_signups'))
|
|
<a class="auth-form__footer-item" href="{{ route('application.create') }}">
|
|
{{ __('auth.apply') }}
|
|
</a>
|
|
@endif
|
|
<a class="auth-form__footer-item" href="{{ route('password.request') }}">
|
|
{{ __('auth.lost-password') }}
|
|
</a>
|
|
</footer>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
</html>
|