lasthourcloud/resources/views/livewire/project/application/environment-variable/show.blade.php

19 lines
841 B
PHP
Raw Normal View History

2023-05-04 20:29:14 +00:00
<div x-data="{ deleteEnvironment: false }">
2023-05-22 20:30:33 +00:00
<form wire:submit.prevent='submit' class="flex flex-col max-w-fit">
2023-06-05 10:07:55 +00:00
<div class="flex items-end gap-2">
2023-05-25 12:05:44 +00:00
<x-forms.input label="Name" id="env.key" />
<x-forms.input label="Value" id="env.value" />
2023-06-05 10:07:55 +00:00
<x-forms.checkbox disabled class="flex-col text-center w-96" id="env.is_build_time" label="Build Variable?" />
<div class="flex gap-2">
<x-forms.button type="submit">
Update
</x-forms.button>
<x-forms.button x-on:click.prevent="deleteEnvironment = true">
Delete
</x-forms.button>
</div>
2023-05-04 20:29:14 +00:00
</div>
</form>
<x-naked-modal show="deleteEnvironment" message="Are you sure you want to delete {{ $env->key }}?" />
</div>