2023-03-28 20:13:08 +00:00
|
|
|
<x-layout>
|
2023-05-09 09:33:50 +00:00
|
|
|
<div class="flex items-center gap-2">
|
|
|
|
<h1>Resources</h1>
|
|
|
|
<a href="{{ route('project.resources.new', Route::current()->parameters()) }}">
|
2023-05-03 12:09:10 +00:00
|
|
|
<x-inputs.button>New</x-inputs.button>
|
|
|
|
</a>
|
2023-05-09 09:33:50 +00:00
|
|
|
<livewire:project.delete :project_id="$project->id" :resource_count="$project->applications->count()" />
|
|
|
|
</div>
|
|
|
|
@if ($environment->applications->count() === 0)
|
|
|
|
<p>No resources yet.</p>
|
|
|
|
@endif
|
2023-03-29 11:13:27 +00:00
|
|
|
<div>
|
|
|
|
@foreach ($environment->applications as $application)
|
2023-03-28 20:13:08 +00:00
|
|
|
<p>
|
2023-04-26 11:25:41 +00:00
|
|
|
<a
|
|
|
|
href="{{ route('project.application.configuration', [$project->uuid, $environment->name, $application->uuid]) }}">
|
2023-03-28 20:13:08 +00:00
|
|
|
{{ $application->name }}
|
|
|
|
</a>
|
|
|
|
</p>
|
2023-03-29 11:13:27 +00:00
|
|
|
@endforeach
|
2023-03-30 15:29:01 +00:00
|
|
|
{{-- @foreach ($environment->databases as $database)
|
2023-03-28 20:13:08 +00:00
|
|
|
<p>
|
|
|
|
<a href="{{ route('project.database', [$project->uuid, $environment->name, $database->uuid]) }}">
|
|
|
|
{{ $database->name }}
|
|
|
|
</a>
|
|
|
|
</p>
|
2023-03-29 11:13:27 +00:00
|
|
|
@endforeach
|
|
|
|
@foreach ($environment->services as $service)
|
2023-03-28 20:13:08 +00:00
|
|
|
<p>
|
|
|
|
<a href="{{ route('project.service', [$project->uuid, $environment->name, $service->uuid]) }}">
|
|
|
|
{{ $service->name }}
|
|
|
|
</a>
|
|
|
|
</p>
|
2023-03-30 15:29:01 +00:00
|
|
|
@endforeach --}}
|
2023-03-29 11:13:27 +00:00
|
|
|
</div>
|
2023-03-28 20:13:08 +00:00
|
|
|
</x-layout>
|