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 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="input-group">
<div class="input-group-prepend"><span class="input-group-text">IP</span></div>
@ -152,7 +152,7 @@
</div>
</div>
<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">
<x-number-input>
<x-slot name="title">Ram</x-slot>
@ -243,8 +243,8 @@
<input class="form-check-input" name="show_public" type="checkbox"
value="1">
<label class="form-check-label">
Allow this data to be public <a href="{{route('settings.index')}}">restrict values
here</a>
Allow this data to be public, restrict values
in settings
</label>
</div>
<div class="row">

View File

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