From 2d8d3b59495db95afa74abb9f3d91b65c1276990 Mon Sep 17 00:00:00 2001 From: cp6 Date: Wed, 9 Mar 2022 13:46:23 +1100 Subject: [PATCH] Formatting, added blade components to server edit Formatting, added blade components to server edit --- resources/views/servers/edit.blade.php | 29 ++++++------------------- resources/views/servers/index.blade.php | 2 +- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/resources/views/servers/edit.blade.php b/resources/views/servers/edit.blade.php index 57e1474..2b53d6e 100644 --- a/resources/views/servers/edit.blade.php +++ b/resources/views/servers/edit.blade.php @@ -39,15 +39,9 @@
-
-
OS
- -
+ + {{$server[0]->os_id}} +
@@ -186,20 +180,11 @@
-
-
- Location -
- -
+ + {{$server[0]->location_id}} +
-
+
Owned since owned_since diff --git a/resources/views/servers/index.blade.php b/resources/views/servers/index.blade.php index e46a055..57c8590 100644 --- a/resources/views/servers/index.blade.php +++ b/resources/views/servers/index.blade.php @@ -81,7 +81,7 @@ {{now()->diffInDays(Carbon\Carbon::parse($server->next_due_date))}} days - {{ $server->owned_since }} + {{ $server->owned_since }}