1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-23 01:22:30 +01:00
This commit is contained in:
Dane Everitt 2018-01-06 13:19:17 -06:00
parent 4b5ee920bd
commit a3bad520cd
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 16 additions and 1 deletions

View File

@ -45,6 +45,7 @@
<th>Node</th>
<th>Connection</th>
<th></th>
<th></th>
</tr>
@foreach ($servers as $server)
<tr data-server="{{ $server->uuidShort }}">
@ -64,6 +65,10 @@
<span class="label label-success">Active</span>
@endif
</td>
<td class="text-center">
<a class="btn btn-xs btn-default" href="{{ route('server.index', $server->uuidShort) }}"><i class="fa fa-wrench"></i></a>
<a class="btn btn-xs btn-default console-popout" href="{{ route('server.console', $server->uuidShort) }}"><i class="fa fa-terminal"></i></a>
</td>
</tr>
@endforeach
</tbody>
@ -78,3 +83,13 @@
</div>
</div>
@endsection
@section('footer-scripts')
@parent
<script>
$('.console-popout').on('click', function (event) {
event.preventDefault();
window.open($(this).attr('href'), 'Pterodactyl Console', 'width=800,height=400');
});
</script>
@endsection

View File

@ -10,7 +10,7 @@
@endsection
@section('content-header')
<h1>{{ $server->name }}<small>{{ $server->uuid }}</small></h1>
<h1>{{ $server->name }}<small>{{ str_limit($server->description) }}</small></h1>
<ol class="breadcrumb">
<li><a href="{{ route('admin.index') }}">Admin</a></li>
<li><a href="{{ route('admin.servers') }}">Servers</a></li>