coolify/resources/views/livewire/project/application/environment-variable/all.blade.php

27 lines
1.1 KiB
PHP
Raw Normal View History

2023-05-05 09:28:00 +02:00
<div class="flex flex-col gap-2">
2023-05-31 10:19:29 +02:00
<div>
2023-07-13 13:16:24 +02:00
<div class="flex items-center gap-2">
<h2>Environment Variables</h2>
<x-forms.button class="btn" onclick="newVariable.showModal()">+ Add</x-forms.button>
<livewire:project.application.environment-variable.add />
</div>
2023-06-16 12:35:40 +02:00
<div class="">Environment (secrets) variables for normal deployments.</div>
2023-05-31 10:19:29 +02:00
</div>
2023-07-13 13:16:24 +02:00
@forelse ($application->environment_variables as $env)
2023-05-05 12:08:38 +02:00
<livewire:project.application.environment-variable.show wire:key="environment-{{ $env->id }}"
:env="$env" />
2023-07-13 13:16:24 +02:00
@empty
<div class="text-neutral-500">No environment variables found.</div>
@endforelse
@if ($application->environment_variables_preview->count() > 0)
<div>
<h3>Preview Deployments</h3>
<div class="">Environment (secrets) variables for Preview Deployments.</div>
</div>
@foreach ($application->environment_variables_preview as $env)
<livewire:project.application.environment-variable.show wire:key="environment-{{ $env->id }}"
:env="$env" />
@endforeach
@endif
2023-05-05 09:28:00 +02:00
</div>