Initial Commit
The initial public commit of MVGL website code.
This commit is contained in:
commit
b39ecf1638
2043 changed files with 215154 additions and 0 deletions
41
resources/views/auth/confirm-password.blade.php
Normal file
41
resources/views/auth/confirm-password.blade.php
Normal file
|
@ -0,0 +1,41 @@
|
|||
<x-auth-layout>
|
||||
<!--begin::Confirm Password Form-->
|
||||
<form method="POST" action="{{ theme()->getPageUrl('password.confirm') }}" class="form w-100" novalidate="novalidate">
|
||||
@csrf
|
||||
|
||||
<!--begin::Heading-->
|
||||
<div class="text-center mb-10">
|
||||
<!--begin::Title-->
|
||||
<h1 class="text-dark mb-3">
|
||||
{{ __('Confirm Password') }}
|
||||
</h1>
|
||||
<!--end::Title-->
|
||||
|
||||
<!--begin::Link-->
|
||||
<div class="text-gray-400 fw-bold fs-4">
|
||||
{{ __('This is a secure area of the application. Please confirm your password before continuing.') }}
|
||||
</div>
|
||||
<!--end::Link-->
|
||||
</div>
|
||||
<!--begin::Heading-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-10">
|
||||
<label class="form-label fw-bolder text-gray-900 fs-6">{{ __('Password') }}</label>
|
||||
<input class="form-control form-control-solid" type="password" name="password" autocomplete="current-password" required autofocus/>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Actions-->
|
||||
<div class="d-flex flex-wrap justify-content-center pb-lg-0">
|
||||
<button type="submit" id="kt_password_reset_submit" class="btn btn-lg btn-primary fw-bolder me-4">
|
||||
@include('partials.general._button-indicator')
|
||||
</button>
|
||||
|
||||
<a href="{{ theme()->getPageUrl('login') }}" class="btn btn-lg btn-light-primary fw-bolder">{{ __('Cancel') }}</a>
|
||||
</div>
|
||||
<!--end::Actions-->
|
||||
</form>
|
||||
<!--end::Confirm Password Form-->
|
||||
|
||||
</x-auth-layout>
|
41
resources/views/auth/forgot-password.blade.php
Normal file
41
resources/views/auth/forgot-password.blade.php
Normal file
|
@ -0,0 +1,41 @@
|
|||
<x-auth-layout>
|
||||
<!--begin::Forgot Password Form-->
|
||||
<form method="POST" action="{{ theme()->getPageUrl('password.email') }}" class="form w-100" novalidate="novalidate" id="kt_password_reset_form">
|
||||
@csrf
|
||||
|
||||
<!--begin::Heading-->
|
||||
<div class="text-center mb-10">
|
||||
<!--begin::Title-->
|
||||
<h1 class="text-dark mb-3">
|
||||
{{ __('Forgot Password ?') }}
|
||||
</h1>
|
||||
<!--end::Title-->
|
||||
|
||||
<!--begin::Link-->
|
||||
<div class="text-gray-400 fw-bold fs-4">
|
||||
{{ __('Enter your email to reset your password.') }}
|
||||
</div>
|
||||
<!--end::Link-->
|
||||
</div>
|
||||
<!--begin::Heading-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-10">
|
||||
<label class="form-label fw-bolder text-gray-900 fs-6">{{ __('Email') }}</label>
|
||||
<input class="form-control form-control-solid" type="email" name="email" autocomplete="off" value="{{ old('email') }}" required autofocus/>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Actions-->
|
||||
<div class="d-flex flex-wrap justify-content-center pb-lg-0">
|
||||
<button type="submit" id="kt_password_reset_submit" class="btn btn-lg btn-primary fw-bolder me-4">
|
||||
@include('partials.general._button-indicator')
|
||||
</button>
|
||||
|
||||
<a href="{{ theme()->getPageUrl('login') }}" class="btn btn-lg btn-light-primary fw-bolder">{{ __('Cancel') }}</a>
|
||||
</div>
|
||||
<!--end::Actions-->
|
||||
</form>
|
||||
<!--end::Forgot Password Form-->
|
||||
|
||||
</x-auth-layout>
|
27
resources/views/auth/layout.blade.php
Normal file
27
resources/views/auth/layout.blade.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
@extends('base.base')
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex flex-column flex-root">
|
||||
<!--begin::Authentication-->
|
||||
<div
|
||||
class="d-flex flex-column flex-column-fluid bgi-position-y-bottom position-x-center bgi-no-repeat bgi-size-contain bgi-attachment-fixed">
|
||||
|
||||
<!--begin::Content-->
|
||||
<div class="d-flex flex-center flex-column flex-column-fluid p-10 pb-lg-20">
|
||||
<!--begin::Logo-->
|
||||
<a href="{{ $theme->getPageUrl('') }}" class="mb-12">
|
||||
<img alt="Logo" src="{{ asset(theme()->getMediaUrlPath() . 'logos/logo_dark@2x.png') }}" class="h-45px"/>
|
||||
</a>
|
||||
<!--end::Logo-->
|
||||
|
||||
<!--begin::Wrapper-->
|
||||
<div class="{{ $wrapperClass ?? '' }} bg-body rounded shadow-sm p-10 p-lg-15 mx-auto">
|
||||
{{ $slot }}
|
||||
</div>
|
||||
<!--end::Wrapper-->
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
</div>
|
||||
<!--end::Authentication-->
|
||||
</div>
|
||||
@endsection
|
106
resources/views/auth/login.blade.php
Normal file
106
resources/views/auth/login.blade.php
Normal file
|
@ -0,0 +1,106 @@
|
|||
<x-base-layout>
|
||||
|
||||
<!--begin::Row-->
|
||||
<div class="row gy-5 g-xl-8">
|
||||
<!--begin::Col-->
|
||||
<div class="col-xl-4"></div>
|
||||
<!--end::Col-->
|
||||
<!--begin::Col-->
|
||||
<div class="col-xxl-4">
|
||||
<div class="card shadow-sm mb-2">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Login</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@if (count($errors) > 0)
|
||||
<!--begin::Alert-->
|
||||
<div class="alert alert-danger d-flex align-items-center p-5 mb-10">
|
||||
<span class="svg-icon svg-icon-2hx svg-icon-danger me-4">
|
||||
<i class="fad fa-times-circle"></i>
|
||||
</span>
|
||||
<div class="d-flex flex-column">
|
||||
<h4 class="mb-1 text-danger">Error</h4>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Alert-->
|
||||
@endif
|
||||
<!--begin::Signin Form-->
|
||||
<form method="POST" action="{{ theme()->getPageUrl('login') }}" class="form w-100" novalidate="novalidate">
|
||||
@csrf
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-5">
|
||||
<div class="col-xl-12">
|
||||
<!--begin::Label-->
|
||||
<label class="form-label fs-6 fw-bolder text-dark">{{ __('Username') }}</label>
|
||||
<!--end::Label-->
|
||||
|
||||
<!--begin::Input-->
|
||||
<input class="form-control form-control-lg form-control-solid" type="text" name="username" autocomplete="off" value="{{ old('username') }}" required autofocus/>
|
||||
<!--end::Input-->
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-5">
|
||||
<div class="col-xl-12">
|
||||
<!--begin::Wrapper-->
|
||||
<div class="d-flex flex-stack mb-2">
|
||||
<!--begin::Label-->
|
||||
<label class="form-label fw-bolder text-dark fs-6 mb-0">{{ __('Password') }}</label>
|
||||
<!--end::Label-->
|
||||
|
||||
<!--begin::Link-->
|
||||
@if (Route::has('password.request'))
|
||||
<a href="{{ theme()->getPageUrl('password.request') }}" class="link-primary fs-6 fw-bolder">
|
||||
{{ __('Forgot Password ?') }}
|
||||
</a>
|
||||
@endif
|
||||
<!--end::Link-->
|
||||
</div>
|
||||
<!--end::Wrapper-->
|
||||
|
||||
<!--begin::Input-->
|
||||
<input class="form-control form-control-lg form-control-solid" type="password" name="password" autocomplete="off" required/>
|
||||
<!--end::Input-->
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-5">
|
||||
<label class="form-check form-check-custom form-check-solid">
|
||||
<input class="form-check-input" type="checkbox" name="remember"/>
|
||||
<span class="form-check-label fw-bold text-gray-700 fs-6">{{ __('Remember me') }}
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Actions-->
|
||||
<div class="text-left">
|
||||
<!--begin::Submit button-->
|
||||
<button type="submit" class="btn btn-lg btn-primary mb-5">
|
||||
@include('partials.general._button-indicator', ['label' => __('Continue')])
|
||||
</button>
|
||||
<!--end::Submit button-->
|
||||
</div>
|
||||
<!--end::Actions-->
|
||||
</form>
|
||||
<!--end::Signin Form-->
|
||||
<p class="text-center mb-0">By logging in and using this website you agree to our<br /><a href="/terms-of-service">Terms of Service</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Col-->
|
||||
<!--begin::Col-->
|
||||
<div class="col-xl-4"></div>
|
||||
<!--end::Col-->
|
||||
</div>
|
||||
|
||||
</x-base-layout>
|
144
resources/views/auth/register.blade.php
Normal file
144
resources/views/auth/register.blade.php
Normal file
|
@ -0,0 +1,144 @@
|
|||
<x-base-layout>
|
||||
|
||||
<!--begin::Row-->
|
||||
<div class="row gy-5 g-xl-8">
|
||||
<!--begin::Col-->
|
||||
<div class="col-xxl-8">
|
||||
<div class="card shadow-sm mb-2">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Register</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@if (count($errors) > 0)
|
||||
<!--begin::Alert-->
|
||||
<div class="alert alert-danger d-flex align-items-center p-5 mb-10">
|
||||
<span class="svg-icon svg-icon-2hx svg-icon-danger me-4">
|
||||
<i class="fad fa-times-circle"></i>
|
||||
</span>
|
||||
<div class="d-flex flex-column">
|
||||
<h4 class="mb-1 text-danger">Error</h4>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Alert-->
|
||||
@endif
|
||||
<!--begin::Signup Form-->
|
||||
<form method="POST" action="{{ route('register') }}" class="form w-100" novalidate="novalidate" id="kt_sign_up_form">
|
||||
@csrf
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-5">
|
||||
<!--begin::Col-->
|
||||
<div class="col-xl-6">
|
||||
<label class="form-label fw-bolder text-dark fs-6">{{ __('Username') }}</label>
|
||||
<input class="form-control form-control-lg form-control-solid" type="text" name="username" maxlength="16" autocomplete="off" value="{{ old('username') }}"/>
|
||||
</div>
|
||||
<!--end::Col-->
|
||||
</div>
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-5">
|
||||
<!--begin::Col-->
|
||||
<div class="col-xl-6">
|
||||
<label class="form-label fw-bolder text-dark fs-6">{{ __('Email') }}</label>
|
||||
<input class="form-control form-control-lg form-control-solid" type="email" name="email" autocomplete="off" value="{{ old('email') }}"/>
|
||||
</div>
|
||||
<!--end::Col-->
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="mb-5 fv-row" data-kt-password-meter="true">
|
||||
<!--begin::Wrapper-->
|
||||
<div class="mb-1">
|
||||
<!--begin::Col-->
|
||||
<div class="col-xl-6">
|
||||
<!--begin::Label-->
|
||||
<label class="form-label fw-bolder text-dark fs-6">
|
||||
{{ __('Password') }}
|
||||
</label>
|
||||
<!--end::Label-->
|
||||
|
||||
<!--begin::Input wrapper-->
|
||||
<div class="position-relative mb-3">
|
||||
<input class="form-control form-control-lg form-control-solid" type="password" name="password" autocomplete="new-password"/>
|
||||
|
||||
<span class="btn btn-sm btn-icon position-absolute translate-middle top-50 end-0 me-n2" data-kt-password-meter-control="visibility">
|
||||
<i class="bi bi-eye-slash fs-2"></i>
|
||||
<i class="bi bi-eye fs-2 d-none"></i>
|
||||
</span>
|
||||
</div>
|
||||
<!--end::Input wrapper-->
|
||||
|
||||
<!--begin::Meter-->
|
||||
<div class="d-flex align-items-center mb-3" data-kt-password-meter-control="highlight">
|
||||
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px me-2"></div>
|
||||
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px me-2"></div>
|
||||
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px me-2"></div>
|
||||
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px"></div>
|
||||
</div>
|
||||
<!--end::Meter-->
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Wrapper-->
|
||||
|
||||
<!--begin::Hint-->
|
||||
<div class="text-muted">
|
||||
{{ __('Use 16 or more characters with a mix of letters, numbers & symbols.') }}
|
||||
</div>
|
||||
<!--end::Hint-->
|
||||
</div>
|
||||
<!--end::Input group--->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-5">
|
||||
<!--begin::Col-->
|
||||
<div class="col-xl-6">
|
||||
<label class="form-label fw-bolder text-dark fs-6">{{ __('Confirm Password') }}</label>
|
||||
<input class="form-control form-control-lg form-control-solid" type="password" name="password_confirmation" autocomplete="off"/>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-5">
|
||||
<label class="form-check form-check-custom form-check-solid form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="toc" value="1"/>
|
||||
<span class="form-check-label fw-bold text-gray-700 fs-6">
|
||||
{{ __('I Agree to the ') }} <a href="/terms-of-service" class="ms-1 link-primary">{{ __('Terms of Service') }}</a>.
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Actions-->
|
||||
<div class="text-left">
|
||||
<button type="submit" id="kt_sign_up_submit" class="btn btn-lg btn-primary">
|
||||
@include('partials.general._button-indicator')
|
||||
</button>
|
||||
</div>
|
||||
<!--end::Actions-->
|
||||
</form>
|
||||
<!--end::Signup Form-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Col-->
|
||||
|
||||
<!--begin::Col-->
|
||||
<div class="col-xxl-4">
|
||||
@if (Auth::check())
|
||||
{{ theme()->getView('partials/general/_donate-block') }}
|
||||
@endif
|
||||
{{ theme()->getView('partials/general/_recent-user-updates-block') }}
|
||||
{{ theme()->getView('partials/general/_most-popular-games-block') }}
|
||||
</div>
|
||||
<!--end::Col-->
|
||||
</div>
|
||||
<!--end::Row-->
|
||||
|
||||
</x-base-layout>
|
96
resources/views/auth/reset-password.blade.php
Normal file
96
resources/views/auth/reset-password.blade.php
Normal file
|
@ -0,0 +1,96 @@
|
|||
<x-auth-layout>
|
||||
|
||||
<!--begin::Reset Password Form-->
|
||||
<form method="POST" action="{{ theme()->getPageUrl('password.update') }}" class="form w-100" novalidate="novalidate" id="kt_new_password_form">
|
||||
@csrf
|
||||
|
||||
<!-- Password Reset Token -->
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
|
||||
<!--begin::Heading-->
|
||||
<div class="text-center mb-10">
|
||||
<!--begin::Title-->
|
||||
<h1 class="text-dark mb-3">
|
||||
{{ __('Update Your Password') }}
|
||||
</h1>
|
||||
<!--end::Title-->
|
||||
|
||||
<!--begin::Link-->
|
||||
<div class="text-gray-400 fw-bold fs-4">
|
||||
{{ __('This is a secure area of the application. Please confirm your password before continuing.') }}
|
||||
</div>
|
||||
<!--end::Link-->
|
||||
</div>
|
||||
<!--begin::Heading-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-10">
|
||||
<label class="form-label fw-bolder text-gray-900 fs-6">{{ __('Email') }}</label>
|
||||
<input class="form-control form-control-solid" type="email" name="email" autocomplete="off" value="{{ old('email', $request->email) }}" required/>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="mb-10 fv-row" data-kt-password-meter="true">
|
||||
<!--begin::Wrapper-->
|
||||
<div class="mb-1">
|
||||
<!--begin::Label-->
|
||||
<label class="form-label fw-bolder text-dark fs-6">
|
||||
{{ __('Password') }}
|
||||
</label>
|
||||
<!--end::Label-->
|
||||
|
||||
<!--begin::Input wrapper-->
|
||||
<div class="position-relative mb-3">
|
||||
<input class="form-control form-control-lg form-control-solid" type="password" name="password" autocomplete="new-password"/>
|
||||
|
||||
<span class="btn btn-sm btn-icon position-absolute translate-middle top-50 end-0 me-n2" data-kt-password-meter-control="visibility">
|
||||
<i class="bi bi-eye-slash fs-2"></i>
|
||||
<i class="bi bi-eye fs-2 d-none"></i>
|
||||
</span>
|
||||
</div>
|
||||
<!--end::Input wrapper-->
|
||||
|
||||
<!--begin::Meter-->
|
||||
<div class="d-flex align-items-center mb-3" data-kt-password-meter-control="highlight">
|
||||
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px me-2"></div>
|
||||
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px me-2"></div>
|
||||
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px me-2"></div>
|
||||
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px"></div>
|
||||
</div>
|
||||
<!--end::Meter-->
|
||||
</div>
|
||||
<!--end::Wrapper-->
|
||||
|
||||
<!--begin::Hint-->
|
||||
<div class="text-muted">
|
||||
{{ __('Use 8 or more characters with a mix of letters, numbers & symbols.') }}
|
||||
</div>
|
||||
<!--end::Hint-->
|
||||
</div>
|
||||
<!--end::Input group--->
|
||||
|
||||
<!--begin::Input group-->
|
||||
<div class="fv-row mb-10">
|
||||
<label class="form-label fw-bolder text-gray-900 fs-6">{{ __('Confirm Password') }}</label>
|
||||
<input class="form-control form-control-solid" type="password" name="password_confirmation" autocomplete="off" required/>
|
||||
</div>
|
||||
<!--end::Input group-->
|
||||
|
||||
<!--begin::Actions-->
|
||||
<div class="d-flex flex-wrap justify-content-center pb-lg-0">
|
||||
<button type="submit" id="kt_new_password_submit" class="btn btn-lg btn-primary fw-bolder me-4">
|
||||
@include('partials.general._button-indicator')
|
||||
</button>
|
||||
|
||||
<a href="{{ theme()->getPageUrl('login') }}" class="btn btn-lg btn-light-primary fw-bolder">{{ __('Cancel') }}</a>
|
||||
</div>
|
||||
<!--end::Actions-->
|
||||
</form>
|
||||
<!--end::Reset Password Form-->
|
||||
|
||||
@section('scripts')
|
||||
<script src="{{ asset($request->input('demo', 'demo1') . '/js/custom/authentication/password-reset/new-password.js') }}" type="application/javascript"></script>
|
||||
@endsection
|
||||
|
||||
</x-auth-layout>
|
46
resources/views/auth/verify-email.blade.php
Normal file
46
resources/views/auth/verify-email.blade.php
Normal file
|
@ -0,0 +1,46 @@
|
|||
<x-auth-layout>
|
||||
<!--begin::Verify Email Form-->
|
||||
<div class="w-100">
|
||||
|
||||
<!--begin::Heading-->
|
||||
<div class="text-center mb-10">
|
||||
<!--begin::Title-->
|
||||
<h1 class="text-dark mb-3">
|
||||
{{ __('Verify Email') }}
|
||||
</h1>
|
||||
<!--end::Title-->
|
||||
|
||||
<!--begin::Link-->
|
||||
<div class="text-gray-400 fw-bold fs-4">
|
||||
{{ __('Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn\'t receive the email, we will gladly send you another.') }}
|
||||
</div>
|
||||
<!--::Link-->
|
||||
|
||||
<!--begin::Session Status-->
|
||||
@if (session('status') === 'verification-link-sent')
|
||||
<p class="font-medium text-sm text-gray-500 mt-4">
|
||||
{{ __('A new verification link has been sent to the email address you provided during registration.') }}
|
||||
</p>
|
||||
@endif
|
||||
<!--end::Session Status-->
|
||||
</div>
|
||||
<!--begin::Heading-->
|
||||
|
||||
<!--begin::Actions-->
|
||||
<div class="d-flex flex-wrap justify-content-center pb-lg-0">
|
||||
|
||||
<form method="POST" action="{{ theme()->getPageUrl('verification.send') }}">
|
||||
@csrf
|
||||
<button type="submit" class="btn btn-lg btn-primary fw-bolder me-4">{{ __('Resend Verification Email') }}</button>
|
||||
</form>
|
||||
|
||||
<form method="POST" action="{{ theme()->getPageUrl('logout') }}">
|
||||
@csrf
|
||||
<button type="submit" class="btn btn-lg btn-light-primary fw-bolder me-4">{{ __('Log out') }}</button>
|
||||
</form>
|
||||
</div>
|
||||
<!--end::Actions-->
|
||||
</div>
|
||||
|
||||
<!--end::Verify Email Form-->
|
||||
</x-auth-layout>
|
Loading…
Add table
Add a link
Reference in a new issue