forked from Alex/Pterodactyl-Panel
closes #807
This commit is contained in:
parent
4b5ee920bd
commit
a3bad520cd
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user