css sprinkle

This commit is contained in:
Andras Bacsai
2023-05-16 20:47:59 +02:00
parent 5c069d3c3c
commit 3b636ef022
17 changed files with 87 additions and 94 deletions

View File

@@ -1,6 +1,6 @@
<form wire:submit.prevent='submit' class="flex items-end gap-2 px-2">
<x-inputs.input noDirty id="key" label="Name" required />
<x-inputs.input noDirty id="value" label="Value" required />
<x-inputs.input noLabel noDirty id="key" label="Name" required />
<x-inputs.input noLabel noDirty id="value" label="Value" required />
<div class="flex flex-col">
<div class="flex items-center gap-2">
<x-inputs.input noDirty type="checkbox" id="is_build_time" label="Build Variable?" />

View File

@@ -1,11 +1,10 @@
<div class="flex flex-col gap-2">
<h3>Environment Variables</h3>
@forelse ($application->environment_variables as $env)
@foreach ($application->environment_variables as $env)
<livewire:project.application.environment-variable.show wire:key="environment-{{ $env->id }}"
:env="$env" />
@empty
<p>There are no environment variables for this application.</p>
@endforelse
<h4>Add new environment variable</h4>
<livewire:project.application.environment-variable.add />
@endforeach
<div class="pt-10">
<livewire:project.application.environment-variable.add />
</div>
</div>