Updated servers show blade to hide empty data on no yabs
Updated servers show blade to hide empty data on no yabs
This commit is contained in:
parent
70916abc05
commit
8c2ae4882e
|
@ -60,7 +60,9 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="px-2 py-2 font-bold text-muted">CPU</td>
|
<td class="px-2 py-2 font-bold text-muted">CPU</td>
|
||||||
<td>{{ $server_extras[0]->cpu_cores }} <small>@</small> {{ $server_extras[0]->cpu_freq }}</td>
|
<td>{{ $server_extras[0]->cpu }} @if($server_extras[0]->has_yabs)
|
||||||
|
<small>@</small> {{ $server_extras[0]->cpu_freq }}
|
||||||
|
@endif</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="px-2 py-2 font-bold text-muted">RAM</td>
|
<td class="px-2 py-2 font-bold text-muted">RAM</td>
|
||||||
|
@ -123,6 +125,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-6">
|
<div class="col-12 col-lg-6">
|
||||||
|
@if($server_extras[0]->has_yabs)
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-borderless text-nowrap">
|
<table class="table table-borderless text-nowrap">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -134,7 +137,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="px-2 py-2 font-bold text-muted">CPU</td>
|
<td class="px-2 py-2 font-bold text-muted">CPU</td>
|
||||||
<td>{{$server_extras[0]->cpu}}</td>
|
<td>{{$server_extras[0]->cpu_model}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="px-2 py-2 font-bold text-muted">AES</td>
|
<td class="px-2 py-2 font-bold text-muted">AES</td>
|
||||||
|
@ -150,11 +153,13 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="px-2 py-2 font-bold text-muted">Disk 64k</td>
|
<td class="px-2 py-2 font-bold text-muted">Disk 64k</td>
|
||||||
<td>{{$server_extras[0]->d_64k}} <small>{{$server_extras[0]->d_64k_type}}</small></td>
|
<td>{{$server_extras[0]->d_64k}} <small>{{$server_extras[0]->d_64k_type}}</small>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="px-2 py-2 font-bold text-muted">Disk 512k</td>
|
<td class="px-2 py-2 font-bold text-muted">Disk 512k</td>
|
||||||
<td>{{$server_extras[0]->d_512k}} <small>{{$server_extras[0]->d_512k_type}}</small></td>
|
<td>{{$server_extras[0]->d_512k}} <small>{{$server_extras[0]->d_512k_type}}</small>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="px-2 py-2 font-bold text-muted">Disk 1m</td>
|
<td class="px-2 py-2 font-bold text-muted">Disk 1m</td>
|
||||||
|
@ -166,12 +171,16 @@
|
||||||
@foreach($network_speeds as $ns)
|
@foreach($network_speeds as $ns)
|
||||||
<tr>
|
<tr>
|
||||||
<td class="px-2 py-2 font-bold text-muted">{{$ns['location']}}</td>
|
<td class="px-2 py-2 font-bold text-muted">{{$ns['location']}}</td>
|
||||||
<td>{{$ns['send']}} <small>{{$ns['send_type']}}</small> {{$ns['receive']}} <small>{{$ns['receive_type']}}</small></td>
|
<td>{{$ns['send']}} <small>{{$ns['send_type']}}</small> {{$ns['receive']}}
|
||||||
|
<small>{{$ns['receive_type']}}</small></td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
@else
|
||||||
|
<p>Please <a href="{{ route('yabs.create') }}" class="text-decoration-none">add a YABs</a> to see Geekbench, disk and network speeds</p>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</x-card>
|
</x-card>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user