From 07d90e1b8ad7a3f0f28b8e89f51f0138d6dba611 Mon Sep 17 00:00:00 2001 From: cp6 Date: Sat, 5 Mar 2022 16:40:04 +1100 Subject: [PATCH] Updated server create and index blades Updated server create and index blades --- resources/views/servers/create.blade.php | 8 ++++---- resources/views/servers/index.blade.php | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/views/servers/create.blade.php b/resources/views/servers/create.blade.php index 490a241..6572676 100644 --- a/resources/views/servers/create.blade.php +++ b/resources/views/servers/create.blade.php @@ -58,7 +58,7 @@
-

If you need to add more IPs go here.

+

If you need to add more IPs go to /IPs after creation.

IP
@@ -152,7 +152,7 @@
-

Note adding a YABs output will overwrite Ram, disk and CPU.

+

Note adding a YABs output will overwrite Ram, disk and CPU values.

Ram @@ -243,8 +243,8 @@
diff --git a/resources/views/servers/index.blade.php b/resources/views/servers/index.blade.php index 9abfe9b..81133a7 100644 --- a/resources/views/servers/index.blade.php +++ b/resources/views/servers/index.blade.php @@ -69,10 +69,10 @@ @endif - @if($server->disk > 1000) - {{ number_format(($server->disk / 1000),1) }}TB + @if(isset($server->disk)) + {{ $server->disk }} {{$server->disk_type}} @else - {{$server->disk}}GB + {{$server->disk}} GB @endif {{ $server->location }}