1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00

servers\index.blade.php cleanup

servers\index.blade.php cleanup
This commit is contained in:
cp6 2023-09-25 23:45:07 +10:00
parent ebf4e5243c
commit 918320c876

View File

@ -47,10 +47,8 @@
@foreach($servers as $server) @foreach($servers as $server)
<tr> <tr>
<td>{{ $server->hostname }}</td> <td>{{ $server->hostname }}</td>
<td class="text-center"> <td class="text-center">{{ App\Models\Server::serviceServerType($server->server_type) }}</td>
{{ App\Models\Server::serviceServerType($server->server_type) }} <td class="text-center">@if(isset($server->os)){!!App\Models\Server::osIntToIcon($server->os->id, $server->os->name)!!}@endif</td>
</td>
<td class="text-center">{!!App\Models\Server::osIntToIcon($server->os->id, $server->os->name)!!}</td>
<td class="text-center">{{$server->cpu}}</td> <td class="text-center">{{$server->cpu}}</td>
<td class="text-center"> <td class="text-center">
@if(isset($server->ram)) @if(isset($server->ram))
@ -83,7 +81,6 @@
class="text-body mx-1"> class="text-body mx-1">
<i class="fas fa-pen" title="edit"></i> <i class="fas fa-pen" title="edit"></i>
</a> </a>
<i class="fas fa-plug mx-1" id="{{$server->hostname}}" <i class="fas fa-plug mx-1" id="{{$server->hostname}}"
title="check if up" title="check if up"
@click="checkIfUp"> @click="checkIfUp">