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">
|
2023-06-02 10:34:45 +00:00
|
|
|
<h1>Environments</h1>
|
2023-05-23 08:15:12 +00:00
|
|
|
<livewire:project.delete-project :project_id="$project->id" :resource_count="$project->applications->count()" />
|
|
|
|
</div>
|
2023-06-07 19:44:16 +00:00
|
|
|
<nav class="flex pt-2 pb-10 text-sm">
|
|
|
|
<ol class="inline-flex items-center">
|
|
|
|
<li class="inline-flex items-center">
|
|
|
|
{{ $project->name }}
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
2023-06-07 13:08:35 +00:00
|
|
|
<div class="grid grid-cols-2 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>
|