Resources

Refresh
Here you can find all resources that are managed by Last Hour Cloud.
@forelse ($server->definedResources()->sortBy('name',SORT_NATURAL) as $resource) @empty @endforelse
Project Environment Name Type Status
{{ data_get($resource->project(), 'name') }} {{ data_get($resource, 'environment.name') }} {{ $resource->name }} {{ str($resource->type())->headline() }} @if ($resource->type() === 'service') @else @endif

Resources

Refresh
Here you can find all other containers running on the server.
@if ($unmanagedContainers->count() > 0)
@forelse ($unmanagedContainers->sortBy('name',SORT_NATURAL) as $resource) @empty @endforelse
Name Image Status Action
{{ data_get($resource, 'Names') }} {{ data_get($resource, 'Image') }} {{ data_get($resource, 'State') }} @if (data_get($resource, 'State') === 'running') Restart Stop @elseif (data_get($resource, 'State') === 'exited') Start @elseif (data_get($resource, 'State') === 'restarting') Stop @endif
@endif