@php
// Allow BlueprintExtensionLibrary to work in all admin views without
// modifying all admin page controllers. Doing this should preserve
// basic compatibility for other modifications.
use Pterodactyl\BlueprintFramework\Libraries\ExtensionLibrary\Admin\BlueprintAdminLibrary as BlueprintExtensionLibrary;
$settings = app()->make('Pterodactyl\Contracts\Repository\SettingsRepositoryInterface');
$blueprint = app()->make(BlueprintExtensionLibrary::class, ['settings' => $settings]);
@endphp
{{ config('app.name', 'Pterodactyl') }} - @yield('title')
@include('layouts.scripts')
@section('scripts')
{!! Theme::css('vendor/select2/select2.min.css?t={cache-version}') !!}
{!! Theme::css('vendor/bootstrap/bootstrap.min.css?t={cache-version}') !!}
{!! Theme::css('vendor/adminlte/admin.min.css?t={cache-version}') !!}
{!! Theme::css('vendor/adminlte/colors/skin-blue.min.css?t={cache-version}') !!}
{!! Theme::css('vendor/sweetalert/sweetalert.min.css?t={cache-version}') !!}
{!! Theme::css('vendor/animate/animate.min.css?t={cache-version}') !!}
{!! Theme::css('css/pterodactyl.css?t={cache-version}') !!}
@show
[. . ]
Outdated stylesheets detected.
@if (count($errors) > 0)
There was an error validating the data provided.
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@foreach (Alert::getMessages() as $type => $messages)
@foreach ($messages as $message)
{!! $message !!}
@endforeach
@endforeach
@yield('content')
fileRead("::f/.blueprint/extensions/blueprint/private/db/onboarding") == "true") {
$blueprint->fileWipe("::f/.blueprint/extensions/blueprint/private/db/onboarding");
}
$notification = $blueprint->dbGet("blueprint", "notification:text");
if($notification != null) {
echo "
";
$blueprint->dbSet("blueprint", "notification:text", "");
}
?>
@section('footer-scripts')
{!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/sweetalert/sweetalert.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/bootstrap/bootstrap.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/slimscroll/jquery.slimscroll.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/adminlte/app.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/bootstrap-notify/bootstrap-notify.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/select2/select2.full.min.js?t={cache-version}') !!}
{!! Theme::js('js/admin/functions.js?t={cache-version}') !!}
@if(Auth::user()->root_admin)
@endif
@show