vito/resources/views/cronjobs/partials/status.blade.php
Saeed Vaziry 428140b931
refactoring (#116)
- refactoring architecture
- fix incomplete ssh logs
- code editor for scripts in the app
- remove Jobs and SSHCommands
2024-03-14 20:03:43 +01:00

12 lines
343 B
PHP

@if ($status == \App\Enums\CronjobStatus::READY)
<x-status status="success">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\CronjobStatus::CREATING)
<x-status status="warning">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\CronjobStatus::DELETING)
<x-status status="danger">{{ $status }}</x-status>
@endif