Big red warning box to prevent the inevitable users trying to run this as a prod build
This commit is contained in:
parent
11c17245c2
commit
a1a344bc48
|
@ -38,6 +38,14 @@
|
|||
@include('layouts.scripts')
|
||||
</head>
|
||||
<body class="{{ $css['body'] ?? 'bg-neutral-50' }}">
|
||||
@if(\Illuminate\Support\Str::contains(config('app.version'), ['-alpha', '-beta']))
|
||||
<div class="bg-red-500">
|
||||
<p class="text-center text-white text-sm p-3">
|
||||
You are running a pre-release version of Pterodactyl. Please report any issues
|
||||
<a href="https://github.com/pterodactyl/panel/issues" class="text-red-100">via GitHub</a>.
|
||||
</p>
|
||||
</div>
|
||||
@endif
|
||||
@section('content')
|
||||
@yield('above-container')
|
||||
@yield('container')
|
||||
|
|
Loading…
Reference in New Issue