From 0b08c016680238864c5c43ba3705a31b9bb738c3 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 3 Nov 2017 20:40:51 -0500 Subject: [PATCH] Add beta warnings --- resources/themes/pterodactyl/base/api/index.blade.php | 5 +++++ resources/themes/pterodactyl/layouts/master.blade.php | 3 +++ .../themes/pterodactyl/partials/_internal/beta.blade.php | 9 +++++++++ 3 files changed, 17 insertions(+) create mode 100644 resources/themes/pterodactyl/partials/_internal/beta.blade.php diff --git a/resources/themes/pterodactyl/base/api/index.blade.php b/resources/themes/pterodactyl/base/api/index.blade.php index d06b590b..a07657c9 100644 --- a/resources/themes/pterodactyl/base/api/index.blade.php +++ b/resources/themes/pterodactyl/base/api/index.blade.php @@ -20,7 +20,12 @@ @section('content')
+
+ API functionality is disabled in this beta release. +
+
+

@lang('base.api.index.list')

diff --git a/resources/themes/pterodactyl/layouts/master.blade.php b/resources/themes/pterodactyl/layouts/master.blade.php index 62bb8c90..ae1b1dc5 100644 --- a/resources/themes/pterodactyl/layouts/master.blade.php +++ b/resources/themes/pterodactyl/layouts/master.blade.php @@ -205,6 +205,9 @@
+
+ @include('partials/_internal/beta') +
@yield('content-header')
diff --git a/resources/themes/pterodactyl/partials/_internal/beta.blade.php b/resources/themes/pterodactyl/partials/_internal/beta.blade.php new file mode 100644 index 00000000..d3ef3c46 --- /dev/null +++ b/resources/themes/pterodactyl/partials/_internal/beta.blade.php @@ -0,0 +1,9 @@ +@section('beta-notice') +
+
+
+ You are running a beta version of Pterodactyl Panel. Not all features are complete and bugs should be expected. Please report any bugs on Discord or via our Github issue tracker. +
+
+
+@show