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-07-26 11:23:47 +00:00
|
|
|
<x-forms.button class="btn" onclick="newEnvironment.showModal()">+ Add</x-forms.button>
|
2023-08-11 18:19:42 +00:00
|
|
|
<livewire:project.add-environment :project="$project" />
|
2023-05-23 08:15:12 +00:00
|
|
|
</div>
|
2023-08-14 12:00:10 +00:00
|
|
|
<div class="subtitle text-xs truncate lg:text-sm">{{ $project->name }}</div>
|
2023-06-16 10:35:40 +00:00
|
|
|
<div class="grid gap-2 lg:grid-cols-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>
|