2023-05-22 13:47:40 +00:00
|
|
|
<x-layout>
|
2023-05-23 08:15:12 +00:00
|
|
|
<div class="flex items-center gap-2">
|
|
|
|
<h1 class="pb-0">Environments</h1>
|
|
|
|
<livewire:project.delete-project :project_id="$project->id" :resource_count="$project->applications->count()" />
|
|
|
|
</div>
|
2023-05-23 07:53:24 +00:00
|
|
|
<div class="pb-10 text-sm breadcrumbs">
|
|
|
|
<ul>
|
|
|
|
<li>{{ $project->name }} </li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2023-05-22 13:47:40 +00:00
|
|
|
<div class="flex flex-col gap-2">
|
2023-05-23 08:15:12 +00:00
|
|
|
@forelse ($project->environments as $environment)
|
2023-05-22 13:47:40 +00:00
|
|
|
<a class="box" href="{{ route('project.resources', [$project->uuid, $environment->name]) }}">
|
|
|
|
{{ $environment->name }}
|
|
|
|
</a>
|
2023-05-23 08:15:12 +00:00
|
|
|
@empty
|
|
|
|
<p>No environments found.</p>
|
|
|
|
@endforelse
|
2023-05-22 13:47:40 +00:00
|
|
|
</div>
|
|
|
|
</x-layout>
|