diff --git a/resources/views/livewire/project/application/configuration.blade.php b/resources/views/livewire/project/application/configuration.blade.php index 59899584f..dae96831d 100644 --- a/resources/views/livewire/project/application/configuration.blade.php +++ b/resources/views/livewire/project/application/configuration.blade.php @@ -18,7 +18,9 @@ href="#">Environment Variables @endif - + Scheduled Tasks + @if ($application->git_based()) Source @@ -54,9 +56,7 @@ href="#">Resource Limits @endif - Scheduled Tasks - + Danger Zone diff --git a/resources/views/livewire/project/shared/scheduled-task/executions.blade.php b/resources/views/livewire/project/shared/scheduled-task/executions.blade.php index 9f0fd9208..9e8d82db5 100644 --- a/resources/views/livewire/project/shared/scheduled-task/executions.blade.php +++ b/resources/views/livewire/project/shared/scheduled-task/executions.blade.php @@ -1,25 +1,30 @@
@forelse($executions as $execution) - data_get($execution, 'status') === 'success', - 'border-red-500' => data_get($execution, 'status') === 'failed', - ])> - @if (data_get($execution, 'status') === 'running') + @if (data_get($execution, 'id') == $selectedKey) +
+ @if (data_get($execution, 'message')) +
+
{{ data_get($execution, 'message') }}
+
+ @else +
No output was recorded for this execution.
+ @endif +
+ @endif +
+ data_get($execution, 'id') == $selectedKey, + 'border-green-500' => data_get($execution, 'status') === 'success', + 'border-red-500' => data_get($execution, 'status') === 'failed', + ])> + @if (data_get($execution, 'status') === 'running')
- @endif -
Status: {{ data_get($execution, 'status') }}
-
Started At: {{ data_get($execution, 'created_at') }}
- @if (data_get($execution, 'id') == $selectedKey) - @if (data_get($execution, 'message')) -
Output:
{{ data_get($execution, 'message') }}
- @else -
No output was recorded for this execution.
- @endif - @endif -
+ @endif +
Status: {{ data_get($execution, 'status') }}
+
Started At: {{ data_get($execution, 'created_at') }}
@empty
No executions found.
diff --git a/resources/views/livewire/project/shared/scheduled-task/show.blade.php b/resources/views/livewire/project/shared/scheduled-task/show.blade.php index cbeb971b1..95b7dbc6d 100644 --- a/resources/views/livewire/project/shared/scheduled-task/show.blade.php +++ b/resources/views/livewire/project/shared/scheduled-task/show.blade.php @@ -8,13 +8,13 @@ class="font-bold text-warning">({{ $task->name }})?

Scheduled Task

@if ($type === 'application') - + @elseif ($type === 'service') - + @endif -
-
+ +

Scheduled Task

@@ -27,16 +27,17 @@ class="font-bold text-warning">({{ $task->name }})?

- - - - - +
+ + + + +
-
+

Recent executions

- +