From f6ceb10055a7589e19f29bd5951d96227bd21c9f Mon Sep 17 00:00:00 2001 From: purple Date: Wed, 12 Jul 2023 22:15:21 +0200 Subject: [PATCH] First steps at making client-side extension support. --- resources/views/templates/wrapper.blade.php | 57 +++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 resources/views/templates/wrapper.blade.php diff --git a/resources/views/templates/wrapper.blade.php b/resources/views/templates/wrapper.blade.php new file mode 100644 index 0000000..148bfb4 --- /dev/null +++ b/resources/views/templates/wrapper.blade.php @@ -0,0 +1,57 @@ + + + + + {{ config('app.name', 'Pterodactyl') }} + + @section('meta') + + + + + + + + + + + + + + @show + + @section('user-data') + @if(!is_null(Auth::user())) + + @endif + @if(!empty($siteConfiguration)) + + @endif + @show + + + @yield('assets') + + @include('layouts.scripts') + + + + + @section('content') + @yield('above-container') + @yield('container') + @yield('below-container') + @show + @section('scripts') + {!! $asset->js('main.js') !!} + @show + + + \ No newline at end of file