refactor a lot of things
fix: postgres_passwords could be longer feat: able to define postgresql databases from the ui
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<path d="M9 15l6 -6"/>
|
||||
<path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"/>
|
||||
<path
|
||||
d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"/>
|
||||
d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"/>
|
||||
</svg>{{ $fqdn }}
|
||||
</a>
|
||||
</li>
|
||||
@@ -44,7 +44,7 @@
|
||||
<path d="M9 15l6 -6"/>
|
||||
<path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"/>
|
||||
<path
|
||||
d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"/>
|
||||
d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"/>
|
||||
</svg>
|
||||
PR{{ data_get($preview, 'pull_request_id') }} |
|
||||
{{ data_get($preview, 'fqdn') }}
|
||||
@@ -55,7 +55,7 @@
|
||||
@endif
|
||||
@if (data_get($application, 'ports_mappings_array'))
|
||||
@foreach ($application->ports_mappings_array as $port)
|
||||
@if (isDev())
|
||||
@if (is_dev())
|
||||
<li>
|
||||
<a class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs hover:text-white"
|
||||
target="_blank" href="http://localhost:{{ explode(':', $port)[0] }}">
|
||||
@@ -66,7 +66,7 @@
|
||||
<path d="M9 15l6 -6"/>
|
||||
<path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"/>
|
||||
<path
|
||||
d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"/>
|
||||
d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"/>
|
||||
</svg>
|
||||
Port {{ $port }}
|
||||
</a>
|
||||
@@ -83,7 +83,7 @@
|
||||
<path d="M9 15l6 -6"/>
|
||||
<path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"/>
|
||||
<path
|
||||
d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"/>
|
||||
d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"/>
|
||||
</svg>
|
||||
Port {{ $port }}
|
||||
</a>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
href="{{ route('settings.emails') }}">
|
||||
<button>SMTP</button>
|
||||
</a>
|
||||
@if (isCloud())
|
||||
@if (is_cloud())
|
||||
<a class="{{ request()->routeIs('settings.license') ? 'text-white' : '' }}"
|
||||
href="{{ route('settings.license') }}">
|
||||
<button>Resale License</button>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<div class="stat-value">{{ $s3s->count() }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@if (isDev())
|
||||
@if (is_dev())
|
||||
<livewire:dev.s3-test/>
|
||||
<livewire:dev.scheduled-backups/>
|
||||
@endif
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
@if (data_get($model, 'discord_enabled'))
|
||||
<h4 class="mt-4">Subscribe to events</h4>
|
||||
<div class="w-64 ">
|
||||
@if (isDev())
|
||||
@if (is_dev())
|
||||
<x-forms.checkbox instantSave="saveModel" id="model.discord_notifications_test" label="Test"/>
|
||||
@endif
|
||||
<h5 class="mt-4">Applications</h5>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
@if (data_get($model, 'smtp_enabled'))
|
||||
<h4 class="mt-4">Subscribe to events</h4>
|
||||
<div class="w-64">
|
||||
@if (isDev())
|
||||
@if (is_dev())
|
||||
<x-forms.checkbox instantSave="saveModel" id="model.smtp_notifications_test" label="Test"/>
|
||||
@endif
|
||||
<h5 class="mt-4">Applications</h5>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
<div class="pb-4">This will remove this server from Coolify. Beware! There is no coming
|
||||
back!
|
||||
</div>
|
||||
@if ($server->id !== 0 || isDev())
|
||||
@if ($server->id !== 0 || is_dev())
|
||||
<x-forms.button isError isModal modalId="deleteServer">
|
||||
Delete
|
||||
</x-forms.button>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<x-layout>
|
||||
<x-team.navbar :team="session('currentTeam')"/>
|
||||
<livewire:team.form/>
|
||||
@if (isCloud())
|
||||
@if (is_cloud())
|
||||
<div class="pb-8">
|
||||
<h3>Subscription</h3>
|
||||
@if (data_get(auth()->user()->currentTeam(),
|
||||
|
||||
Reference in New Issue
Block a user