diff --git a/public/no-content.png b/public/no-content.png new file mode 100644 index 0000000..e80ae65 Binary files /dev/null and b/public/no-content.png differ diff --git a/resources/views/filament/resources/service-proccess-resource/pages/service-details.blade.php b/resources/views/filament/resources/service-proccess-resource/pages/service-details.blade.php index 9e5d056..e998a3c 100644 --- a/resources/views/filament/resources/service-proccess-resource/pages/service-details.blade.php +++ b/resources/views/filament/resources/service-proccess-resource/pages/service-details.blade.php @@ -1,9 +1,11 @@
- +
-
+
Command @@ -16,7 +18,8 @@ {{ $record->command }}
-
+
PID @@ -29,10 +32,11 @@ {{ $record->pid }}
-
+
- Tag + Tag
@@ -42,10 +46,11 @@ {{ $record->tag }}
-
+
- Last Exec. + Last Exec.
@@ -55,10 +60,11 @@ {{ date('d/m/Y H:i', strtotime($record->last_execution)) }}
-
+
- Interval + Interval
@@ -70,39 +76,49 @@
- - - - - - - - - - @foreach ($record->logs()->get() as $item) - - - - + @if ($record->logs()->count() > 0) +
- Date/time - output - service
- Mark - - Otto - - -
+ + + + + - @endforeach - -
+ Date/time + output + service
+ + + @foreach ($record->logs()->get() as $item) + + + {{ date('d/m/Y', strtotime($item->created_at)) }} + + + @if (strlen($item->output) > 30) + {{ substr($item->output, 0, 29) }}... + @else + {{ item->output }} + @endif + + + {{ $item->command }} + + + @endforeach + + + @else +

+ No logs for this command +

+ no-content + @endif