1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 23:42:32 +01:00

Updated servers index blade

Updated servers index blade
This commit is contained in:
cp6 2022-03-05 16:28:57 +11:00
parent 9305789b7b
commit 3e4c3bc79e

View File

@ -31,6 +31,7 @@
<a href="{{ route('servers.create') }}" class="btn btn-primary mb-3">Add server</a>
<a href="{{ route('servers-compare-choose') }}" class="btn btn-primary mb-3 ms-2">Compare
servers</a>
<a href="{{ route('yabs.create') }}" class="btn btn-primary mb-3 ms-2">Add a YABs</a>
<x-success-alert></x-success-alert>
<div class="table-responsive">
<table class="table table-bordered">
@ -61,8 +62,8 @@
<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">
@if($server->ram_as_mb > 1024)
{{ number_format(($server->ram_as_mb / 1000),0) }}<small>GB</small>
@if(isset($server->ram))
{{ $server->ram }} <small>{{$server->ram_type}}</small>
@else
{{$server->ram_as_mb}}<small>MB</small>
@endif