lasthourcloud/resources/views/project/show.blade.php

21 lines
700 B
PHP
Raw Normal View History

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-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>