23 lines
796 B
PHP
Raw Normal View History

2023-05-22 15:47:40 +02:00
<x-layout>
2023-05-23 10:15:12 +02:00
<div class="flex items-center gap-2">
2023-06-02 12:34:45 +02:00
<h1>Environments</h1>
2023-05-23 10:15:12 +02:00
<livewire:project.delete-project :project_id="$project->id" :resource_count="$project->applications->count()" />
</div>
2023-06-07 21:44:16 +02: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 15:08:35 +02:00
<div class="grid grid-cols-2 gap-2">
2023-05-23 10:15:12 +02:00
@forelse ($project->environments as $environment)
2023-05-22 15:47:40 +02:00
<a class="box" href="{{ route('project.resources', [$project->uuid, $environment->name]) }}">
{{ $environment->name }}
</a>
2023-05-23 10:15:12 +02:00
@empty
<p>No environments found.</p>
@endforelse
2023-05-22 15:47:40 +02:00
</div>
</x-layout>