Skip to content

Commit b92376f

Browse files
committed
Fix node and server list display for smaller screens
1 parent 2ad3004 commit b92376f

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

resources/views/admin/nodes/index.blade.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<thead>
1616
<tr>
1717
<th>Name</th>
18-
<th>Location</th>
18+
<th class="visible-lg">Location</th>
1919
<th>FQDN</th>
20-
<th>Memory</th>
21-
<th>Disk</th>
22-
<th class="text-center">Servers</th>
20+
<th class="hidden-xs">Memory</th>
21+
<th class="hidden-xs">Disk</th>
22+
<th class="text-center hidden-xs">Servers</th>
2323
<th class="text-center">HTTPS</th>
2424
<th class="text-center">Public</th>
2525
</tr>
@@ -28,11 +28,11 @@
2828
@foreach ($nodes as $node)
2929
<tr>
3030
<td><a href="/admin/nodes/view/{{ $node->id }}">{{ $node->name }}</td>
31-
<td>{{ $node->a_locationName }}</td>
31+
<td class="visible-lg">{{ $node->a_locationName }}</td>
3232
<td><code>{{ $node->fqdn }}</code></td>
33-
<td>{{ $node->memory }} MB</td>
34-
<td>{{ $node->disk }} MB</td>
35-
<td class="text-center">{{ $node->a_serverCount }}</td>
33+
<td class="hidden-xs">{{ $node->memory }} MB</td>
34+
<td class="hidden-xs">{{ $node->disk }} MB</td>
35+
<td class="text-center hidden-xs">{{ $node->a_serverCount }}</td>
3636
<td class="text-center" style="color:{{ ($node->scheme === 'https') ? '#50af51' : '#d9534f' }}"><i class="fa fa-{{ ($node->scheme === 'https') ? 'lock' : 'unlock' }}"></i></td>
3737
<td class="text-center"><i class="fa fa-{{ ($node->public === 1) ? 'check' : 'times' }}"></i></td>
3838
</tr>

resources/views/admin/servers/index.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616
<tr>
1717
<th>Server Name</th>
1818
<th>Owner</th>
19-
<th>Node</th>
19+
<th class="hidden-xs">Node</th>
2020
<th>Default Connection</th>
21-
<th>SFTP Username</th>
21+
<th class="hidden-xs">SFTP Username</th>
2222
</tr>
2323
</thead>
2424
<tbody>
2525
@foreach ($servers as $server)
2626
<tr class="dynUpdate @if($server->active !== 1)active @endif" id="{{ $server->uuidShort }}">
2727
<td><a href="/admin/servers/view/{{ $server->id }}">{{ $server->name }}</td>
2828
<td><a href="/admin/accounts/view/{{ $server->owner }}">{{ $server->a_ownerEmail }}</a></td>
29-
<td><a href="/admin/nodes/view/{{ $server->node }}">{{ $server->a_nodeName }}</a></td>
29+
<td class="hidden-xs"><a href="/admin/nodes/view/{{ $server->node }}">{{ $server->a_nodeName }}</a></td>
3030
<td><code>{{ $server->ip }}:{{ $server->port }}</code></td>
31-
<td><code>{{ $server->username }}</code></td>
31+
<td class="hidden-xs"><code>{{ $server->username }}</code></td>
3232
</tr>
3333
@endforeach
3434
</tbody>

0 commit comments

Comments
 (0)