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
14
resources/views/partials/general/_button-indicator.blade.php
Normal file
14
resources/views/partials/general/_button-indicator.blade.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
@php
|
||||
$label = $label ?? __('Submit');
|
||||
$message = $message ?? __('Please wait...');
|
||||
@endphp
|
||||
|
||||
<!--begin::Indicator-->
|
||||
<span class="indicator-label">
|
||||
{{ $label }}
|
||||
</span>
|
||||
<span class="indicator-progress">
|
||||
{{ $message }}
|
||||
<span class="spinner-border spinner-border-sm align-middle ms-2"></span>
|
||||
</span>
|
||||
<!--end::Indicator-->
|
14
resources/views/partials/general/_donate-block.blade.php
Normal file
14
resources/views/partials/general/_donate-block.blade.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{-- <div class="card shadow-sm mb-2">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Help Support MyVideoGameList!</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>
|
||||
We need your help to stay online! 100% of the people who work on and improve the site are volunteers. If you've got an extra $5.00, please help! <span class="fw-bolder">ALL</span> donations go into paying hosting bills. You can read <a href="/blog/entry/jimmyb/1420">this blog post</a> for more information.
|
||||
</p>
|
||||
<div class="mb-1 fs-2 fw-bolder">Current Donations for {{ date('F Y') }}</div>
|
||||
<div class="progress h-20px w-100">
|
||||
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
|
@ -0,0 +1,8 @@
|
|||
<div class="card shadow-sm mb-2">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Most Popular Games</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
Coming soon...
|
||||
</div>
|
||||
</div>
|
49
resources/views/partials/general/_notice.blade.php
Normal file
49
resources/views/partials/general/_notice.blade.php
Normal file
|
@ -0,0 +1,49 @@
|
|||
@php
|
||||
$class = $class ?? '';
|
||||
$icon = $icon ?? false;
|
||||
$title = $title ?? false;
|
||||
$body = $body ?? false;
|
||||
$button = $button ?? false;
|
||||
$button_label = $button_label ?? 'Button';
|
||||
$button_url = $button_url ?? '#';
|
||||
$button_modal_id = $button_modal_id ?? false;
|
||||
$color = $color ?? 'primary';
|
||||
$padding = $padding ?? 'p-6';
|
||||
$icon_classes = $icon ? 'ms-15 ms-lg-15' : 'ms-0 ms-lg-0';
|
||||
@endphp
|
||||
|
||||
<!--begin::Notice-->
|
||||
<div class="notice d-flex bg-light-{{ $color }} rounded border-{{ $color }} border border-dashed {{ $class }} {{ $padding }}">
|
||||
@if ($icon)
|
||||
<!--begin::Icon-->
|
||||
{!! theme()->getSvgIcon($icon, "svg-icon-2tx svg-icon-" . $color . " me-4") !!}
|
||||
<!--end::Icon-->
|
||||
@endif
|
||||
|
||||
<!--begin::Wrapper-->
|
||||
<div class="d-flex flex-stack flex-grow-1 {{ util()->putIf($button, 'flex-wrap flex-md-nowrap') }}">
|
||||
@if ($title || $body)
|
||||
<!--begin::Content-->
|
||||
<div class="{{ util()->putIf($button, 'mb-3 mb-md-0') }} fw-bold">
|
||||
@if ($title)
|
||||
<h4 class="text-gray-800 fw-bolder">{{ $title }}</h4>
|
||||
@endif
|
||||
|
||||
@if ($body)
|
||||
<div class="fs-6 text-gray-600 @if ($button) {{ 'pe-7' }} @endif">{!! $body !!}</div>
|
||||
@endif
|
||||
</div>
|
||||
<!--end::Content-->
|
||||
@endif
|
||||
|
||||
@if ($button)
|
||||
<!--begin::Action-->
|
||||
<a href="{{ $button_url }}" class="btn btn-{{ $color }} px-6 align-self-center text-nowrap" {{ util()->putIf($button_modal_id, 'data-bs-toggle="modal" data-bs-target="' . $button_modal_id . '"') }}>
|
||||
{{ $button_label }}
|
||||
</a>
|
||||
<!--end::Action-->
|
||||
@endif
|
||||
</div>
|
||||
<!--end::Wrapper-->
|
||||
</div>
|
||||
<!--end::Notice-->
|
40
resources/views/partials/general/_pagination.blade.php
Normal file
40
resources/views/partials/general/_pagination.blade.php
Normal file
|
@ -0,0 +1,40 @@
|
|||
@if ($paginator->hasPages())
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item previous disabled"><a href="#" class="page-link"><i class="previous"></i></a></li>
|
||||
@else
|
||||
<li class="page-item previous"><a href="{{ PaginateRoute::previousPageUrl() }}" class="page-link"><i class="previous"></i></a></li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="disabled page-item"><span class="page-link">{{ $element }}</span></li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="page-item active"><span class="page-link">{{ $page }}</span></li>
|
||||
@else
|
||||
@if (in_array($paginator->currentPage(), [$page - 1, $page, $page + 1]))
|
||||
<li class="page-item"><a class="page-link" href="{{ PaginateRoute::pageUrl($page) }}">{{ $page }}</a></li>
|
||||
@else
|
||||
<li class="page-item hidden-xs"><a class="page-link" href="{{ PaginateRoute::pageUrl($page) }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item next"><a href="{{ PaginateRoute::nextPageUrl($paginator) }}" class="page-link"><i class="next"></i></a></li>
|
||||
@else
|
||||
<li class="page-item disabled"><span class="page-link">›</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
|
@ -0,0 +1,8 @@
|
|||
<div class="card shadow-sm mb-2">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Recent User Updates</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
Coming soon...
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue