wip: services

This commit is contained in:
Andras Bacsai
2023-09-21 17:48:31 +02:00
parent 301469de6b
commit 6b75ff7de4
29 changed files with 632 additions and 427 deletions

View File

@@ -38,12 +38,10 @@
</svg>
</div>
</li>
@if ($resource->status === 'running')
<x-status.running />
@elseif($resource->status === 'restarting')
<x-status.restarting />
@if ($resource->getMorphClass() == 'App\Models\Service')
<x-status.services :service="$resource" />
@else
<x-status.stopped />
<x-status.index :status="$resource->status" />
@endif
</ol>
</nav>