1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 18:42:31 +01:00

Fix node and server list display for smaller screens

This commit is contained in:
Dane Everitt 2016-01-10 00:45:52 -05:00
parent 2ad300461e
commit b92376ff47
2 changed files with 12 additions and 12 deletions

View File

@ -15,11 +15,11 @@
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Location</th> <th class="visible-lg">Location</th>
<th>FQDN</th> <th>FQDN</th>
<th>Memory</th> <th class="hidden-xs">Memory</th>
<th>Disk</th> <th class="hidden-xs">Disk</th>
<th class="text-center">Servers</th> <th class="text-center hidden-xs">Servers</th>
<th class="text-center">HTTPS</th> <th class="text-center">HTTPS</th>
<th class="text-center">Public</th> <th class="text-center">Public</th>
</tr> </tr>
@ -28,11 +28,11 @@
@foreach ($nodes as $node) @foreach ($nodes as $node)
<tr> <tr>
<td><a href="/admin/nodes/view/{{ $node->id }}">{{ $node->name }}</td> <td><a href="/admin/nodes/view/{{ $node->id }}">{{ $node->name }}</td>
<td>{{ $node->a_locationName }}</td> <td class="visible-lg">{{ $node->a_locationName }}</td>
<td><code>{{ $node->fqdn }}</code></td> <td><code>{{ $node->fqdn }}</code></td>
<td>{{ $node->memory }} MB</td> <td class="hidden-xs">{{ $node->memory }} MB</td>
<td>{{ $node->disk }} MB</td> <td class="hidden-xs">{{ $node->disk }} MB</td>
<td class="text-center">{{ $node->a_serverCount }}</td> <td class="text-center hidden-xs">{{ $node->a_serverCount }}</td>
<td class="text-center" style="color:{{ ($node->scheme === 'https') ? '#50af51' : '#d9534f' }}"><i class="fa fa-{{ ($node->scheme === 'https') ? 'lock' : 'unlock' }}"></i></td> <td class="text-center" style="color:{{ ($node->scheme === 'https') ? '#50af51' : '#d9534f' }}"><i class="fa fa-{{ ($node->scheme === 'https') ? 'lock' : 'unlock' }}"></i></td>
<td class="text-center"><i class="fa fa-{{ ($node->public === 1) ? 'check' : 'times' }}"></i></td> <td class="text-center"><i class="fa fa-{{ ($node->public === 1) ? 'check' : 'times' }}"></i></td>
</tr> </tr>

View File

@ -16,9 +16,9 @@
<tr> <tr>
<th>Server Name</th> <th>Server Name</th>
<th>Owner</th> <th>Owner</th>
<th>Node</th> <th class="hidden-xs">Node</th>
<th>Default Connection</th> <th>Default Connection</th>
<th>SFTP Username</th> <th class="hidden-xs">SFTP Username</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -26,9 +26,9 @@
<tr class="dynUpdate @if($server->active !== 1)active @endif" id="{{ $server->uuidShort }}"> <tr class="dynUpdate @if($server->active !== 1)active @endif" id="{{ $server->uuidShort }}">
<td><a href="/admin/servers/view/{{ $server->id }}">{{ $server->name }}</td> <td><a href="/admin/servers/view/{{ $server->id }}">{{ $server->name }}</td>
<td><a href="/admin/accounts/view/{{ $server->owner }}">{{ $server->a_ownerEmail }}</a></td> <td><a href="/admin/accounts/view/{{ $server->owner }}">{{ $server->a_ownerEmail }}</a></td>
<td><a href="/admin/nodes/view/{{ $server->node }}">{{ $server->a_nodeName }}</a></td> <td class="hidden-xs"><a href="/admin/nodes/view/{{ $server->node }}">{{ $server->a_nodeName }}</a></td>
<td><code>{{ $server->ip }}:{{ $server->port }}</code></td> <td><code>{{ $server->ip }}:{{ $server->port }}</code></td>
<td><code>{{ $server->username }}</code></td> <td class="hidden-xs"><code>{{ $server->username }}</code></td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>