Updated server create and index blades

Updated server create and index blades
This commit is contained in:
cp6 2022-03-05 16:40:04 +11:00
parent 3e4c3bc79e
commit 07d90e1b8a
2 changed files with 7 additions and 7 deletions

View File

@ -58,7 +58,7 @@
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<p class="text-muted">If you need to add more IPs go <a href="{{route('IPs.create')}}" class="text-decoration-none">here</a>.</p> <p class="text-muted">If you need to add more IPs go to /IPs after creation.</p>
<div class="col-12 col-lg-3 mb-4"> <div class="col-12 col-lg-3 mb-4">
<div class="input-group"> <div class="input-group">
<div class="input-group-prepend"><span class="input-group-text">IP</span></div> <div class="input-group-prepend"><span class="input-group-text">IP</span></div>
@ -152,7 +152,7 @@
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<p class="text-muted">Note adding a YABs output will overwrite Ram, disk and CPU.</p> <p class="text-muted">Note adding a YABs output will overwrite Ram, disk and CPU values.</p>
<div class="col-md-3 mb-3"> <div class="col-md-3 mb-3">
<x-number-input> <x-number-input>
<x-slot name="title">Ram</x-slot> <x-slot name="title">Ram</x-slot>
@ -243,8 +243,8 @@
<input class="form-check-input" name="show_public" type="checkbox" <input class="form-check-input" name="show_public" type="checkbox"
value="1"> value="1">
<label class="form-check-label"> <label class="form-check-label">
Allow this data to be public <a href="{{route('settings.index')}}">restrict values Allow this data to be public, restrict values
here</a> in settings
</label> </label>
</div> </div>
<div class="row"> <div class="row">

View File

@ -69,10 +69,10 @@
@endif @endif
</td> </td>
<td class="text-center"> <td class="text-center">
@if($server->disk > 1000) @if(isset($server->disk))
{{ number_format(($server->disk / 1000),1) }}<small>TB</small> {{ $server->disk }} <small>{{$server->disk_type}}</small>
@else @else
{{$server->disk}}<small>GB</small> {{$server->disk}} <small>GB</small>
@endif @endif
</td> </td>
<td class="text-nowrap">{{ $server->location }}</td> <td class="text-nowrap">{{ $server->location }}</td>