mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 22:17:19 +00:00
wip
This commit is contained in:
1 parent
ffa8f40864
commit
97f0f34209
6 files changed
+15
-17
No files matched your search
@@ -0,0 +1,7 @@
|
||||
<div>
|
||||
@forelse ($envs as $env)
|
||||
{{ dump($env) }}
|
||||
@empty
|
||||
<p>There are no environment variables for this application.</p>
|
||||
@endforelse
|
||||
</div>
|
||||
@@ -1,7 +0,0 @@
|
||||
<div>
|
||||
@forelse ($secrets as $secret)
|
||||
{{ dump($secret) }}
|
||||
@empty
|
||||
<p>There are no secrets for this application.</p>
|
||||
@endforelse
|
||||
</div>
|
||||
@@ -2,7 +2,7 @@
|
||||
<div x-data="{ tab: window.location.hash ? window.location.hash.substring(1) : 'general' }">
|
||||
<div class="flex gap-4">
|
||||
<a @click.prevent="tab = 'general'; window.location.hash = 'general'" href="#">General</a>
|
||||
<a @click.prevent="tab = 'secrets'; window.location.hash = 'secrets'" href="#">Secrets</a>
|
||||
<a @click.prevent="tab = 'envs'; window.location.hash = 'envs'" href="#">Environment Variables</a>
|
||||
<a @click.prevent="tab = 'source'; window.location.hash = 'source'" href="#">Source</a>
|
||||
<a @click.prevent="tab = 'destination'; window.location.hash = 'destination'" href="#">Destination
|
||||
</a>
|
||||
@@ -12,8 +12,8 @@
|
||||
<div x-cloak x-show="tab === 'general'">
|
||||
<livewire:application.general :applicationId="$application->id" />
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'secrets'">
|
||||
<livewire:application.secrets />
|
||||
<div x-cloak x-show="tab === 'envs'">
|
||||
<livewire:application.environment-variables />
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'source'">
|
||||
<livewire:application.source :applicationId="$application->id" />
|
||||
|
||||
Reference in new issue
Block a user