lasthourcloud/resources/views/project/resources.blade.php
2023-03-28 22:13:08 +02:00

30 lines
1.0 KiB
PHP

<x-layout>
<h1>Resources</h1>
@foreach ($project->environments as $environment)
<div>
@foreach ($environment->applications as $application)
<p>
<a href="{{ route('project.application', [$project->uuid, $environment->name, $application->uuid]) }}">
{{ $application->name }}
</a>
</p>
@endforeach
@foreach ($environment->databases as $database)
<p>
<a href="{{ route('project.database', [$project->uuid, $environment->name, $database->uuid]) }}">
{{ $database->name }}
</a>
</p>
@endforeach
@foreach ($environment->services as $service)
<p>
<a href="{{ route('project.service', [$project->uuid, $environment->name, $service->uuid]) }}">
{{ $service->name }}
</a>
</p>
@endforeach
</div>
@endforeach
</x-layout>