2017-09-26 02:43:01 +00:00
|
|
|
{{-- Pterodactyl - Panel --}}
|
2017-02-19 00:31:44 +00:00
|
|
|
{{-- Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com> --}}
|
|
|
|
|
2017-09-26 02:43:01 +00:00
|
|
|
{{-- This software is licensed under the terms of the MIT license. --}}
|
|
|
|
{{-- https://opensource.org/licenses/MIT --}}
|
2017-02-19 00:31:44 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2017-12-15 03:05:26 +00:00
|
|
|
<title>{{ config('app.name', 'Pterodactyl') }} - @yield('title')</title>
|
2017-02-19 00:31:44 +00:00
|
|
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
|
|
|
<meta name="_token" content="{{ csrf_token() }}">
|
2017-03-18 20:57:12 +00:00
|
|
|
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png">
|
|
|
|
<link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
|
|
|
|
<link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
|
|
|
|
<link rel="manifest" href="/favicons/manifest.json">
|
|
|
|
<link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#bc6e3c">
|
|
|
|
<link rel="shortcut icon" href="/favicons/favicon.ico">
|
|
|
|
<meta name="msapplication-config" content="/favicons/browserconfig.xml">
|
2018-03-07 05:11:24 +00:00
|
|
|
<meta name="theme-color" content="#0e4688">
|
2017-03-18 20:57:12 +00:00
|
|
|
|
2017-03-30 20:23:25 +00:00
|
|
|
@include('layouts.scripts')
|
|
|
|
|
2017-02-19 00:31:44 +00:00
|
|
|
@section('scripts')
|
2018-02-18 21:15:53 +00:00
|
|
|
{!! Theme::css('vendor/select2/select2.min.css?t={cache-version}') !!}
|
|
|
|
{!! 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}') !!}
|
2017-02-19 00:31:44 +00:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
|
|
|
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
|
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
@show
|
|
|
|
</head>
|
|
|
|
<body class="hold-transition skin-blue fixed sidebar-mini">
|
|
|
|
<div class="wrapper">
|
|
|
|
<header class="main-header">
|
|
|
|
<a href="{{ route('index') }}" class="logo">
|
2017-12-15 03:05:26 +00:00
|
|
|
<span>{{ config('app.name', 'Pterodactyl') }}</span>
|
2017-02-19 00:31:44 +00:00
|
|
|
</a>
|
|
|
|
<nav class="navbar navbar-static-top">
|
2017-09-04 23:46:55 +00:00
|
|
|
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
2017-02-19 00:31:44 +00:00
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</a>
|
|
|
|
<div class="navbar-custom-menu">
|
|
|
|
<ul class="nav navbar-nav">
|
2018-01-08 03:22:55 +00:00
|
|
|
<li class="user-menu">
|
|
|
|
<a href="{{ route('account') }}">
|
2017-02-19 00:31:44 +00:00
|
|
|
<img src="https://www.gravatar.com/avatar/{{ md5(strtolower(Auth::user()->email)) }}?s=160" class="user-image" alt="User Image">
|
|
|
|
<span class="hidden-xs">{{ Auth::user()->name_first }} {{ Auth::user()->name_last }}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2017-03-30 20:23:25 +00:00
|
|
|
<li><a href="{{ route('index') }}" data-toggle="tooltip" data-placement="bottom" title="Exit Admin Control"><i class="fa fa-server"></i></a></li>
|
2017-02-19 00:31:44 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-09-21 05:17:45 +00:00
|
|
|
<li><a href="{{ route('auth.logout') }}" id="logoutButton" data-toggle="tooltip" data-placement="bottom" title="Logout"><i class="fa fa-sign-out"></i></a></li>
|
2017-02-19 00:31:44 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<aside class="main-sidebar">
|
|
|
|
<section class="sidebar">
|
|
|
|
<ul class="sidebar-menu">
|
|
|
|
<li class="header">BASIC ADMINISTRATION</li>
|
|
|
|
<li class="{{ Route::currentRouteName() !== 'admin.index' ?: 'active' }}">
|
|
|
|
<a href="{{ route('admin.index') }}">
|
|
|
|
<i class="fa fa-home"></i> <span>Overview</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2017-03-04 04:37:41 +00:00
|
|
|
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.settings') ?: 'active' }}">
|
2017-02-19 00:31:44 +00:00
|
|
|
<a href="{{ route('admin.settings')}}">
|
|
|
|
<i class="fa fa-wrench"></i> <span>Settings</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2018-01-19 03:36:15 +00:00
|
|
|
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.api') ?: 'active' }}">
|
|
|
|
<a href="{{ route('admin.api.index')}}">
|
|
|
|
<i class="fa fa-gamepad"></i> <span>Application API</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2017-03-03 22:30:39 +00:00
|
|
|
<li class="header">MANAGEMENT</li>
|
2017-03-16 22:09:02 +00:00
|
|
|
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.databases') ?: 'active' }}">
|
2017-03-16 23:35:29 +00:00
|
|
|
<a href="{{ route('admin.databases') }}">
|
2017-03-16 22:09:02 +00:00
|
|
|
<i class="fa fa-database"></i> <span>Databases</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.locations') ?: 'active' }}">
|
|
|
|
<a href="{{ route('admin.locations') }}">
|
|
|
|
<i class="fa fa-globe"></i> <span>Locations</span>
|
2017-02-19 00:31:44 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
2017-03-04 04:37:41 +00:00
|
|
|
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.nodes') ?: 'active' }}">
|
2017-03-03 22:30:39 +00:00
|
|
|
<a href="{{ route('admin.nodes') }}">
|
2017-03-03 23:20:17 +00:00
|
|
|
<i class="fa fa-sitemap"></i> <span>Nodes</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2017-03-16 22:09:02 +00:00
|
|
|
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.servers') ?: 'active' }}">
|
|
|
|
<a href="{{ route('admin.servers') }}">
|
|
|
|
<i class="fa fa-server"></i> <span>Servers</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2017-03-04 04:37:41 +00:00
|
|
|
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.users') ?: 'active' }}">
|
2017-03-03 23:20:17 +00:00
|
|
|
<a href="{{ route('admin.users') }}">
|
|
|
|
<i class="fa fa-users"></i> <span>Users</span>
|
2017-02-19 00:31:44 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
2017-03-10 23:25:12 +00:00
|
|
|
<li class="header">SERVICE MANAGEMENT</li>
|
2017-10-07 04:57:53 +00:00
|
|
|
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.nests') ?: 'active' }}">
|
|
|
|
<a href="{{ route('admin.nests') }}">
|
|
|
|
<i class="fa fa-th-large"></i> <span>Nests</span>
|
2017-03-10 23:25:12 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.packs') ?: 'active' }}">
|
|
|
|
<a href="{{ route('admin.packs') }}">
|
|
|
|
<i class="fa fa-archive"></i> <span>Packs</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2017-02-19 00:31:44 +00:00
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</aside>
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<section class="content-header">
|
|
|
|
@yield('content-header')
|
|
|
|
</section>
|
|
|
|
<section class="content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
@if (count($errors) > 0)
|
2017-11-25 19:17:31 +00:00
|
|
|
<div class="alert alert-danger">
|
2017-02-19 00:31:44 +00:00
|
|
|
@lang('base.validation_error')<br><br>
|
|
|
|
<ul>
|
|
|
|
@foreach ($errors->all() as $error)
|
|
|
|
<li>{{ $error }}</li>
|
|
|
|
@endforeach
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
@foreach (Alert::getMessages() as $type => $messages)
|
|
|
|
@foreach ($messages as $message)
|
2017-11-25 19:17:31 +00:00
|
|
|
<div class="alert alert-{{ $type }} alert-dismissable" role="alert">
|
2017-02-19 00:31:44 +00:00
|
|
|
{!! $message !!}
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@yield('content')
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<footer class="main-footer">
|
2017-04-14 05:44:06 +00:00
|
|
|
<div class="pull-right small text-gray" style="margin-right:10px;margin-top:-7px;">
|
2017-04-28 02:28:01 +00:00
|
|
|
<strong><i class="fa fa-fw {{ $appIsGit ? 'fa-git-square' : 'fa-code-fork' }}"></i></strong> {{ $appVersion }}<br />
|
|
|
|
<strong><i class="fa fa-fw fa-clock-o"></i></strong> {{ round(microtime(true) - LARAVEL_START, 3) }}s
|
2017-02-19 00:31:44 +00:00
|
|
|
</div>
|
|
|
|
Copyright © 2015 - {{ date('Y') }} <a href="https://pterodactyl.io/">Pterodactyl Software</a>.
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
@section('footer-scripts')
|
2020-04-11 20:49:40 +00:00
|
|
|
<script src="/js/keyboard.polyfill.js" type="application/javascript"></script>
|
|
|
|
<script>keyboardeventKeyPolyfill.polyfill();</script>
|
2017-04-14 05:21:38 +00:00
|
|
|
|
2018-02-18 21:15:53 +00:00
|
|
|
{!! 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}') !!}
|
|
|
|
{!! Theme::js('vendor/select2/select2.full.min.js?t={cache-version}') !!}
|
|
|
|
{!! Theme::js('js/admin/functions.js?t={cache-version}') !!}
|
2020-04-11 20:49:40 +00:00
|
|
|
<script src="/js/autocomplete.js" type="application/javascript"></script>
|
2017-06-19 01:47:34 +00:00
|
|
|
|
2017-09-25 02:12:30 +00:00
|
|
|
@if(Auth::user()->root_admin)
|
2017-06-19 01:47:34 +00:00
|
|
|
<script>
|
|
|
|
$('#logoutButton').on('click', function (event) {
|
|
|
|
event.preventDefault();
|
2017-09-21 05:16:52 +00:00
|
|
|
|
|
|
|
var that = this;
|
|
|
|
swal({
|
|
|
|
title: 'Do you want to log out?',
|
|
|
|
type: 'warning',
|
|
|
|
showCancelButton: true,
|
|
|
|
confirmButtonColor: '#d9534f',
|
|
|
|
cancelButtonColor: '#d33',
|
|
|
|
confirmButtonText: 'Log out'
|
|
|
|
}, function () {
|
|
|
|
window.location = $(that).attr('href');
|
|
|
|
});
|
2017-06-19 01:47:34 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
@endif
|
2017-10-03 03:51:13 +00:00
|
|
|
|
|
|
|
<script>
|
|
|
|
$(function () {
|
2017-10-06 01:13:01 +00:00
|
|
|
$('[data-toggle="tooltip"]').tooltip();
|
2017-10-03 03:51:13 +00:00
|
|
|
})
|
|
|
|
</script>
|
2017-02-19 00:31:44 +00:00
|
|
|
@show
|
|
|
|
</body>
|
|
|
|
</html>
|