From 95b27a8d56dbc6595a9b23a4189aaeff1f0af80d Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Wed, 16 Sep 2020 20:28:38 -0700 Subject: [PATCH] Remove unused views --- resources/views/errors/403.blade.php | 30 -- resources/views/errors/404.blade.php | 31 -- resources/views/errors/503.blade.php | 47 --- resources/views/errors/installing.blade.php | 32 -- resources/views/errors/maintenance.blade.php | 30 -- resources/views/errors/suspended.blade.php | 30 -- resources/views/layouts/admin.blade.php | 1 - resources/views/layouts/auth.blade.php | 64 ---- resources/views/layouts/error.blade.php | 69 ----- resources/views/layouts/master.blade.php | 310 ------------------- 10 files changed, 644 deletions(-) delete mode 100644 resources/views/errors/403.blade.php delete mode 100644 resources/views/errors/404.blade.php delete mode 100644 resources/views/errors/503.blade.php delete mode 100644 resources/views/errors/installing.blade.php delete mode 100644 resources/views/errors/maintenance.blade.php delete mode 100644 resources/views/errors/suspended.blade.php delete mode 100644 resources/views/layouts/auth.blade.php delete mode 100644 resources/views/layouts/error.blade.php delete mode 100644 resources/views/layouts/master.blade.php diff --git a/resources/views/errors/403.blade.php b/resources/views/errors/403.blade.php deleted file mode 100644 index f44fb6f13..000000000 --- a/resources/views/errors/403.blade.php +++ /dev/null @@ -1,30 +0,0 @@ -{{-- Pterodactyl - Panel --}} -{{-- Copyright (c) 2015 - 2017 Dane Everitt --}} - -{{-- This software is licensed under the terms of the MIT license. --}} -{{-- https://opensource.org/licenses/MIT --}} -@extends('layouts.error') - -@section('title') - @lang('base.errors.403.header') -@endsection - -@section('content-header') -@endsection - -@section('content') -
-
-
-
-

403

-

@lang('base.errors.403.desc')

-
- -
-
-
-@endsection diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php deleted file mode 100644 index b178dccd1..000000000 --- a/resources/views/errors/404.blade.php +++ /dev/null @@ -1,31 +0,0 @@ -{{-- Pterodactyl - Panel --}} -{{-- Copyright (c) 2015 - 2017 Dane Everitt --}} - -{{-- This software is licensed under the terms of the MIT license. --}} -{{-- https://opensource.org/licenses/MIT --}} -@extends('layouts.error') - -@section('title') - @lang('base.errors.404.header') -@endsection - -@section('content-header') -@endsection - -@section('content') - -
-
-
-
-

404

-

@lang('base.errors.404.desc')

-
- -
-
-
-@endsection diff --git a/resources/views/errors/503.blade.php b/resources/views/errors/503.blade.php deleted file mode 100644 index 7d55e46ad..000000000 --- a/resources/views/errors/503.blade.php +++ /dev/null @@ -1,47 +0,0 @@ - - - - Be right back. - - - - - - -
-
-
Be right back!
-
-
- - diff --git a/resources/views/errors/installing.blade.php b/resources/views/errors/installing.blade.php deleted file mode 100644 index c9f43e657..000000000 --- a/resources/views/errors/installing.blade.php +++ /dev/null @@ -1,32 +0,0 @@ -{{-- Pterodactyl - Panel --}} -{{-- Copyright (c) 2015 - 2017 Dane Everitt --}} - -{{-- This software is licensed under the terms of the MIT license. --}} -{{-- https://opensource.org/licenses/MIT --}} -@extends('layouts.error') - -@section('title') - @lang('base.errors.installing.header') -@endsection - -@section('content-header') -@endsection - -@section('content') -
-
-
-
-
-
-
-

@lang('base.errors.installing.desc')

-
- -
-
-
-@endsection diff --git a/resources/views/errors/maintenance.blade.php b/resources/views/errors/maintenance.blade.php deleted file mode 100644 index 8cc8eea27..000000000 --- a/resources/views/errors/maintenance.blade.php +++ /dev/null @@ -1,30 +0,0 @@ -{{-- Pterodactyl - Panel --}} -{{-- Copyright (c) 2015 - 2017 Dane Everitt --}} - -{{-- This software is licensed under the terms of the MIT license. --}} -{{-- https://opensource.org/licenses/MIT --}} -@extends('layouts.error') - -@section('title') - @lang('base.errors.maintenance.header') -@endsection - -@section('content-header') -@endsection - -@section('content') -
-
-
-
-

@lang('base.errors.maintenance.title')

-

@lang('base.errors.maintenance.desc')

-
- -
-
-
-@endsection diff --git a/resources/views/errors/suspended.blade.php b/resources/views/errors/suspended.blade.php deleted file mode 100644 index 86e804f69..000000000 --- a/resources/views/errors/suspended.blade.php +++ /dev/null @@ -1,30 +0,0 @@ -{{-- Pterodactyl - Panel --}} -{{-- Copyright (c) 2015 - 2017 Dane Everitt --}} - -{{-- This software is licensed under the terms of the MIT license. --}} -{{-- https://opensource.org/licenses/MIT --}} -@extends('layouts.error') - -@section('title') - @lang('base.errors.suspended.header') -@endsection - -@section('content-header') -@endsection - -@section('content') -
-
-
-
-

403

-

@lang('base.errors.suspended.desc')

-
- -
-
-
-@endsection diff --git a/resources/views/layouts/admin.blade.php b/resources/views/layouts/admin.blade.php index 0680b8d58..e885183e8 100644 --- a/resources/views/layouts/admin.blade.php +++ b/resources/views/layouts/admin.blade.php @@ -176,7 +176,6 @@ {!! Theme::js('vendor/bootstrap/bootstrap.min.js?t={cache-version}') !!} {!! Theme::js('vendor/slimscroll/jquery.slimscroll.min.js?t={cache-version}') !!} {!! Theme::js('vendor/adminlte/app.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/socketio/socket.io.v203.min.js?t={cache-version}') !!} {!! Theme::js('vendor/bootstrap-notify/bootstrap-notify.min.js?t={cache-version}') !!} {!! Theme::js('vendor/select2/select2.full.min.js?t={cache-version}') !!} {!! Theme::js('js/admin/functions.js?t={cache-version}') !!} diff --git a/resources/views/layouts/auth.blade.php b/resources/views/layouts/auth.blade.php deleted file mode 100644 index 9d6655de2..000000000 --- a/resources/views/layouts/auth.blade.php +++ /dev/null @@ -1,64 +0,0 @@ -{{-- Pterodactyl - Panel --}} -{{-- Copyright (c) 2015 - 2017 Dane Everitt --}} - -{{-- This software is licensed under the terms of the MIT license. --}} -{{-- https://opensource.org/licenses/MIT --}} - - - - - - {{ config('app.name', 'Pterodactyl') }} - @yield('title') - - - - - - - - - - - - @section('scripts') - {!! Theme::css('vendor/bootstrap/bootstrap.min.css?t={cache-version}') !!} - {!! Theme::css('vendor/adminlte/admin.min.css?t={cache-version}') !!} - {!! Theme::css('css/pterodactyl.css?t={cache-version}') !!} - - - - - @show - - -
-
- - @yield('content') - -
-
- - - {!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/bootstrap/bootstrap.min.js?t={cache-version}') !!} - - {!! Theme::js('vendor/particlesjs/particles.min.js?t={cache-version}') !!} - - - diff --git a/resources/views/layouts/error.blade.php b/resources/views/layouts/error.blade.php deleted file mode 100644 index 89b85fd2d..000000000 --- a/resources/views/layouts/error.blade.php +++ /dev/null @@ -1,69 +0,0 @@ -{{-- Pterodactyl - Panel --}} -{{-- Copyright (c) 2015 - 2017 Dane Everitt --}} - -{{-- This software is licensed under the terms of the MIT license. --}} -{{-- https://opensource.org/licenses/MIT --}} - - - - - - {{ config('app.name', 'Pterodactyl') }} - @yield('title') - - - - - - - - - - - - - @section('scripts') - {!! Theme::css('vendor/bootstrap/bootstrap.min.css?t={cache-version}') !!} - {!! Theme::css('vendor/adminlte/admin.min.css?t={cache-version}') !!} - {!! Theme::css('vendor/adminlte/colors/skin-blue.min.css?t={cache-version}') !!} - {!! Theme::css('vendor/sweetalert/sweetalert.min.css?t={cache-version}') !!} - {!! Theme::css('css/pterodactyl.css?t={cache-version}') !!} - - - - - @show - - -
-
- - -
-
-
- @yield('content-header') -
-
- @yield('content') -
-
- -
- @section('footer-scripts') - {!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/bootstrap/bootstrap.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/slimscroll/jquery.slimscroll.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/adminlte/app.min.js?t={cache-version}') !!} - @show - - diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php deleted file mode 100644 index b81906271..000000000 --- a/resources/views/layouts/master.blade.php +++ /dev/null @@ -1,310 +0,0 @@ -{{-- Pterodactyl - Panel --}} -{{-- Copyright (c) 2015 - 2017 Dane Everitt --}} - -{{-- This software is licensed under the terms of the MIT license. --}} -{{-- https://opensource.org/licenses/MIT --}} - - - - - - {{ config('app.name', 'Pterodactyl') }} - @yield('title') - - - - - - - - - - - - - @include('layouts.scripts') - - @section('scripts') - {!! Theme::css('vendor/bootstrap/bootstrap.min.css?t={cache-version}') !!} - {!! Theme::css('vendor/adminlte/admin.min.css?t={cache-version}') !!} - {!! Theme::css('vendor/adminlte/colors/skin-blue.min.css?t={cache-version}') !!} - {!! Theme::css('vendor/sweetalert/sweetalert.min.css?t={cache-version}') !!} - {!! Theme::css('vendor/animate/animate.min.css?t={cache-version}') !!} - {!! Theme::css('css/pterodactyl.css?t={cache-version}') !!} - - - - - @show - - -
-
- - -
- -
-
- @yield('content-header') -
-
-
-
- @if (count($errors) > 0) -
- There was an error validating the data provided.

-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
- @endif - @foreach (Alert::getMessages() as $type => $messages) - @foreach ($messages as $message) - - @endforeach - @endforeach -
-
- @yield('content') -
-
-
-
- {{ $appVersion }}
- {{ round(microtime(true) - LARAVEL_START, 3) }}s -
- Copyright © 2015 - {{ date('Y') }} Pterodactyl Software. -
- @if(isset($sidebarServerList)) - - @endif -
-
- @section('footer-scripts') - - - - {!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/sweetalert/sweetalert.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/bootstrap/bootstrap.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/slimscroll/jquery.slimscroll.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/adminlte/app.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/socketio/socket.io.v203.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/bootstrap-notify/bootstrap-notify.min.js?t={cache-version}') !!} - - - @if(Auth::user()->root_admin) - - @endif - @show - -