Skip to content

Commit 955d89c

Browse files
committed
Move everything over to pterodactyl theme
1 parent 198a021 commit 955d89c

File tree

15 files changed

+45
-808
lines changed

15 files changed

+45
-808
lines changed

resources/lang/en/base.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
'header' => 'File Not Found',
1414
'desc' => 'We were unable to locate the requested resource on the server.',
1515
],
16+
'installing' => [
17+
'header' => 'Server Installing',
18+
'desc' => 'The requested server is still completing the install process. Please check back in a few minutes, you should recieve an email as soon as this process is completed.',
19+
],
20+
'suspended' => [
21+
'header' => 'Server Suspended',
22+
'desc' => 'This server has been suspended and cannot be accessed.',
23+
],
1624
],
1725
'index' => [
1826
'header' => 'Your Servers',

resources/themes/pterodactyl/errors/403.blade.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
@endsection
2828

2929
@section('content')
30-
<!-- This is why we don't let Pterodactyl's make links... fat fingered dinosaurs... -->
3130
<div class="row">
3231
<div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 col-xs-12">
3332
<div class="box box-danger">

resources/views/errors/503.blade.php renamed to resources/themes/pterodactyl/errors/503.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<body>
4141
<div class="container">
4242
<div class="content">
43-
<div class="title">Be right back.</div>
43+
<div class="title">Be right back!</div>
4444
</div>
4545
</div>
4646
</body>

resources/views/errors/installing.blade.php renamed to resources/themes/pterodactyl/errors/installing.blade.php

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,30 @@
1717
{{-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, --}}
1818
{{-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE --}}
1919
{{-- SOFTWARE. --}}
20-
@extends('layouts.master')
20+
@extends('layouts.error')
2121

22-
@section('title', '503: Server Temporarily Unavaliable')
22+
@section('title')
23+
@lang('base.errors.installing.header')
24+
@endsection
25+
26+
@section('content-header')
27+
@endsection
2328

2429
@section('content')
25-
<div class="col-md-12">
26-
<div class="panel panel-danger">
27-
<div class="panel-heading">
28-
<h3 class="panel-title">HTTP 503: Temporarily Unavaliable</h3>
29-
</div>
30-
<div class="panel-body">
31-
<p style="margin-bottom:0;">The requested server is still completing the install process. Please check back in a few minutes, you should recieve an email as soon as this process is completed.</p>
32-
<br /><br />
30+
<div class="row">
31+
<div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 col-xs-12">
32+
<div class="box box-info">
3333
<div class="progress progress-striped active">
34-
<div class="progress-bar progress-bar-danger" style="width: 75%"></div>
34+
<div class="progress-bar progress-bar-info" style="width: 75%"></div>
35+
</div>
36+
<div class="box-body text-center">
37+
<p class="text-muted">@lang('base.errors.installing.desc')</p>
38+
</div>
39+
<div class="box-footer with-border">
40+
<a href="{{ URL::previous() }}"><button class="btn btn-info">&larr; @lang('base.errors.return')</button></a>
41+
<a href="/"><button class="btn btn-default">@lang('base.errors.home')</button></a>
3542
</div>
3643
</div>
3744
</div>
38-
<p style="text-align:center;"><a href="{{ URL::previous() }}">Take me back</a> or <a href="/">go home</a>.</p>
3945
</div>
4046
@endsection

resources/views/errors/suspended.blade.php renamed to resources/themes/pterodactyl/errors/suspended.blade.php

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,28 @@
1717
{{-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, --}}
1818
{{-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE --}}
1919
{{-- SOFTWARE. --}}
20-
@extends('layouts.master')
20+
@extends('layouts.error')
2121

22-
@section('title', '503: Server Temporarily Unavaliable')
22+
@section('title')
23+
@lang('base.errors.suspended.header')
24+
@endsection
25+
26+
@section('content-header')
27+
@endsection
2328

2429
@section('content')
25-
<div class="col-md-12">
26-
<div class="panel panel-danger">
27-
<div class="panel-heading">
28-
<h3 class="panel-title">HTTP 403: Access Denied</h3>
29-
</div>
30-
<div class="panel-body">
31-
<p style="margin-bottom:0;">This server has been suspended and cannot be accessed.</p>
30+
<div class="row">
31+
<div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 col-xs-12">
32+
<div class="box box-danger">
33+
<div class="box-body text-center">
34+
<h1 class="text-red" style="font-size: 160px !important;font-weight: 100 !important;">401</h1>
35+
<p class="text-muted">@lang('base.errors.suspended.desc')</p>
36+
</div>
37+
<div class="box-footer with-border">
38+
<a href="{{ URL::previous() }}"><button class="btn btn-danger">&larr; @lang('base.errors.return')</button></a>
39+
<a href="/"><button class="btn btn-default">@lang('base.errors.home')</button></a>
40+
</div>
3241
</div>
3342
</div>
34-
<p style="text-align:center;"><a href="{{ URL::previous() }}">Take me back</a> or <a href="/">go home</a>.</p>
3543
</div>
3644
@endsection

resources/views/admin/databases/index.blade.php

Lines changed: 0 additions & 150 deletions
This file was deleted.

resources/views/admin/databases/new.blade.php

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)