Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Merge pull request #3236 from pkellner/main

Andras Bacsai278c8c6ec635
diff --cc resources/views/livewire/project/shared/environment-variable/all.blade.php
index 813ee5c527,df93c36022..bd6f315517
--- a/resources/views/livewire/project/shared/environment-variable/all.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/all.blade.php
@@@ -2,15 -2,13 +2,15 @@@
<div>
<div class="flex items-center gap-2">
<h2>Environment Variables</h2>
- <x-modal-input buttonTitle="+ Add" title="New Environment Variable">
- <livewire:project.shared.environment-variable.add />
- </x-modal-input>
+ <div class="flex flex-col items-center">
+ <x-modal-input buttonTitle="+ Add" title="New Environment Variable">
+ <livewire:project.shared.environment-variable.add />
+ </x-modal-input>
+ </div>
<x-forms.button
- wire:click='switch'>{{ $view === 'normal' ? 'Developer view' : 'Normal view' }}</x-forms.button>
+ wire:click='switch'>{{ $view === 'normal' ? 'Developer view' : 'Normal view (required to set variables at build time)' }}</x-forms.button>
</div>
- <div>Environment variables (secrets) for this resource.</div>
+ <div>Environment variables (secrets) for this resource. </div>
@if ($this->resourceClass === 'App\Models\Application' && data_get($this->resource, 'build_pack') !== 'dockercompose')
<div class="w-64 pt-2">
<x-forms.checkbox id="resource.settings.is_env_sorting_enabled" label="Sort alphabetically"