mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-23 01:22:30 +01:00
parent
ec0b55bcfe
commit
ac2e29e4a1
@ -123,16 +123,24 @@
|
|||||||
<th style="width:2%;"></th>
|
<th style="width:2%;"></th>
|
||||||
<th>Identifier</th>
|
<th>Identifier</th>
|
||||||
<th>Server Name</th>
|
<th>Server Name</th>
|
||||||
|
<th>Access</th>
|
||||||
<th>Node</th>
|
<th>Node</th>
|
||||||
<th style="width:10%;"></th>
|
<th style="width:10%;"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($user->servers as $server)
|
@foreach($user->serverAccessCollection() as $server)
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ route('server.index', $server->uuidShort) }}/"><i class="fa fa-tachometer"></i></a></td>
|
<td><a href="{{ route('server.index', $server->uuidShort) }}/"><i class="fa fa-tachometer"></i></a></td>
|
||||||
<td><code>{{ $server->uuidShort }}</code></td>
|
<td><code>{{ $server->uuidShort }}</code></td>
|
||||||
<td><a href="{{ route('admin.servers.view', $server->id) }}">{{ $server->name }}</a></td>
|
<td><a href="{{ route('admin.servers.view', $server->id) }}">{{ $server->name }}</a></td>
|
||||||
|
<td>
|
||||||
|
@if($server->owner_id === $user->id)
|
||||||
|
@lang('strings.owner')
|
||||||
|
@else
|
||||||
|
@lang('strings.subuser')
|
||||||
|
@endif
|
||||||
|
</td>
|
||||||
<td><a href="{{ route('admin.nodes.view', $server->node->id) }}">{{ $server->node->name }}</a></td>
|
<td><a href="{{ route('admin.nodes.view', $server->node->id) }}">{{ $server->node->name }}</a></td>
|
||||||
<td class="centered">@if($server->suspended === 0)<span class="label muted muted-hover label-success">Active</span>@else<span class="label label-warning">Suspended</span>@endif</td>
|
<td class="centered">@if($server->suspended === 0)<span class="label muted muted-hover label-success">Active</span>@else<span class="label label-warning">Suspended</span>@endif</td>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user