2017-09-26 02:43:01 +00:00
|
|
|
{{-- Pterodactyl - Panel --}}
|
2017-03-03 22:30:39 +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-03-03 22:30:39 +00:00
|
|
|
@extends('layouts.admin')
|
|
|
|
|
|
|
|
@section('title')
|
|
|
|
{{ $node->name }}: Servers
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content-header')
|
|
|
|
<h1>{{ $node->name }}<small>All servers currently assigned to this node.</small></h1>
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
|
|
|
<li><a href="{{ route('admin.nodes') }}">Nodes</a></li>
|
|
|
|
<li><a href="{{ route('admin.nodes.view', $node->id) }}">{{ $node->name }}</a></li>
|
|
|
|
<li class="active">Servers</li>
|
|
|
|
</ol>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<div class="nav-tabs-custom nav-tabs-floating">
|
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
<li><a href="{{ route('admin.nodes.view', $node->id) }}">About</a></li>
|
|
|
|
<li><a href="{{ route('admin.nodes.view.settings', $node->id) }}">Settings</a></li>
|
|
|
|
<li><a href="{{ route('admin.nodes.view.configuration', $node->id) }}">Configuration</a></li>
|
|
|
|
<li><a href="{{ route('admin.nodes.view.allocation', $node->id) }}">Allocation</a></li>
|
|
|
|
<li class="active"><a href="{{ route('admin.nodes.view.servers', $node->id) }}">Servers</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<div class="box box-primary">
|
|
|
|
<div class="box-header with-border">
|
|
|
|
<h3 class="box-title">Process Manager</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body table-responsive no-padding">
|
|
|
|
<table class="table table-hover">
|
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Server Name</th>
|
|
|
|
<th>Owner</th>
|
|
|
|
<th>Service</th>
|
|
|
|
<th class="text-center">Memory</th>
|
|
|
|
<th class="text-center">Disk</th>
|
|
|
|
<th class="text-center">CPU</th>
|
|
|
|
<th class="text-center">Status</th>
|
|
|
|
</tr>
|
2019-03-02 23:58:56 +00:00
|
|
|
@foreach($servers as $server)
|
2017-03-03 22:30:39 +00:00
|
|
|
<tr data-server="{{ $server->uuid }}">
|
|
|
|
<td><code>{{ $server->uuidShort }}</code></td>
|
|
|
|
<td><a href="{{ route('admin.servers.view', $server->id) }}">{{ $server->name }}</a></td>
|
2017-03-03 22:53:35 +00:00
|
|
|
<td><a href="{{ route('admin.users.view', $server->owner_id) }}">{{ $server->user->username }}</a></td>
|
2017-10-07 23:08:19 +00:00
|
|
|
<td>{{ $server->nest->name }} ({{ $server->egg->name }})</td>
|
2019-07-26 15:14:27 +00:00
|
|
|
<td class="text-center"><span data-action="memory">--</span> / {{ $server->memory === 0 ? '∞' : $server->memory }} MB</td>
|
|
|
|
<td class="text-center"><span data-action="disk">--</span> / {{ $server->disk === 0 ? '∞' : $server->disk }} MB </td>
|
|
|
|
<td class="text-center"><span data-action="cpu" data-cpumax="{{ $server->cpu }}">--</span> %</td>
|
|
|
|
<td class="text-center" data-action="status">--</td>
|
2017-03-03 22:30:39 +00:00
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</table>
|
2019-03-02 23:58:56 +00:00
|
|
|
@if($servers->hasPages())
|
|
|
|
<div class="box-footer with-border">
|
|
|
|
<div class="col-md-12 text-center">{!! $servers->render() !!}</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
2017-03-03 22:30:39 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('footer-scripts')
|
|
|
|
@parent
|
|
|
|
{!! Theme::js('js/admin/node/view-servers.js') !!}
|
2019-07-26 15:14:27 +00:00
|
|
|
@endsection
|