closes #807
This commit is contained in:
parent
4b5ee920bd
commit
a3bad520cd
|
@ -45,6 +45,7 @@
|
||||||
<th>Node</th>
|
<th>Node</th>
|
||||||
<th>Connection</th>
|
<th>Connection</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
@foreach ($servers as $server)
|
@foreach ($servers as $server)
|
||||||
<tr data-server="{{ $server->uuidShort }}">
|
<tr data-server="{{ $server->uuidShort }}">
|
||||||
|
@ -64,6 +65,10 @@
|
||||||
<span class="label label-success">Active</span>
|
<span class="label label-success">Active</span>
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</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>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -78,3 +83,13 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@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
|
@endsection
|
||||||
|
|
||||||
@section('content-header')
|
@section('content-header')
|
||||||
<h1>{{ $server->name }}<small>{{ $server->uuid }}</small></h1>
|
<h1>{{ $server->name }}<small>{{ str_limit($server->description) }}</small></h1>
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
||||||
<li><a href="{{ route('admin.servers') }}">Servers</a></li>
|
<li><a href="{{ route('admin.servers') }}">Servers</a></li>
|
||||||
|
|
Loading…
Reference in New Issue