lasthourcloud/resources/views/project/show.blade.php
Andras Bacsai 3589b92ec9 fix
2023-06-16 12:35:40 +02:00

19 lines
685 B
PHP

<x-layout>
<div class="flex items-center gap-2">
<h1>Environments</h1>
@if ($project->applications->count() === 0)
<livewire:project.delete-project :project_id="$project->id" />
@endif
</div>
<div class="pt-2 pb-10 text-xs truncate lg:text-sm">{{ $project->name }}</div>
<div class="grid gap-2 lg:grid-cols-2">
@forelse ($project->environments as $environment)
<a class="box" href="{{ route('project.resources', [$project->uuid, $environment->name]) }}">
{{ $environment->name }}
</a>
@empty
<p>No environments found.</p>
@endforelse
</div>
</x-layout>