Skip to content

Commit 0b08c01

Browse files
committed
Add beta warnings
1 parent 3daade7 commit 0b08c01

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

resources/themes/pterodactyl/base/api/index.blade.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020
@section('content')
2121
<div class="row">
2222
<div class="col-xs-12">
23+
<div class="alert alert-danger">
24+
API functionality is disabled in this beta release.
25+
</div>
26+
2327
<div class="box">
28+
<div class="overlay"></div>
2429
<div class="box-header">
2530
<h3 class="box-title">@lang('base.api.index.list')</h3>
2631
<div class="box-tools">

resources/themes/pterodactyl/layouts/master.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ class="active"
205205
</section>
206206
</aside>
207207
<div class="content-wrapper">
208+
<section class="content-header">
209+
@include('partials/_internal/beta')
210+
</section>
208211
<section class="content-header">
209212
@yield('content-header')
210213
</section>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@section('beta-notice')
2+
<div class="row">
3+
<div class="col-xs-12">
4+
<div class="alert alert-warning no-margin-bottom">
5+
<i class="fa fa-warning"></i> 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.
6+
</div>
7+
</div>
8+
</div>
9+
@show

0 commit comments

Comments
 (0)