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

19 lines
763 B
PHP
Raw Normal View History

2023-05-04 20:29:14 +00:00
<div x-data="{ deleteEnvironment: false }">
2023-05-05 07:28:00 +00:00
<form wire:submit.prevent='submit' class="flex gap-2 px-2">
2023-05-05 12:20:10 +00:00
<x-inputs.input id="env.key" noLabel />
<x-inputs.input id="env.value" noLabel />
2023-05-04 20:29:14 +00:00
<div class="flex flex-col">
<div class="flex items-center gap-2">
2023-05-05 12:20:10 +00:00
<x-inputs.input type="checkbox" id="env.is_build_time" label="Build Variable?" />
2023-05-04 20:29:14 +00:00
</div>
</div>
<x-inputs.button type="submit">
Update
</x-inputs.button>
2023-05-09 08:01:57 +00:00
<x-inputs.button x-on:click.prevent="deleteEnvironment = true" isWarning>
2023-05-04 20:29:14 +00:00
Delete
</x-inputs.button>
</form>
<x-naked-modal show="deleteEnvironment" message="Are you sure you want to delete {{ $env->key }}?" />
</div>