2017-09-26 02:43:01 +00:00
|
|
|
{{-- Pterodactyl - Panel --}}
|
2017-01-24 22:57:08 +00:00
|
|
|
{{-- Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com> --}}
|
2017-01-15 23:52:22 +00:00
|
|
|
|
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-01-15 23:52:22 +00:00
|
|
|
@extends('layouts.master')
|
|
|
|
|
|
|
|
@section('title')
|
|
|
|
{{ trans('server.index.title', [ 'name' => $server->name]) }}
|
|
|
|
@endsection
|
|
|
|
|
2017-06-29 02:39:30 +00:00
|
|
|
@section('scripts')
|
|
|
|
@parent
|
|
|
|
{!! Theme::css('css/terminal.css') !!}
|
|
|
|
@endsection
|
|
|
|
|
2017-01-15 23:52:22 +00:00
|
|
|
@section('content-header')
|
2017-01-18 01:01:26 +00:00
|
|
|
<h1>@lang('server.index.header')<small>@lang('server.index.header_sub')</small></h1>
|
2017-01-15 23:52:22 +00:00
|
|
|
<ol class="breadcrumb">
|
2017-01-18 01:01:26 +00:00
|
|
|
<li><a href="{{ route('index') }}">@lang('strings.servers')</a></li>
|
2017-01-15 23:52:22 +00:00
|
|
|
<li class="active">{{ $server->name }}</li>
|
|
|
|
</ol>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<div class="box">
|
2017-01-26 21:57:33 +00:00
|
|
|
<div class="box-body position-relative">
|
2017-01-15 23:52:22 +00:00
|
|
|
<div id="terminal" style="width:100%;"></div>
|
2017-07-01 01:41:16 +00:00
|
|
|
<div id="terminal_input" class="form-group no-margin">
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-addon terminal_input--prompt">{{ $server->username }}:~$</div>
|
|
|
|
<input type="text" class="form-control terminal_input--input">
|
|
|
|
</div>
|
2017-06-27 03:36:09 +00:00
|
|
|
</div>
|
2017-01-26 21:57:33 +00:00
|
|
|
<div id="terminalNotify" class="terminal-notify hidden">
|
|
|
|
<i class="fa fa-bell"></i>
|
|
|
|
</div>
|
2017-01-15 23:52:22 +00:00
|
|
|
</div>
|
|
|
|
<div class="box-footer text-center">
|
2017-01-19 02:12:58 +00:00
|
|
|
@can('power-start', $server)<button class="btn btn-success disabled" data-attr="power" data-action="start">Start</button>@endcan
|
2017-02-18 00:37:35 +00:00
|
|
|
@can('power-restart', $server)<button class="btn btn-primary disabled" data-attr="power" data-action="restart">Restart</button>@endcan
|
|
|
|
@can('power-stop', $server)<button class="btn btn-danger disabled" data-attr="power" data-action="stop">Stop</button>@endcan
|
2017-01-19 02:12:58 +00:00
|
|
|
@can('power-kill', $server)<button class="btn btn-danger disabled" data-attr="power" data-action="kill">Kill</button>@endcan
|
2017-01-15 23:52:22 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<div class="box box-primary">
|
|
|
|
<div class="box-header with-border">
|
|
|
|
<h3 class="box-title">Memory Usage</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
|
|
|
<canvas id="chart_memory" style="max-height:300px;"></canvas>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<div class="box box-primary">
|
|
|
|
<div class="box-header with-border">
|
|
|
|
<h3 class="box-title">CPU Usage</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
|
|
|
<canvas id="chart_cpu" style="max-height:300px;"></canvas>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('footer-scripts')
|
|
|
|
@parent
|
2017-06-27 03:36:09 +00:00
|
|
|
{!! Theme::js('vendor/ansi/ansi_up.js') !!}
|
2017-01-15 23:52:22 +00:00
|
|
|
{!! Theme::js('js/frontend/server.socket.js') !!}
|
2017-03-18 23:03:25 +00:00
|
|
|
{!! Theme::js('vendor/mousewheel/jquery.mousewheel-min.js') !!}
|
2017-01-15 23:52:22 +00:00
|
|
|
{!! Theme::js('js/frontend/console.js') !!}
|
2017-03-18 23:03:25 +00:00
|
|
|
{!! Theme::js('vendor/chartjs/chart.min.js') !!}
|
|
|
|
{!! Theme::js('vendor/jquery/date-format.min.js') !!}
|
2017-10-07 23:08:19 +00:00
|
|
|
@if($server->nest->name === 'Minecraft' && $server->nest->author === 'support@pterodactyl.io')
|
2017-01-15 23:52:22 +00:00
|
|
|
{!! Theme::js('js/plugins/minecraft/eula.js') !!}
|
|
|
|
@endif
|
|
|
|
@endsection
|