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.

format files lol

Andras Bacsaic762195c8acd
diff --git a/bootstrap/helpers/applications.php b/bootstrap/helpers/applications.php
index f1b4d91048..427ef5a579 100644
--- a/bootstrap/helpers/applications.php
+++ b/bootstrap/helpers/applications.php
@@ -4,7 +4,7 @@ use App\Jobs\ApplicationDeploymentJob;
use App\Models\Application;
use App\Models\ApplicationDeploymentQueue;
-function queue_application_deployment(int $application_id, string $deployment_uuid, int|null $pull_request_id = 0, string $commit = 'HEAD', bool $force_rebuild = false, bool $is_webhook = false)
+function queue_application_deployment(int $application_id, string $deployment_uuid, int | null $pull_request_id = 0, string $commit = 'HEAD', bool $force_rebuild = false, bool $is_webhook = false)
{
$deployment = ApplicationDeploymentQueue::create([
'application_id' => $application_id,
diff --git a/bootstrap/helpers/databases.php b/bootstrap/helpers/databases.php
index f6dc72f663..c005ad15d0 100644
--- a/bootstrap/helpers/databases.php
+++ b/bootstrap/helpers/databases.php
@@ -33,7 +33,7 @@ function create_standalone_postgresql($environment_id, $destination_uuid): Stand
* @param Server $server
* @return void
*/
-function delete_backup_locally(string|null $filename, Server $server): void
+function delete_backup_locally(string | null $filename, Server $server): void
{
if (empty($filename)) {
return;
diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php
index adead3cf83..2cbc6dd72c 100644
--- a/resources/views/auth/confirm-password.blade.php
+++ b/resources/views/auth/confirm-password.blade.php
@@ -3,13 +3,13 @@
<div>
<div class="flex flex-col items-center pb-8">
<div class="text-5xl font-bold tracking-tight text-center text-white">Coolify</div>
- <x-version/>
+ <x-version />
</div>
<div class="w-96">
<form action="/user/confirm-password" method="POST" class="flex flex-col gap-2">
@csrf
<x-forms.input required type="password" name="password " label="{{ __('input.password') }}"
- autofocus/>
+ autofocus />
<x-forms.button type="submit">{{ __('auth.confirm_password') }}</x-forms.button>
</form>
@if ($errors->any())
@@ -18,7 +18,7 @@
</div>
@endif
@if (session('status'))
- <div class="mb-4 font-medium text-green-600">
+ <div class="mb-4 font-medium text-green-600">
{{ session('status') }}
</div>
@endif
diff --git a/resources/views/auth/forgot-password.blade.php b/resources/views/auth/forgot-password.blade.php
index b89fed2050..89645e8f5f 100644
--- a/resources/views/auth/forgot-password.blade.php
+++ b/resources/views/auth/forgot-password.blade.php
@@ -5,7 +5,7 @@
<a href="{{ route('dashboard') }}">
<div class="text-5xl font-bold tracking-tight text-center text-white">Coolify</div>
</a>
- <x-version/>
+ <x-version />
</div>
<div class="flex items-center gap-2">
@@ -16,13 +16,13 @@
<form action="/forgot-password" method="POST" class="flex flex-col gap-2">
@csrf
<x-forms.input required value="[email protected]" type="email" name="email"
- label="{{ __('input.email') }}" autofocus/>
+ label="{{ __('input.email') }}" autofocus />
<x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button>
</form>
@else
<div>Transactional emails are not active on this instance.</div>
<div>See how to set it in our <a class="text-white" target="_blank"
- href="https://docs.coollabs.io/coolify">docs</a>, or how to
+ href="https://docs.coollabs.io/coolify">docs</a>, or how to
manually reset password.
</div>
@endif
diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php
index d1a8fefd7d..0a66be6094 100644
--- a/resources/views/auth/login.blade.php
+++ b/resources/views/auth/login.blade.php
@@ -3,7 +3,7 @@
<div class="w-96 min-w-fit">
<div class="flex flex-col items-center pb-8">
<div class="text-5xl font-extrabold tracking-tight text-center text-white">Coolify</div>
- <x-version/>
+ <x-version />
</div>
<div class="flex items-center gap-2">
<h1>{{ __('auth.login') }}</h1>
@@ -17,33 +17,33 @@
<form action="/login" method="POST" class="flex flex-col gap-2">
@csrf
@env('local')
- <x-forms.input value="[email protected]" type="email" name="email"
- label="{{ __('input.email') }}" autofocus/>
+ <x-forms.input value="[email protected]" type="email" name="email"
+ label="{{ __('input.email') }}" autofocus />
- <x-forms.input value="password" type="password" name="password"
- label="{{ __('input.password') }}"/>
- <a href="/forgot-password" class="text-xs">
- {{ __('auth.forgot_password') }}?
- </a>
- @else
- <x-forms.input type="email" name="email" label="{{ __('input.email') }}" autofocus/>
- <x-forms.input type="password" name="password" label="{{ __('input.password') }}"/>
- @endenv
+ <x-forms.input value="password" type="password" name="password"
+ label="{{ __('input.password') }}" />
+ <a href="/forgot-password" class="text-xs">
+ {{ __('auth.forgot_password') }}?
+ </a>
+ @else
+ <x-forms.input type="email" name="email" label="{{ __('input.email') }}" autofocus />
+ <x-forms.input type="password" name="password" label="{{ __('input.password') }}" />
+ @endenv
- <x-forms.button type="submit">{{ __('auth.login') }}</x-forms.button>
- @if (!$is_registration_enabled)
- <div class="text-center ">{{ __('auth.registration_disabled') }}</div>
- @endif
- @if ($errors->any())
- <div class="text-xs text-center text-error">
- <span>{{ __('auth.failed') }}</span>
- </div>
- @endif
- @if (session('status'))
- <div class="mb-4 font-medium text-green-600">
- {{ session('status') }}
- </div>
- @endif
+ <x-forms.button type="submit">{{ __('auth.login') }}</x-forms.button>
+ @if (!$is_registration_enabled)
+ <div class="text-center ">{{ __('auth.registration_disabled') }}</div>
+ @endif
+ @if ($errors->any())
+ <div class="text-xs text-center text-error">
+ <span>{{ __('auth.failed') }}</span>
+ </div>
+ @endif
+ @if (session('status'))
+ <div class="mb-4 font-medium text-green-600">
+ {{ session('status') }}
+ </div>
+ @endif
</form>
</div>
</div>
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php
index 3fafe8c3de..31003d2a90 100644
--- a/resources/views/auth/register.blade.php
+++ b/resources/views/auth/register.blade.php
@@ -3,38 +3,38 @@
<div class="w-1/2">
<div class="flex flex-col items-center pb-8">
<div class="text-5xl font-bold tracking-tight text-center text-white">Coolify</div>
- <x-version/>
+ <x-version />
</div>
<div class="flex items-center gap-2">
<h1>{{ __('auth.register') }}</h1>
<a href="/login"
- class="text-xs text-center text-white normal-case bg-transparent border-none rounded no-animation hover:no-underline btn btn-sm bg-coollabs-gradient">
+ class="text-xs text-center text-white normal-case bg-transparent border-none rounded no-animation hover:no-underline btn btn-sm bg-coollabs-gradient">
{{ __('auth.already_registered') }}
</a>
</div>
<form action="/register" method="POST" class="flex flex-col gap-2">
@csrf
@env('local')
- <x-forms.input required value="test3 normal user" type="text" name="name"
- label="{{ __('input.name') }}"/>
- <x-forms.input required value="[email protected]" type="email" name="email"
- label="{{ __('input.email') }}"/>
- <div class="flex gap-2">
- <x-forms.input required value="password" type="password" name="password"
- label="{{ __('input.password') }}"/>
- <x-forms.input required value="password" type="password" name="password_confirmation"
- label="{{ __('input.password.again') }}"/>
- </div>
- @else
- <x-forms.input required type="text" name="name" label="{{ __('input.name') }}"/>
- <x-forms.input required type="email" name="email" label="{{ __('input.email') }}"/>
- <div class="flex gap-2">
- <x-forms.input required type="password" name="password" label="{{ __('input.password') }}"/>
- <x-forms.input required type="password" name="password_confirmation"
- label="{{ __('input.password.again') }}"/>
- </div>
- @endenv
- <x-forms.button type="submit">{{ __('auth.register') }}</x-forms.button>
+ <x-forms.input required value="test3 normal user" type="text" name="name"
+ label="{{ __('input.name') }}" />
+ <x-forms.input required value="[email protected]" type="email" name="email"
+ label="{{ __('input.email') }}" />
+ <div class="flex gap-2">
+ <x-forms.input required value="password" type="password" name="password"
+ label="{{ __('input.password') }}" />
+ <x-forms.input required value="password" type="password" name="password_confirmation"
+ label="{{ __('input.password.again') }}" />
+ </div>
+ @else
+ <x-forms.input required type="text" name="name" label="{{ __('input.name') }}" />
+ <x-forms.input required type="email" name="email" label="{{ __('input.email') }}" />
+ <div class="flex gap-2">
+ <x-forms.input required type="password" name="password" label="{{ __('input.password') }}" />
+ <x-forms.input required type="password" name="password_confirmation"
+ label="{{ __('input.password.again') }}" />
+ </div>
+ @endenv
+ <x-forms.button type="submit">{{ __('auth.register') }}</x-forms.button>
</form>
@if ($errors->any())
<div class="text-xs text-center text-error">
diff --git a/resources/views/auth/reset-password.blade.php b/resources/views/auth/reset-password.blade.php
index 5a601f6488..dd58d4956b 100644
--- a/resources/views/auth/reset-password.blade.php
+++ b/resources/views/auth/reset-password.blade.php
@@ -5,7 +5,7 @@
<a href="{{ route('dashboard') }}">
<div class="text-5xl font-bold tracking-tight text-center text-white">Coolify</div>
</a>
- <x-version/>
+ <x-version />
</div>
<div class="flex items-center gap-2">
<h1>{{ __('auth.reset_password') }}</h1>
@@ -15,12 +15,12 @@
@csrf
<input hidden id="token" name="token" value="{{ request()->route('token') }}">
<input hidden value="{{ request()->query('email') }}" type="email" name="email"
- label="{{ __('input.email') }}"/>
+ label="{{ __('input.email') }}" />
<div class="flex gap-2">
<x-forms.input required type="password" id="password" name="password"
- label="{{ __('input.password') }}" autofocus/>
+ label="{{ __('input.password') }}" autofocus />
<x-forms.input required type="password" id="password_confirmation" name="password_confirmation"
- label="{{ __('input.password.again') }}"/>
+ label="{{ __('input.password.again') }}" />
</div>
<x-forms.button type="submit">{{ __('auth.reset_password') }}</x-forms.button>
</form>
@@ -30,7 +30,7 @@
</div>
@endif
@if (session('status'))
- <div class="mb-4 font-medium text-green-600">
+ <div class="mb-4 font-medium text-green-600">
{{ session('status') }}
</div>
@endif
diff --git a/resources/views/auth/two-factor-challenge.blade.php b/resources/views/auth/two-factor-challenge.blade.php
index 3bd7c84526..4ec05cdaec 100644
--- a/resources/views/auth/two-factor-challenge.blade.php
+++ b/resources/views/auth/two-factor-challenge.blade.php
@@ -3,7 +3,7 @@
<div>
<div class="flex flex-col items-center pb-8">
<div class="text-5xl font-bold tracking-tight text-center text-white">Coolify</div>
- <x-version/>
+ <x-version />
</div>
<div class="w-96" x-data="{ showRecovery: false }">
<form action="/two-factor-challenge" method="POST" class="flex flex-col gap-2">
@@ -11,9 +11,9 @@
<template x-if="!showRecovery">
<div>
<x-forms.input required type="number" name="code" label="{{ __('input.code') }}"
- autofocus/>
+ autofocus />
<div class="pt-2 text-xs cursor-pointer hover:underline hover:text-white"
- x-on:click="showRecovery = !showRecovery">Use
+ x-on:click="showRecovery = !showRecovery">Use
Recovery Code
</div>
</div>
@@ -21,9 +21,9 @@
<template x-if="showRecovery">
<div>
<x-forms.input required type="text" name="recovery_code "
- label="{{ __('input.recovery_code') }}"/>
+ label="{{ __('input.recovery_code') }}" />
<div class="pt-2 text-xs cursor-pointer hover:underline hover:text-white"
- x-on:click="showRecovery = !showRecovery">Use
+ x-on:click="showRecovery = !showRecovery">Use
One-Time Code
</div>
</div>
@@ -36,7 +36,7 @@
</div>
@endif
@if (session('status'))
- <div class="mb-4 font-medium text-green-600">
+ <div class="mb-4 font-medium text-green-600">
{{ session('status') }}
</div>
@endif
diff --git a/resources/views/command-center.blade.php b/resources/views/command-center.blade.php
index c0473e325b..cd4ed7baa6 100644
--- a/resources/views/command-center.blade.php
+++ b/resources/views/command-center.blade.php
@@ -2,11 +2,11 @@
<h1>Command Center</h1>
<div class="pt-2 pb-10">Execute commands on your servers without leaving the browser.</div>
@if ($servers->count() > 0)
- <livewire:run-command :servers="$servers"/>
+ <livewire:run-command :servers="$servers" />
@else
<div>
<div>No validated servers found.</div>
- <x-use-magic-bar/>
+ <x-use-magic-bar />
</div>
@endif
</x-layout>
diff --git a/resources/views/components/applications/advanced.blade.php b/resources/views/components/applications/advanced.blade.php
index d007c66058..622708103a 100644
--- a/resources/views/components/applications/advanced.blade.php
+++ b/resources/views/components/applications/advanced.blade.php
@@ -1,7 +1,7 @@
<div class="flex items-center gap-2">
<div class="group">
<label tabindex="0" class="flex items-center gap-2 cursor-pointer hover:text-white"> Advanced
- <x-chevron-down/>
+ <x-chevron-down />
</label>
<div class="absolute hidden group-hover:block ">
<ul tabindex="0"
@@ -9,17 +9,17 @@
@if ($application->status === 'running')
<li>
<div class="rounded-none hover:bg-coollabs hover:text-white"
- wire:click='force_deploy_without_cache'>
- <svg xmlns="http://www.w3.org/2000/svg"
- class="w-6 h-6" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
- fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
+ wire:click='force_deploy_without_cache'>
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path
- d="M12.983 8.978c3.955 -.182 7.017 -1.446 7.017 -2.978c0 -1.657 -3.582 -3 -8 -3c-1.661 0 -3.204 .19 -4.483 .515m-2.783 1.228c-.471 .382 -.734 .808 -.734 1.257c0 1.22 1.944 2.271 4.734 2.74"/>
+ d="M12.983 8.978c3.955 -.182 7.017 -1.446 7.017 -2.978c0 -1.657 -3.582 -3 -8 -3c-1.661 0 -3.204 .19 -4.483 .515m-2.783 1.228c-.471 .382 -.734 .808 -.734 1.257c0 1.22 1.944 2.271 4.734 2.74" />
<path
- d="M4 6v6c0 1.657 3.582 3 8 3c.986 0 1.93 -.067 2.802 -.19m3.187 -.82c1.251 -.53 2.011 -1.228 2.011 -1.99v-6"/>
- <path d="M4 12v6c0 1.657 3.582 3 8 3c3.217 0 5.991 -.712 7.261 -1.74m.739 -3.26v-4"/>
- <path d="M3 3l18 18"/>
+ d="M4 6v6c0 1.657 3.582 3 8 3c.986 0 1.93 -.067 2.802 -.19m3.187 -.82c1.251 -.53 2.011 -1.228 2.011 -1.99v-6" />
+ <path d="M4 12v6c0 1.657 3.582 3 8 3c3.217 0 5.991 -.712 7.261 -1.74m.739 -3.26v-4" />
+ <path d="M3 3l18 18" />
</svg>
Force deploy (without
cache)
@@ -28,17 +28,16 @@
@else
<li>
<div class="rounded-none hover:bg-coollabs hover:text-white" wire:click='deploy(true)'>
- <svg
- xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path
- d="M12.983 8.978c3.955 -.182 7.017 -1.446 7.017 -2.978c0 -1.657 -3.582 -3 -8 -3c-1.661 0 -3.204 .19 -4.483 .515m-2.783 1.228c-.471 .382 -.734 .808 -.734 1.257c0 1.22 1.944 2.271 4.734 2.74"/>
+ d="M12.983 8.978c3.955 -.182 7.017 -1.446 7.017 -2.978c0 -1.657 -3.582 -3 -8 -3c-1.661 0 -3.204 .19 -4.483 .515m-2.783 1.228c-.471 .382 -.734 .808 -.734 1.257c0 1.22 1.944 2.271 4.734 2.74" />
<path
- d="M4 6v6c0 1.657 3.582 3 8 3c.986 0 1.93 -.067 2.802 -.19m3.187 -.82c1.251 -.53 2.011 -1.228 2.011 -1.99v-6"/>
- <path d="M4 12v6c0 1.657 3.582 3 8 3c3.217 0 5.991 -.712 7.261 -1.74m.739 -3.26v-4"/>
- <path d="M3 3l18 18"/>
+ d="M4 6v6c0 1.657 3.582 3 8 3c.986 0 1.93 -.067 2.802 -.19m3.187 -.82c1.251 -.53 2.011 -1.228 2.011 -1.99v-6" />
+ <path d="M4 12v6c0 1.657 3.582 3 8 3c3.217 0 5.991 -.712 7.261 -1.74m.739 -3.26v-4" />
+ <path d="M3 3l18 18" />
</svg>
Force deploy (without
cache)
diff --git a/resources/views/components/applications/links.blade.php b/resources/views/components/applications/links.blade.php
index f99fab82e9..9d0a75c707 100644
--- a/resources/views/components/applications/links.blade.php
+++ b/resources/views/components/applications/links.blade.php
@@ -1,15 +1,15 @@
<div class="group">
<label tabindex="0" class="flex items-center gap-2 cursor-pointer hover:text-white"> Links
- <x-chevron-down/>
+ <x-chevron-down />
</label>
<div class="absolute hidden group-hover:block">
<ul tabindex="0" class="relative -ml-24 text-xs text-white normal-case rounded min-w-max menu bg-coolgray-200">
<li>
<a target="_blank"
- class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs hover:text-white"
- href="{{ $application->gitBranchLocation }}">
- <x-git-icon git="{{ $application->source?->getMorphClass() }}"/>
+ class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs hover:text-white"
+ href="{{ $application->gitBranchLocation }}">
+ <x-git-icon git="{{ $application->source?->getMorphClass() }}" />
Git Repository
</a>
</li>
@@ -17,15 +17,15 @@
@foreach (Str::of(data_get($application, 'fqdn'))->explode(',') as $fqdn)
<li>
<a class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs hover:text-white"
- target="_blank" href="{{ $fqdn }}">
+ target="_blank" href="{{ $fqdn }}">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M9 15l6 -6"/>
- <path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"/>
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <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>
@@ -36,15 +36,15 @@
@if (data_get($preview, 'fqdn'))
<li>
<a class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs hover:text-white"
- target="_blank" href="{{ data_get($preview, 'fqdn') }}">
+ target="_blank" href="{{ data_get($preview, 'fqdn') }}">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M9 15l6 -6"/>
- <path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"/>
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <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') }}
@@ -58,15 +58,15 @@
@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] }}">
+ target="_blank" href="http://localhost:{{ explode(':', $port)[0] }}">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M9 15l6 -6"/>
- <path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"/>
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <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>
@@ -74,16 +74,16 @@
@else
<li>
<a class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs hover:text-white"
- target="_blank"
- href="http://{{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }}">
+ target="_blank"
+ href="http://{{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }}">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M9 15l6 -6"/>
- <path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"/>
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <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>
diff --git a/resources/views/components/applications/navbar.blade.php b/resources/views/components/applications/navbar.blade.php
index 26a4ed0349..897c68662b 100644
--- a/resources/views/components/applications/navbar.blade.php
+++ b/resources/views/components/applications/navbar.blade.php
@@ -1,20 +1,20 @@
<div class="navbar-main">
<a class="{{ request()->routeIs('project.application.configuration') ? 'text-white' : '' }}"
- href="{{ route('project.application.configuration', $parameters) }}">
+ href="{{ route('project.application.configuration', $parameters) }}">
<button>Configuration</button>
</a>
<a class="{{ request()->routeIs('project.application.deployments') ? 'text-white' : '' }}"
- href="{{ route('project.application.deployments', $parameters) }}">
+ href="{{ route('project.application.deployments', $parameters) }}">
<button>Deployments</button>
</a>
- <x-applications.links :application="$application"/>
+ <x-applications.links :application="$application" />
<div class="flex-1"></div>
- <x-applications.advanced :application="$application"/>
+ <x-applications.advanced :application="$application" />
@if ($application->status === 'running')
<button wire:click='deploy' class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-warning" viewBox="0 0 24 24" stroke-width="2"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path
d="M10.09 4.01l.496 -.495a2 2 0 0 1 2.828 0l7.071 7.07a2 2 0 0 1 0 2.83l-7.07 7.07a2 2 0 0 1 -2.83 0l-7.07 -7.07a2 2 0 0 1 0 -2.83l3.535 -3.535h-3.988">
@@ -25,7 +25,7 @@
</button>
<button wire:click='stop' class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-error" viewBox="0 0 24 24" stroke-width="2"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M6 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"></path>
<path d="M14 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"></path>
@@ -35,9 +35,9 @@
@else
<button wire:click='deploy' class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-warning" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M7 4v16l13 -8z"/>
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M7 4v16l13 -8z" />
</svg>
Deploy
</button>
diff --git a/resources/views/components/chevron-down.blade.php b/resources/views/components/chevron-down.blade.php
index 1029cd1dbd..85e2e70d30 100644
--- a/resources/views/components/chevron-down.blade.php
+++ b/resources/views/components/chevron-down.blade.php
@@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
- fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M6 9l6 6l6 -6"/>
+ fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M6 9l6 6l6 -6" />
</svg>
diff --git a/resources/views/components/databases/navbar.blade.php b/resources/views/components/databases/navbar.blade.php
index 0ea49ede0a..6d6abcfb9d 100644
--- a/resources/views/components/databases/navbar.blade.php
+++ b/resources/views/components/databases/navbar.blade.php
@@ -1,10 +1,10 @@
<div class="navbar-main">
<a class="{{ request()->routeIs('project.database.configuration') ? 'text-white' : '' }}"
- href="{{ route('project.database.configuration', $parameters) }}">
+ href="{{ route('project.database.configuration', $parameters) }}">
<button>Configuration</button>
</a>
<a class="{{ request()->routeIs('project.database.backups.all') ? 'text-white' : '' }}"
- href="{{ route('project.database.backups.all', $parameters) }}">
+ href="{{ route('project.database.backups.all', $parameters) }}">
<button>Backups</button>
</a>
{{-- <x-applications.links :application="$application" /> --}}
@@ -14,7 +14,7 @@
@if ($database->status === 'running')
<button wire:click='stop' class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-error" viewBox="0 0 24 24" stroke-width="2"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M6 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"></path>
<path d="M14 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"></path>
@@ -23,11 +23,11 @@
</button>
@else
<button wire:click='start' onclick="startDatabase.showModal()"
- class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
+ class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-warning" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M7 4v16l13 -8z"/>
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M7 4v16l13 -8z" />
</svg>
Start
</button>
diff --git a/resources/views/components/forms/button.blade.php b/resources/views/components/forms/button.blade.php
index 34e1ec17f7..a2350bedad 100644
--- a/resources/views/components/forms/button.blade.php
+++ b/resources/views/components/forms/button.blade.php
@@ -1,19 +1,18 @@
<button @disabled($disabled) {{ $attributes->merge(['class' => $defaultClass]) }}
- {{ $attributes->merge(['type' => 'button']) }}
- @isset($confirm)
+ {{ $attributes->merge(['type' => 'button']) }}
+ @isset($confirm)
x-on:click="toggleConfirmModal('{{ $confirm }}', '{{ explode('(', $confirmAction)[0] }}')"
@endisset
- @isset($confirmAction)
+ @isset($confirmAction)
x-on:{{ explode('(', $confirmAction)[0] }}.window="$wire.{{ explode('(', $confirmAction)[0] }}"
@endisset
- @if ($isModal) onclick="{{ $modalId }}.showModal()" @endif>
+ @if ($isModal) onclick="{{ $modalId }}.showModal()" @endif>
{{ $slot }}
@if ($attributes->get('type') === 'submit')
<span wire:target="submit" wire:loading.delay class="loading loading-xs text-warning loading-spinner"></span>
@else
- <span wire:target="{{ explode('(', $attributes->whereStartsWith('wire:click')->first())[0] }}"
- wire:loading.delay
- class="loading loading-xs loading-spinner"></span>
+ <span wire:target="{{ explode('(', $attributes->whereStartsWith('wire:click')->first())[0] }}" wire:loading.delay
+ class="loading loading-xs loading-spinner"></span>
@endif
</button>
diff --git a/resources/views/components/forms/checkbox.blade.php b/resources/views/components/forms/checkbox.blade.php
index 9ff50d9d57..0b7499450a 100644
--- a/resources/views/components/forms/checkbox.blade.php
+++ b/resources/views/components/forms/checkbox.blade.php
@@ -10,9 +10,9 @@
<div class="group w-fit">
<div class="cursor-pointer text-warning">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
- class="w-4 h-4 stroke-current">
+ class="w-4 h-4 stroke-current">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
+ d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
<div class="absolute hidden text-xs group-hover:block border-coolgray-400 bg-coolgray-500">
@@ -24,7 +24,7 @@
@endif
</span>
<input @disabled($disabled) type="checkbox" {{ $attributes->merge(['class' => $defaultClass]) }}
- @if ($instantSave) wire:click='{{ $instantSave === 'instantSave' || $instantSave == '1' ? 'instantSave' : $instantSave }}'
+ @if ($instantSave) wire:click='{{ $instantSave === 'instantSave' || $instantSave == '1' ? 'instantSave' : $instantSave }}'
wire:model.defer={{ $id }} @else wire:model.defer={{ $value ?? $id }} @endif />
</label>
</div>
diff --git a/resources/views/components/forms/input.blade.php b/resources/views/components/forms/input.blade.php
index 16c9f6a2f3..9f4bca9fb1 100644
--- a/resources/views/components/forms/input.blade.php
+++ b/resources/views/components/forms/input.blade.php
@@ -5,7 +5,7 @@
<span class="text-warning">*</span>
@endif
@if ($helper)
- <x-helper :helper="$helper"/>
+ <x-helper :helper="$helper" />
@endif
</label>
@endif
@@ -13,36 +13,33 @@
<div class="relative" x-data>
@if ($allowToPeak)
<div x-on:click="changePasswordFieldType"
- class="absolute inset-y-0 left-0 flex items-center pl-2 cursor-pointer hover:text-white">
+ class="absolute inset-y-0 left-0 flex items-center pl-2 cursor-pointer hover:text-white">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"/>
- <path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6"/>
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
+ <path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" />
</svg>
</div>
@endif
<input {{ $attributes->merge(['class' => $defaultClass . ' pl-10']) }} @required($required)
- wire:model.defer={{ $id }} wire:dirty.class.remove='text-white'
- wire:dirty.class="input-warning" wire:loading.attr="disabled" type="{{ $type }}"
- @readonly($readonly)
- @disabled($disabled) id="{{ $id }}"
- name="{{ $name }}">
+ wire:model.defer={{ $id }} wire:dirty.class.remove='text-white'
+ wire:dirty.class="input-warning" wire:loading.attr="disabled" type="{{ $type }}"
+ @readonly($readonly) @disabled($disabled) id="{{ $id }}" name="{{ $name }}">
</div>
@else
- <input
- {{ $attributes->merge(['class' => $defaultClass]) }} @required($required) @readonly($readonly)
- wire:model.defer={{ $id }} wire:dirty.class.remove='text-white'
- wire:dirty.class="input-warning" wire:loading.attr="disabled" type="{{ $type }}"
- @disabled($disabled) id="{{ $id }}" name="{{ $name }}">
+ <input {{ $attributes->merge(['class' => $defaultClass]) }} @required($required) @readonly($readonly)
+ wire:model.defer={{ $id }} wire:dirty.class.remove='text-white' wire:dirty.class="input-warning"
+ wire:loading.attr="disabled" type="{{ $type }}" @disabled($disabled)
+ id="{{ $id }}" name="{{ $name }}">
@endif
@if (!$label && $helper)
- <x-helper :helper="$helper"/>
+ <x-helper :helper="$helper" />
@endif
@error($id)
- <label class="label">
- <span class="text-red-500 label-text-alt">{{ $message }}</span>
- </label>
+ <label class="label">
+ <span class="text-red-500 label-text-alt">{{ $message }}</span>
+ </label>
@enderror
</div>
diff --git a/resources/views/components/forms/select.blade.php b/resources/views/components/forms/select.blade.php
index 09a9fadb04..ec2e6e5c81 100644
--- a/resources/views/components/forms/select.blade.php
+++ b/resources/views/components/forms/select.blade.php
@@ -5,19 +5,18 @@
<span class="text-warning">*</span>
@endif
@if ($helper)
- <x-helper :helper="$helper"/>
+ <x-helper :helper="$helper" />
@endif
</label>
@endif
- <select
- {{ $attributes->merge(['class' => $defaultClass]) }} @required($required) wire:dirty.class.remove='text-white'
+ <select {{ $attributes->merge(['class' => $defaultClass]) }} @required($required) wire:dirty.class.remove='text-white'
wire:dirty.class="text-black bg-warning" wire:loading.attr="disabled" name={{ $id }}
@if ($attributes->whereStartsWith('wire:model')->first()) {{ $attributes->whereStartsWith('wire:model')->first() }} @else wire:model.defer={{ $id }} @endif>
{{ $slot }}
</select>
@error($id)
- <label class="label">
- <span class="text-red-500 label-text-alt">{{ $message }}</span>
- </label>
+ <label class="label">
+ <span class="text-red-500 label-text-alt">{{ $message }}</span>
+ </label>
@enderror
</div>
diff --git a/resources/views/components/forms/textarea.blade.php b/resources/views/components/forms/textarea.blade.php
index 6841968160..d0deadaf22 100644
--- a/resources/views/components/forms/textarea.blade.php
+++ b/resources/views/components/forms/textarea.blade.php
@@ -14,9 +14,9 @@
<div class="group">
<div class="cursor-pointer text-warning">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
- class="w-4 h-4 stroke-current">
+ class="w-4 h-4 stroke-current">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
+ d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
<div class="absolute hidden text-xs group-hover:block border-coolgray-400 bg-coolgray-500">
@@ -29,13 +29,13 @@
</span>
</label>
@endif
- <textarea placeholder="{{$placeholder}}"
- {{ $attributes->merge(['class' => $defaultClass]) }} wire:model.defer={{ $id }}
- @disabled($disabled) @readonly($readonly) @required($required) id="{{ $id }}" name="{{ $name }}" name={{ $id }}
- wire:model.defer={{ $value ?? $id }} wire:dirty.class="input-warning"></textarea>
+ <textarea placeholder="{{ $placeholder }}" {{ $attributes->merge(['class' => $defaultClass]) }}
+ wire:model.defer={{ $id }} @disabled($disabled) @readonly($readonly) @required($required)
+ id="{{ $id }}" name="{{ $name }}" name={{ $id }} wire:model.defer={{ $value ?? $id }}
+ wire:dirty.class="input-warning"></textarea>
@error($id)
- <label class="label">
- <span class="text-red-500 label-text-alt">{{ $message }}</span>
- </label>
+ <label class="label">
+ <span class="text-red-500 label-text-alt">{{ $message }}</span>
+ </label>
@enderror
</div>
diff --git a/resources/views/components/git-icon.blade.php b/resources/views/components/git-icon.blade.php
index cd97572c6c..47ae8f8bbe 100644
--- a/resources/views/components/git-icon.blade.php
+++ b/resources/views/components/git-icon.blade.php
@@ -4,28 +4,28 @@
@if ($git === 'App\Models\GithubApp')
<svg xmlns="http://www.w3.org/2000/svg" {{ $attributes->merge(['class' => 'w-6 h-6']) }} viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path
- d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"/>
+ d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" />
</svg>
@elseif($git === 'App\Models\GitlabApp')
<svg xmlns="http://www.w3.org/2000/svg" {{ $attributes->merge(['class' => 'w-6 h-6']) }} viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M21 14l-9 7l-9 -7l3 -11l3 7h6l3 -7z"/>
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M21 14l-9 7l-9 -7l3 -11l3 7h6l3 -7z" />
</svg>
@else
<svg xmlns="http://www.w3.org/2000/svg" {{ $attributes->merge(['class' => 'w-6 h-6']) }} viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M16 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"/>
- <path d="M12 8m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"/>
- <path d="M12 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"/>
- <path d="M12 15v-6"/>
- <path d="M15 11l-2 -2"/>
- <path d="M11 7l-1.9 -1.9"/>
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M16 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" />
+ <path d="M12 8m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" />
+ <path d="M12 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" />
+ <path d="M12 15v-6" />
+ <path d="M15 11l-2 -2" />
+ <path d="M11 7l-1.9 -1.9" />
<path
- d="M13.446 2.6l7.955 7.954a2.045 2.045 0 0 1 0 2.892l-7.955 7.955a2.045 2.045 0 0 1 -2.892 0l-7.955 -7.955a2.045 2.045 0 0 1 0 -2.892l7.955 -7.955a2.045 2.045 0 0 1 2.892 0z"/>
+ d="M13.446 2.6l7.955 7.954a2.045 2.045 0 0 1 0 2.892l-7.955 7.955a2.045 2.045 0 0 1 -2.892 0l-7.955 -7.955a2.045 2.045 0 0 1 0 -2.892l7.955 -7.955a2.045 2.045 0 0 1 2.892 0z" />
</svg>
@endif
diff --git a/resources/views/components/helper.blade.php b/resources/views/components/helper.blade.php
index 08da91746a..35d22c2f35 100644
--- a/resources/views/components/helper.blade.php
+++ b/resources/views/components/helper.blade.php
@@ -2,7 +2,7 @@
<div class="cursor-pointer text-warning">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" class="w-4 h-4 stroke-current">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
+ d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
<div class="absolute hidden text-xs rounded group-hover:block border-coolgray-400 bg-coolgray-500">
diff --git a/resources/views/components/layout-simple.blade.php b/resources/views/components/layout-simple.blade.php
index f60d3df565..e4481af859 100644
--- a/resources/views/components/layout-simple.blade.php
+++ b/resources/views/components/layout-simple.blade.php
@@ -7,10 +7,10 @@
<link rel="preconnect" href="https://api.fonts.coollabs.io" crossorigin>
<link href="https://api.fonts.coollabs.io/css2?family=Inter&display=swap" rel="stylesheet">
@env('local')
- <title>Coolify - localhost</title>
+ <title>Coolify - localhost</title>
@endenv
@env('production')
- <title>{{ $title ?? 'Coolify' }}</title>
+ <title>{{ $title ?? 'Coolify' }}</title>
@endenv
<meta name="csrf-token" content="{{ csrf_token() }}">
@vite(['resources/js/app.js', 'resources/css/app.css'])
@@ -23,30 +23,30 @@
</head>
<body>
-@livewireScripts
-<main>
- {{ $slot }}
-</main>
-<x-version class="fixed left-2 bottom-1"/>
-<script>
- function changePasswordFieldType(event) {
- let element = event.target
- for (let i = 0; i < 10; i++) {
- if (element.className === "relative") {
- break;
+ @livewireScripts
+ <main>
+ {{ $slot }}
+ </main>
+ <x-version class="fixed left-2 bottom-1" />
+ <script>
+ function changePasswordFieldType(event) {
+ let element = event.target
+ for (let i = 0; i < 10; i++) {
+ if (element.className === "relative") {
+ break;
+ }
+ element = element.parentElement;
}
- element = element.parentElement;
- }
- element = element.children[1];
- if (element.nodeName === 'INPUT') {
- if (element.type === 'password') {
- element.type = 'text';
- } else {
- element.type = 'password';
+ element = element.children[1];
+ if (element.nodeName === 'INPUT') {
+ if (element.type === 'password') {
+ element.type = 'text';
+ } else {
+ element.type = 'password';
+ }
}
}
- }
-</script>
+ </script>
</body>
</html>
diff --git a/resources/views/components/layout-subscription.blade.php b/resources/views/components/layout-subscription.blade.php
index 26a33f619f..d693b20cb3 100644
--- a/resources/views/components/layout-subscription.blade.php
+++ b/resources/views/components/layout-subscription.blade.php
@@ -7,10 +7,10 @@
<link rel="preconnect" href="https://api.fonts.coollabs.io" crossorigin>
<link href="https://api.fonts.coollabs.io/css2?family=Inter&display=swap" rel="stylesheet">
@env('local')
- <title>Coolify - localhost</title>
+ <title>Coolify - localhost</title>
@endenv
@env('production')
- <title>{{ $title ?? 'Coolify' }}</title>
+ <title>{{ $title ?? 'Coolify' }}</title>
@endenv
<meta name="csrf-token" content="{{ csrf_token() }}">
@vite(['resources/js/app.js', 'resources/css/app.css'])
@@ -23,44 +23,44 @@
</head>
<body>
-@livewireScripts
-<x-toaster-hub/>
-@if (auth()->user()->isInstanceAdmin())
- <div class="fixed top-3 left-4" id="vue">
- <magic-bar></magic-bar>
- </div>
- <x-navbar/>
-@else
- <x-navbar-subscription/>
-@endif
+ @livewireScripts
+ <x-toaster-hub />
+ @if (auth()->user()->isInstanceAdmin())
+ <div class="fixed top-3 left-4" id="vue">
+ <magic-bar></magic-bar>
+ </div>
+ <x-navbar />
+ @else
+ <x-navbar-subscription />
+ @endif
-<main class="main max-w-screen-2xl">
- {{ $slot }}
-</main>
-<x-version class="fixed left-2 bottom-1"/>
-<script>
- function changePasswordFieldType(event) {
- let element = event.target
- for (let i = 0; i < 10; i++) {
- if (element.className === "relative") {
- break;
+ <main class="main max-w-screen-2xl">
+ {{ $slot }}
+ </main>
+ <x-version class="fixed left-2 bottom-1" />
+ <script>
+ function changePasswordFieldType(event) {
+ let element = event.target
+ for (let i = 0; i < 10; i++) {
+ if (element.className === "relative") {
+ break;
+ }
+ element = element.parentElement;
}
- element = element.parentElement;
- }
- element = element.children[1];
- if (element.nodeName === 'INPUT') {
- if (element.type === 'password') {
- element.type = 'text';
- } else {
- element.type = 'password';
+ element = element.children[1];
+ if (element.nodeName === 'INPUT') {
+ if (element.type === 'password') {
+ element.type = 'text';
+ } else {
+ element.type = 'password';
+ }
}
}
- }
- Livewire.on('reloadWindow', () => {
- window.location.reload();
- })
-</script>
+ Livewire.on('reloadWindow', () => {
+ window.location.reload();
+ })
+ </script>
</body>
</html>
diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php
index 5f9daba9ec..33f4096535 100644
--- a/resources/views/components/layout.blade.php
+++ b/resources/views/components/layout.blade.php
@@ -7,12 +7,12 @@
<link rel="preconnect" href="https://api.fonts.coollabs.io" crossorigin>
<link href="https://api.fonts.coollabs.io/css2?family=Inter&display=swap" rel="stylesheet">
@env('local')
- <title>Coolify - localhost</title>
- <link rel="icon" href="{{ asset('favicon-dev.png') }}" type="image/x-icon"/>
+ <title>Coolify - localhost</title>
+ <link rel="icon" href="{{ asset('favicon-dev.png') }}" type="image/x-icon" />
@endenv
@env('production')
- <link rel="icon" href="{{ asset('favicon.png') }}" type="image/x-icon"/>
- <title>{{ $title ?? 'Coolify' }}</title>
+ <link rel="icon" href="{{ asset('favicon.png') }}" type="image/x-icon" />
+ <title>{{ $title ?? 'Coolify' }}</title>
@endenv
<meta name="csrf-token" content="{{ csrf_token() }}">
@vite(['resources/js/app.js', 'resources/css/app.css'])
@@ -25,103 +25,103 @@
</head>
<body>
-@livewireScripts
-@auth
- <x-toaster-hub/>
- <x-navbar/>
- <div class="fixed top-3 left-4" id="vue">
- <magic-bar></magic-bar>
- </div>
- <main class="main max-w-screen-2xl">
- {{ $slot }}
- </main>
- <x-version class="fixed left-2 bottom-1"/>
- <script>
- let checkHealthInterval = null;
- let checkIfIamDeadInterval = null;
+ @livewireScripts
+ @auth
+ <x-toaster-hub />
+ <x-navbar />
+ <div class="fixed top-3 left-4" id="vue">
+ <magic-bar></magic-bar>
+ </div>
+ <main class="main max-w-screen-2xl">
+ {{ $slot }}
+ </main>
+ <x-version class="fixed left-2 bottom-1" />
+ <script>
+ let checkHealthInterval = null;
+ let checkIfIamDeadInterval = null;
- function changePasswordFieldType(event) {
- let element = event.target
- for (let i = 0; i < 10; i++) {
- if (element.className === "relative") {
- break;
+ function changePasswordFieldType(event) {
+ let element = event.target
+ for (let i = 0; i < 10; i++) {
+ if (element.className === "relative") {
+ break;
+ }
+ element = element.parentElement;
}
- element = element.parentElement;
- }
- element = element.children[1];
- if (element.nodeName === 'INPUT') {
- if (element.type === 'password') {
- element.type = 'text';
- } else {
- element.type = 'password';
+ element = element.children[1];
+ if (element.nodeName === 'INPUT') {
+ if (element.type === 'password') {
+ element.type = 'text';
+ } else {
+ element.type = 'password';
+ }
}
}
- }
- function revive() {
- if (checkHealthInterval) return true;
- console.log('Checking server\'s health...')
- checkHealthInterval = setInterval(() => {
- fetch('/api/health')
- .then(response => {
- if (response.ok) {
- Toaster.success('Coolify is back online. Reloading...')
- if (checkHealthInterval) clearInterval(checkHealthInterval);
- setTimeout(() => {
- window.location.reload();
- }, 5000)
- } else {
- console.log('Waiting for server to come back from dead...');
- }
- })
+ function revive() {
+ if (checkHealthInterval) return true;
+ console.log('Checking server\'s health...')
+ checkHealthInterval = setInterval(() => {
+ fetch('/api/health')
+ .then(response => {
+ if (response.ok) {
+ Toaster.success('Coolify is back online. Reloading...')
+ if (checkHealthInterval) clearInterval(checkHealthInterval);
+ setTimeout(() => {
+ window.location.reload();
+ }, 5000)
+ } else {
+ console.log('Waiting for server to come back from dead...');
+ }
+ })
- }, 2000);
- }
+ }, 2000);
+ }
- function upgrade() {
- if (checkIfIamDeadInterval) return true;
- console.log('Update initiated.')
- checkIfIamDeadInterval = setInterval(() => {
- fetch('/api/health')
- .then(response => {
- if (response.ok) {
- console.log('It\'s alive. Waiting for server to be dead...');
- } else {
- Toaster.success('Update done, restarting Coolify!')
- console.log('It\'s dead. Reviving... Standby... Bzz... Bzz...')
- if (checkIfIamDeadInterval) clearInterval(checkIfIamDeadInterval);
- revive();
- }
- })
+ function upgrade() {
+ if (checkIfIamDeadInterval) return true;
+ console.log('Update initiated.')
+ checkIfIamDeadInterval = setInterval(() => {
+ fetch('/api/health')
+ .then(response => {
+ if (response.ok) {
+ console.log('It\'s alive. Waiting for server to be dead...');
+ } else {
+ Toaster.success('Update done, restarting Coolify!')
+ console.log('It\'s dead. Reviving... Standby... Bzz... Bzz...')
+ if (checkIfIamDeadInterval) clearInterval(checkIfIamDeadInterval);
+ revive();
+ }
+ })
- }, 2000);
- }
+ }, 2000);
+ }
- function copyToClipboard(text) {
- navigator.clipboard.writeText(text);
- Livewire.emit('message', 'Copied to clipboard.');
- }
+ function copyToClipboard(text) {
+ navigator.clipboard.writeText(text);
+ Livewire.emit('message', 'Copied to clipboard.');
+ }
- Livewire.on('reloadWindow', () => {
- window.location.reload();
- })
- Livewire.on('info', (message) => {
- if (message) Toaster.info(message)
- })
- Livewire.on('error', (message) => {
- if (message) Toaster.error(message)
- })
- Livewire.on('warning', (message) => {
- if (message) Toaster.warning(message)
- })
- Livewire.on('success', (message) => {
- if (message) Toaster.success(message)
- })
- </script>
-@endauth
-@guest
- {{ $slot }}
-@endguest
+ Livewire.on('reloadWindow', () => {
+ window.location.reload();
+ })
+ Livewire.on('info', (message) => {
+ if (message) Toaster.info(message)
+ })
+ Livewire.on('error', (message) => {
+ if (message) Toaster.error(message)
+ })
+ Livewire.on('warning', (message) => {
+ if (message) Toaster.warning(message)
+ })
+ Livewire.on('success', (message) => {
+ if (message) Toaster.success(message)
+ })
+ </script>
+ @endauth
+ @guest
+ {{ $slot }}
+ @endguest
</body>
</html>
diff --git a/resources/views/components/modal.blade.php b/resources/views/components/modal.blade.php
index d014d821ba..7115154379 100644
--- a/resources/views/components/modal.blade.php
+++ b/resources/views/components/modal.blade.php
@@ -4,9 +4,9 @@
<div class="flex items-start">
<div class="flex items-center justify-center flex-shrink-0 w-10 h-10 mr-4 rounded-full">
<svg class="w-8 h-8 text-error" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" aria-hidden="true">
+ stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round"
- d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"/>
+ d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z" />
</svg>
</div>
<div class="flex flex-col w-full gap-2">
@@ -21,11 +21,11 @@
@else
<div class="flex gap-4 mt-4">
<x-forms.button class="w-24 bg-coolgray-200 hover:bg-coolgray-100" type="button"
- onclick="{{ $modalId }}.close()">Cancel
+ onclick="{{ $modalId }}.close()">Cancel
</x-forms.button>
<div class="flex-1"></div>
<x-forms.button class="w-24" isError type="button"
- wire:click.prevent='{{ $action }}' onclick="{{ $modalId }}.close()">Continue
+ wire:click.prevent='{{ $action }}' onclick="{{ $modalId }}.close()">Continue
</x-forms.button>
</div>
@endif
@@ -34,7 +34,7 @@
</form>
@else
<form method="dialog" class="flex flex-col w-11/12 max-w-5xl gap-2 rounded modal-box"
- wire:submit.prevent='submit'>
+ wire:submit.prevent='submit'>
@isset($modalTitle)
<h3 class="text-lg font-bold">{{ $modalTitle }}</h3>
@endisset
diff --git a/resources/views/components/navbar-subscription.blade.php b/resources/views/components/navbar-subscription.blade.php
index 492841aaf1..08248e61eb 100644
--- a/resources/views/components/navbar-subscription.blade.php
+++ b/resources/views/components/navbar-subscription.blade.php
@@ -5,14 +5,13 @@
<form action="/logout" method="POST" class=" hover:bg-transparent">
@csrf
<button class="flex items-center gap-2 rounded-none hover:text-white hover:bg-transparent">
- <svg
- xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
+ <svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M13 12v.01"/>
- <path d="M3 21h18"/>
- <path d="M5 21v-16a2 2 0 0 1 2 -2h7.5m2.5 10.5v7.5"/>
- <path d="M14 7h7m-3 -3l3 3l-3 3"/>
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M13 12v.01" />
+ <path d="M3 21h18" />
+ <path d="M5 21v-16a2 2 0 0 1 2 -2h7.5m2.5 10.5v7.5" />
+ <path d="M14 7h7m-3 -3l3 3l-3 3" />
</svg>
</button>
</form>
diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.php
index c101556119..2d49017d19 100644
--- a/resources/views/components/navbar.blade.php
+++ b/resources/views/components/navbar.blade.php
@@ -3,39 +3,38 @@
<ul class="flex flex-col h-full gap-4 menu flex-nowrap">
<li title="Dashboard">
<a class="hover:bg-transparent" @if (!request()->is('/')) href="/" @endif>
- <svg xmlns="http://www.w3.org/2000/svg"
- class="{{ request()->is('/') ? 'text-warning icon' : 'icon' }}"
- fill="none" viewBox="0 0 24 24" stroke="currentColor">
+ <svg xmlns="http://www.w3.org/2000/svg" class="{{ request()->is('/') ? 'text-warning icon' : 'icon' }}"
+ fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/>
+ d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />
</svg>
</a>
</li>
<li title="Servers">
<a class="hover:bg-transparent" @if (!request()->is('servers')) href="/servers" @endif>
<svg xmlns="http://www.w3.org/2000/svg"
- class="{{ request()->is('server/*') || request()->is('servers') ? 'text-warning icon' : 'icon' }}"
- viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"/>
- <path d="M15 20h-9a3 3 0 0 1 -3 -3v-2a3 3 0 0 1 3 -3h12"/>
- <path d="M7 8v.01"/>
- <path d="M7 16v.01"/>
- <path d="M20 15l-2 3h3l-2 3"/>
+ class="{{ request()->is('server/*') || request()->is('servers') ? 'text-warning icon' : 'icon' }}"
+ viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z" />
+ <path d="M15 20h-9a3 3 0 0 1 -3 -3v-2a3 3 0 0 1 3 -3h12" />
+ <path d="M7 8v.01" />
+ <path d="M7 16v.01" />
+ <path d="M20 15l-2 3h3l-2 3" />
</svg>
</a>
</li>
<li title="Projects">
<a class="hover:bg-transparent" @if (!request()->is('projects')) href="/projects" @endif>
<svg xmlns="http://www.w3.org/2000/svg"
- class="{{ request()->is('project/*') || request()->is('projects') ? 'text-warning icon' : 'icon' }}"
- viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M12 4l-8 4l8 4l8 -4l-8 -4"/>
- <path d="M4 12l8 4l8 -4"/>
- <path d="M4 16l8 4l8 -4"/>
+ class="{{ request()->is('project/*') || request()->is('projects') ? 'text-warning icon' : 'icon' }}"
+ viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M12 4l-8 4l8 4l8 -4l-8 -4" />
+ <path d="M4 12l8 4l8 -4" />
+ <path d="M4 16l8 4l8 -4" />
</svg>
</a>
</li>
@@ -43,16 +42,14 @@
@if (auth()->user()->isInstanceAdmin())
<li title="Command Center">
- <a class="hover:bg-transparent"
- @if (!request()->is('command-center')) href="/command-center" @endif>
+ <a class="hover:bg-transparent" @if (!request()->is('command-center')) href="/command-center" @endif>
<svg xmlns="http://www.w3.org/2000/svg"
- class="{{ request()->is('command-center') ? 'text-warning icon' : 'icon' }}"
- viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M5 7l5 5l-5 5"/>
- <path d="M12 19l7 0"/>
+ class="{{ request()->is('command-center') ? 'text-warning icon' : 'icon' }}" viewBox="0 0 24 24"
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M5 7l5 5l-5 5" />
+ <path d="M12 19l7 0" />
</svg>
</a>
</li>
@@ -60,40 +57,40 @@
<li title="Profile">
<a class="hover:bg-transparent" @if (!request()->is('profile')) href="/profile" @endif>
<svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"/>
- <path d="M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"/>
- <path d="M6.168 18.849a4 4 0 0 1 3.832 -2.849h4a4 4 0 0 1 3.834 2.855"/>
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" />
+ <path d="M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" />
+ <path d="M6.168 18.849a4 4 0 0 1 3.832 -2.849h4a4 4 0 0 1 3.834 2.855" />
</svg>
</a>
</li>
<li title="Teams">
<a class="hover:bg-transparent" href="{{ route('team.show') }}">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M10 13a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"/>
- <path d="M8 21v-1a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v1"/>
- <path d="M15 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"/>
- <path d="M17 10h2a2 2 0 0 1 2 2v1"/>
- <path d="M5 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"/>
- <path d="M3 13v-1a2 2 0 0 1 2 -2h2"/>
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M10 13a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
+ <path d="M8 21v-1a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v1" />
+ <path d="M15 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
+ <path d="M17 10h2a2 2 0 0 1 2 2v1" />
+ <path d="M5 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
+ <path d="M3 13v-1a2 2 0 0 1 2 -2h2" />
</svg>
</a>
</li>
- <livewire:upgrade/>
+ <livewire:upgrade />
<div class="flex-1"></div>
<li title="Settings" class="mt-auto">
<a class="hover:bg-transparent" @if (!request()->is('settings')) href="/settings" @endif>
<svg xmlns="http://www.w3.org/2000/svg"
- class="{{ request()->is('settings*') ? 'text-warning icon' : 'icon' }}" viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
+ class="{{ request()->is('settings*') ? 'text-warning icon' : 'icon' }}" viewBox="0 0 24 24"
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path
- d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"/>
- <path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"/>
+ d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" />
+ <path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0" />
</svg>
</a>
</li>
@@ -103,14 +100,13 @@
<form action="/logout" method="POST" class=" hover:bg-transparent">
@csrf
<button type="submit" class="rounded-none hover:text-white hover:bg-transparent">
- <svg
- xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
+ <svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M13 12v.01"/>
- <path d="M3 21h18"/>
- <path d="M5 21v-16a2 2 0 0 1 2 -2h7.5m2.5 10.5v7.5"/>
- <path d="M14 7h7m-3 -3l3 3l-3 3"/>
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M13 12v.01" />
+ <path d="M3 21h18" />
+ <path d="M5 21v-16a2 2 0 0 1 2 -2h7.5m2.5 10.5v7.5" />
+ <path d="M14 7h7m-3 -3l3 3l-3 3" />
</svg>
</button>
</form>
diff --git a/resources/views/components/pricing-plans.blade.php b/resources/views/components/pricing-plans.blade.php
index a455f4f977..222d41145e 100644
--- a/resources/views/components/pricing-plans.blade.php
+++ b/resources/views/components/pricing-plans.blade.php
@@ -5,15 +5,15 @@
class="grid grid-cols-2 p-1 text-xs font-semibold leading-5 text-center rounded-full gap-x-1 ring-1 ring-inset ring-coolgray-500">
<legend class="sr-only">Payment frequency</legend>
<label class="cursor-pointer rounded-full px-2.5 py-1"
- :class="selected === 'monthly' ? 'bg-coollabs-100 text-white' : ''">
+ :class="selected === 'monthly' ? 'bg-coollabs-100 text-white' : ''">
<input type="radio" x-on:click="selected = 'monthly'" name="frequency" value="monthly"
- class="sr-only">
+ class="sr-only">
<span>Monthly</span>
</label>
<label class="cursor-pointer rounded-full px-2.5 py-1"
- :class="selected === 'yearly' ? 'bg-coollabs-100 text-white' : ''">
+ :class="selected === 'yearly' ? 'bg-coollabs-100 text-white' : ''">
<input type="radio" x-on:click="selected = 'yearly'" name="frequency" value="annually"
- class="sr-only">
+ class="sr-only">
<span>Annually</span>
</label>
</fieldset>
@@ -47,37 +47,37 @@
<ul role="list" class="space-y-3 text-sm leading-6 ">
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
Same features as the paid version
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
You need to take care of everything
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
If you brave enough, you can do it!
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
Community Support
</li>
@@ -102,37 +102,37 @@
<ul role="list" class="space-y-3 text-sm leading-6 ">
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
1 server
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
Unlimited Deployments
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
30 days of backups
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
Basic Support
</li>
@@ -151,42 +151,42 @@
</span>
</p>
<a href="{{ getSubscriptionLink(2) }}" aria-describedby="tier-essential"
- class="buyme">Subscribe</a>
+ class="buyme">Subscribe</a>
<p class="mt-10 text-sm leading-6 text-white">Scale your business or self-hosting environment.</p>
<ul role="list" class="mt-6 space-y-3 text-sm leading-6 ">
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
5 servers
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
Unlimited Deployments
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
30 days of backups
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
Basic Support
</li>
@@ -206,43 +206,43 @@
</p>
<a href="{{ getSubscriptionLink(3) }}" aria-describedby="tier-growth"
- class="buyme">Subscribe</a>
+ class="buyme">Subscribe</a>
<p class="mt-10 text-sm leading-6 text-white">Deploy complex infrastuctures and
manage them easily in one place.</p>
<ul role="list" class="mt-6 space-y-3 text-sm leading-6 ">
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
Unlimited servers
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
Unlimited deployments
</li>
<li class="flex gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
30 days of backups
</li>
<li class="flex font-bold text-white gap-x-3">
<svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ aria-hidden="true">
<path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
- clip-rule="evenodd"/>
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
+ clip-rule="evenodd" />
</svg>
Priority Support
</li>
diff --git a/resources/views/components/proxy/options.blade.php b/resources/views/components/proxy/options.blade.php
index 336701e305..04a6f04baf 100644
--- a/resources/views/components/proxy/options.blade.php
+++ b/resources/views/components/proxy/options.blade.php
@@ -9,7 +9,7 @@
<div class="mt-4">
<label>
Enable dashboard?
- <input type="checkbox"/>
+ <input type="checkbox" />
(auto-save)
</label>
</div>
@@ -24,7 +24,7 @@
<div class="mt-2"></div>
<label>
<div>Hostname <span class="text-xs"> Eg: dashboard.example.com </span></div>
- <input type="text"/>
+ <input type="text" />
</label>
<button>Update</button>
</label>
@@ -36,11 +36,11 @@
<div class="mt-2"></div>
<label>
Username
- <input type="text"/>
+ <input type="text" />
</label>
<label>
Password
- <input type="password"/>
+ <input type="password" />
</label>
<button>Update</button>
</label>
diff --git a/resources/views/components/resources/breadcrumbs.blade.php b/resources/views/components/resources/breadcrumbs.blade.php
index ba4613e7fa..cb18785814 100644
--- a/resources/views/components/resources/breadcrumbs.blade.php
+++ b/resources/views/components/resources/breadcrumbs.blade.php
@@ -2,29 +2,28 @@
<ol class="flex items-center">
<li class="inline-flex items-center">
<a class="text-xs truncate lg:text-sm"
- href="{{ route('project.show', ['project_uuid' => $this->parameters['project_uuid']]) }}">
+ href="{{ route('project.show', ['project_uuid' => $this->parameters['project_uuid']]) }}">
{{ $resource->environment->project->name }}</a>
</li>
<li>
<div class="flex items-center">
- <svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold text-warning" fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg">
+ <svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold text-warning" fill="currentColor" viewBox="0 0 20 20"
+ xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
- d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
- clip-rule="evenodd"></path>
+ d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
+ clip-rule="evenodd"></path>
</svg>
<a class="text-xs truncate lg:text-sm"
- href="{{ route('project.resources', ['environment_name' => $this->parameters['environment_name'], 'project_uuid' => $this->parameters['project_uuid']]) }}">{{ $this->parameters['environment_name'] }}</a>
+ href="{{ route('project.resources', ['environment_name' => $this->parameters['environment_name'], 'project_uuid' => $this->parameters['project_uuid']]) }}">{{ $this->parameters['environment_name'] }}</a>
</div>
</li>
<li>
<div class="flex items-center">
<svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold text-warning" fill="currentColor"
- viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+ viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
- d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
- clip-rule="evenodd"></path>
+ d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
+ clip-rule="evenodd"></path>
</svg>
<span class="text-xs truncate lg:text-sm">{{ data_get($resource, 'name') }}</span>
</div>
@@ -32,19 +31,19 @@
<li>
<div class="flex items-center">
<svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold text-warning" fill="currentColor"
- viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+ viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
- d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
- clip-rule="evenodd"></path>
+ d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
+ clip-rule="evenodd"></path>
</svg>
</div>
</li>
@if ($resource->status === 'running')
- <x-status.running/>
+ <x-status.running />
@elseif($resource->status === 'restarting')
- <x-status.restarting/>
+ <x-status.restarting />
@else
- <x-status.stopped/>
+ <x-status.stopped />
@endif
</ol>
</nav>
diff --git a/resources/views/components/server/navbar.blade.php b/resources/views/components/server/navbar.blade.php
index 8776207367..499568b1af 100644
--- a/resources/views/components/server/navbar.blade.php
+++ b/resources/views/components/server/navbar.blade.php
@@ -1,35 +1,35 @@
<div class="pb-6">
<div class="flex items-center gap-2">
<h1>Server</h1>
- <livewire:server.proxy.status :server="$server"/>
+ <livewire:server.proxy.status :server="$server" />
</div>
<div class="pt-2 pb-10 ">{{ data_get($server, 'name') }}</div>
<nav class="navbar-main">
<a class="{{ request()->routeIs('server.show') ? 'text-white' : '' }}"
- href="{{ route('server.show', [
+ href="{{ route('server.show', [
'server_uuid' => Route::current()->parameters()['server_uuid'],
]) }}">
<button>General</button>
</a>
<a class="{{ request()->routeIs('server.private-key') ? 'text-white' : '' }}"
- href="{{ route('server.private-key', [
+ href="{{ route('server.private-key', [
'server_uuid' => Route::current()->parameters()['server_uuid'],
]) }}">
<button>Private Key</button>
</a>
<a class="{{ request()->routeIs('server.proxy') ? 'text-white' : '' }}"
- href="{{ route('server.proxy', [
+ href="{{ route('server.proxy', [
'server_uuid' => Route::current()->parameters()['server_uuid'],
]) }}">
<button>Proxy</button>
</a>
<a class="{{ request()->routeIs('server.destinations') ? 'text-white' : '' }}"
- href="{{ route('server.destinations', [
+ href="{{ route('server.destinations', [
'server_uuid' => Route::current()->parameters()['server_uuid'],
]) }}">
<button>Destinations</button>
</a>
<div class="flex-1"></div>
- <livewire:server.proxy.deploy :server="$server"/>
+ <livewire:server.proxy.deploy :server="$server" />
</nav>
</div>
diff --git a/resources/views/components/settings/navbar.blade.php b/resources/views/components/settings/navbar.blade.php
index f7e5ebb948..3d4e591751 100644
--- a/resources/views/components/settings/navbar.blade.php
+++ b/resources/views/components/settings/navbar.blade.php
@@ -3,12 +3,12 @@
<div class="pt-2 pb-10">Instance wide settings for Coolify.</div>
<nav class="navbar-main">
<a class="{{ request()->routeIs('settings.configuration') ? 'text-white' : '' }}"
- href="{{ route('settings.configuration') }}">
+ href="{{ route('settings.configuration') }}">
<button>Configuration</button>
</a>
@if (is_cloud())
<a class="{{ request()->routeIs('settings.license') ? 'text-white' : '' }}"
- href="{{ route('settings.license') }}">
+ href="{{ route('settings.license') }}">
<button>Resale License</button>
</a>
@endif
diff --git a/resources/views/components/status/restarting.blade.php b/resources/views/components/status/restarting.blade.php
index 0bc5d0c62e..b108baab29 100644
--- a/resources/views/components/status/restarting.blade.php
+++ b/resources/views/components/status/restarting.blade.php
@@ -1,7 +1,7 @@
@props([
'text' => 'Stopped',
])
-<x-loading wire:loading.delay/>
+<x-loading wire:loading.delay />
<div class="flex items-center gap-2" wire:loading.remove.delay.longer>
<div class="badge badge-error badge-xs"></div>
<div class="text-xs font-medium tracking-wide text-error">{{ $text }}</div>
diff --git a/resources/views/components/status/running.blade.php b/resources/views/components/status/running.blade.php
index e541ac063b..f3c059e017 100644
--- a/resources/views/components/status/running.blade.php
+++ b/resources/views/components/status/running.blade.php
@@ -1,7 +1,7 @@
@props([
'text' => 'Running',
])
-<x-loading wire:loading.delay.longer/>
+<x-loading wire:loading.delay.longer />
<div class="flex items-center gap-2 " wire:loading.remove.delay.longer>
<div class="badge badge-success badge-xs"></div>
<div class="text-xs font-medium tracking-wide text-success">{{ $text }}</div>
diff --git a/resources/views/components/status/stopped.blade.php b/resources/views/components/status/stopped.blade.php
index 1437403db1..9867e22a13 100644
--- a/resources/views/components/status/stopped.blade.php
+++ b/resources/views/components/status/stopped.blade.php
@@ -1,7 +1,7 @@
@props([
'text' => 'Stopped',
])
-<x-loading wire:loading.delay.longer/>
+<x-loading wire:loading.delay.longer />
<div class="flex items-center gap-2 " wire:loading.remove.delay.longer>
<div class="badge badge-error badge-xs"></div>
<div class="text-xs font-medium tracking-wide text-error">{{ $text }}</div>
diff --git a/resources/views/components/team/navbar.blade.php b/resources/views/components/team/navbar.blade.php
index 77f51d5ea4..91f7e863ed 100644
--- a/resources/views/components/team/navbar.blade.php
+++ b/resources/views/components/team/navbar.blade.php
@@ -10,10 +10,10 @@
@if (session('currentTeam.description'))
<li class="inline-flex items-center">
<svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold text-warning" fill="currentColor"
- viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+ viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
- d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
- clip-rule="evenodd"></path>
+ d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
+ clip-rule="evenodd"></path>
</svg>
<span class="truncate">{{ Str::limit(session('currentTeam.description'), 52) }}</span>
</li>
@@ -28,16 +28,16 @@
<button>Members</button>
</a>
<a class="{{ request()->routeIs('team.storages.all') ? 'text-white' : '' }}"
- href="{{ route('team.storages.all') }}">
+ href="{{ route('team.storages.all') }}">
<button>S3 Storages</button>
</a>
<a class="{{ request()->routeIs('team.notifications') ? 'text-white' : '' }}"
- href="{{ route('team.notifications') }}">
+ href="{{ route('team.notifications') }}">
<button>Notifications</button>
</a>
<div class="flex-1"></div>
<div class="-mt-9">
- <livewire:switch-team/>
+ <livewire:switch-team />
</div>
</nav>
</div>
diff --git a/resources/views/components/use-magic-bar.blade.php b/resources/views/components/use-magic-bar.blade.php
index f6aa901217..45e8828f00 100644
--- a/resources/views/components/use-magic-bar.blade.php
+++ b/resources/views/components/use-magic-bar.blade.php
@@ -2,8 +2,7 @@
@if (isset($link))
Use the magic
bar (press <span class="kbd-custom">/</span>) to create a new one or
- <a href="{{ $link }}"
- class="underline text-warning">
+ <a href="{{ $link }}" class="underline text-warning">
click here
</a>.
@else
diff --git a/resources/views/components/version.blade.php b/resources/views/components/version.blade.php
index 5739300efd..28d5f6206a 100644
--- a/resources/views/components/version.blade.php
+++ b/resources/views/components/version.blade.php
@@ -1,2 +1,2 @@
<a {{ $attributes->merge(['class' => 'text-xs cursor-pointer opacity-20 hover:opacity-100 hover:text-white']) }}
- href="https://github.com/coollabsio/coolify/releases/tag/v{{ config('version') }}">v{{ config('version') }}</a>
+ href="https://github.com/coollabsio/coolify/releases/tag/v{{ config('version') }}">v{{ config('version') }}</a>
diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php
index 75a0b1e269..056a4cd3f1 100644
--- a/resources/views/dashboard.blade.php
+++ b/resources/views/dashboard.blade.php
@@ -23,7 +23,7 @@
</div>
</div>
@if (is_dev())
- <livewire:dev.s3-test/>
- <livewire:dev.scheduled-backups/>
+ <livewire:dev.s3-test />
+ <livewire:dev.scheduled-backups />
@endif
</x-layout>
diff --git a/resources/views/destination/all.blade.php b/resources/views/destination/all.blade.php
index c987c08b73..cd9339c21e 100644
--- a/resources/views/destination/all.blade.php
+++ b/resources/views/destination/all.blade.php
@@ -1,11 +1,11 @@
<x-layout>
<h1>Destinations</h1>
<div class="pt-2 pb-10 ">All Destinations</div>
- <div class="grid lg:grid-cols-2 gap-2">
+ <div class="grid gap-2 lg:grid-cols-2">
@forelse ($destinations as $destination)
@if ($destination->getMorphClass() === 'App\Models\StandaloneDocker')
<a class="flex gap-4 text-center hover:no-underline box group"
- href="{{ route('destination.show', ['destination_uuid' => data_get($destination, 'uuid')]) }}">
+ href="{{ route('destination.show', ['destination_uuid' => data_get($destination, 'uuid')]) }}">
<div class="group-hover:text-white">
<div>{{ $destination->name }}</div>
</div>
@@ -13,7 +13,7 @@
@endif
@if ($destination->getMorphClass() === 'App\Models\SwarmDocker')
<a class="flex gap-4 text-center hover:no-underline box group"
- href="{{ route('destination.show', ['destination_uuid' => data_get($destination, 'uuid')]) }}">
+ href="{{ route('destination.show', ['destination_uuid' => data_get($destination, 'uuid')]) }}">
<div class="group-hover:text-white">
<div>{{ $destination->name }}</div>
@@ -23,7 +23,7 @@
@empty
<div>
<div>No destinations found.</div>
- <x-use-magic-bar/>
+ <x-use-magic-bar />
</div>
@endforelse
</div>
diff --git a/resources/views/destination/new.blade.php b/resources/views/destination/new.blade.php
index e97524991f..37cad6f7aa 100644
--- a/resources/views/destination/new.blade.php
+++ b/resources/views/destination/new.blade.php
@@ -1,3 +1,3 @@
<x-layout>
- <livewire:destination.new.standalone-docker :servers="$servers" :server_id="$server_id"/>
+ <livewire:destination.new.standalone-docker :servers="$servers" :server_id="$server_id" />
</x-layout>
diff --git a/resources/views/destination/show.blade.php b/resources/views/destination/show.blade.php
index 028fb50cb5..ce87114a32 100644
--- a/resources/views/destination/show.blade.php
+++ b/resources/views/destination/show.blade.php
@@ -1,3 +1,3 @@
<x-layout>
- <livewire:destination.form :destination="$destination"/>
+ <livewire:destination.form :destination="$destination" />
</x-layout>
diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php
index f65f0851df..3215b129fb 100644
--- a/resources/views/errors/404.blade.php
+++ b/resources/views/errors/404.blade.php
@@ -13,7 +13,7 @@
</a>
<a target="_blank" class="text-xs" href="https://docs.coollabs.io/contact.html">Contact
support
- <x-external-link/>
+ <x-external-link />
</a>
</div>
</div>
diff --git a/resources/views/errors/419.blade.php b/resources/views/errors/419.blade.php
index 1cc85be8c6..9930090748 100644
--- a/resources/views/errors/419.blade.php
+++ b/resources/views/errors/419.blade.php
@@ -9,9 +9,9 @@
</p>
<div class="flex items-center justify-center mt-10 gap-x-6">
<a href="/"
- class="rounded-md bg-coollabs px-3.5 py-2.5 font-semibold text-white shadow-sm hover:bg-coollabs-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 hover:no-underline">Go
+ class="rounded-md bg-coollabs px-3.5 py-2.5 font-semibold text-white shadow-sm hover:bg-coollabs-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 hover:no-underline">Go
back home</a>
- <a href="https://docs.coollabs.io/contact.html" class=" font-semibold text-white">Contact
+ <a href="https://docs.coollabs.io/contact.html" class="font-semibold text-white ">Contact
support
<span aria-hidden="true">&rarr;</span></a>
</div>
diff --git a/resources/views/errors/layout.blade.php b/resources/views/errors/layout.blade.php
index 6121c95f25..a08d57aebb 100644
--- a/resources/views/errors/layout.blade.php
+++ b/resources/views/errors/layout.blade.php
@@ -45,13 +45,13 @@
</head>
<body>
-<div class="flex-center position-ref full-height">
- <div class="content">
- <div class="title">
- @yield('message')
+ <div class="flex-center position-ref full-height">
+ <div class="content">
+ <div class="title">
+ @yield('message')
+ </div>
</div>
</div>
-</div>
</body>
</html>
diff --git a/resources/views/errors/minimal.blade.php b/resources/views/errors/minimal.blade.php
index 70fc05d6ed..f54e53d102 100644
--- a/resources/views/errors/minimal.blade.php
+++ b/resources/views/errors/minimal.blade.php
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="en">
+
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -35,7 +36,9 @@
line-height: 1.5
}
- *, :after, :before {
+ *,
+ :after,
+ :before {
box-sizing: border-box;
border: 0 solid #e2e8f0
}
@@ -49,7 +52,8 @@
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace
}
- svg, video {
+ svg,
+ video {
display: block;
vertical-align: middle
}
@@ -315,13 +319,14 @@
}
.grid-cols-1 {
- grid-template-columns:repeat(1, minmax(0, 1fr))
+ grid-template-columns: repeat(1, minmax(0, 1fr))
}
@-webkit-keyframes spin {
0% {
transform: rotate(0deg)
}
+
to {
transform: rotate(1turn)
}
@@ -331,6 +336,7 @@
0% {
transform: rotate(0deg)
}
+
to {
transform: rotate(1turn)
}
@@ -341,7 +347,9 @@
transform: scale(1);
opacity: 1
}
- 75%, to {
+
+ 75%,
+ to {
transform: scale(2);
opacity: 0
}
@@ -352,36 +360,47 @@
transform: scale(1);
opacity: 1
}
- 75%, to {
+
+ 75%,
+ to {
transform: scale(2);
opacity: 0
}
}
@-webkit-keyframes pulse {
- 0%, to {
+
+ 0%,
+ to {
opacity: 1
}
+
50% {
opacity: .5
}
}
@keyframes pulse {
- 0%, to {
+
+ 0%,
+ to {
opacity: 1
}
+
50% {
opacity: .5
}
}
@-webkit-keyframes bounce {
- 0%, to {
+
+ 0%,
+ to {
transform: translateY(-25%);
-webkit-animation-timing-function: cubic-bezier(.8, 0, 1, 1);
animation-timing-function: cubic-bezier(.8, 0, 1, 1)
}
+
50% {
transform: translateY(0);
-webkit-animation-timing-function: cubic-bezier(0, 0, .2, 1);
@@ -390,11 +409,14 @@
}
@keyframes bounce {
- 0%, to {
+
+ 0%,
+ to {
transform: translateY(-25%);
-webkit-animation-timing-function: cubic-bezier(.8, 0, 1, 1);
animation-timing-function: cubic-bezier(.8, 0, 1, 1)
}
+
50% {
transform: translateY(0);
-webkit-animation-timing-function: cubic-bezier(0, 0, .2, 1);
@@ -459,7 +481,7 @@
}
.md\:grid-cols-2 {
- grid-template-columns:repeat(2, minmax(0, 1fr))
+ grid-template-columns: repeat(2, minmax(0, 1fr))
}
}
@@ -509,19 +531,22 @@
}
</style>
</head>
-<body class="antialiased">
-<div class="relative flex items-top justify-center min-h-screen bg-gray-100 dark:bg-gray-900 sm:items-center sm:pt-0">
- <div class="max-w-xl mx-auto sm:px-6 lg:px-8">
- <div class="flex items-center pt-8 sm:justify-start sm:pt-0">
- <div class="px-4 text-lg text-gray-500 border-r border-gray-400 tracking-wider">
- @yield('code')
- </div>
- <div class="ml-4 text-lg text-gray-500 uppercase tracking-wider">
- @yield('message')
+<body class="antialiased">
+ <div
+ class="relative flex justify-center min-h-screen bg-gray-100 items-top dark:bg-gray-900 sm:items-center sm:pt-0">
+ <div class="max-w-xl mx-auto sm:px-6 lg:px-8">
+ <div class="flex items-center pt-8 sm:justify-start sm:pt-0">
+ <div class="px-4 text-lg tracking-wider text-gray-500 border-r border-gray-400">
+ @yield('code')
+ </div>
+
+ <div class="ml-4 text-lg tracking-wider text-gray-500 uppercase">
+ @yield('message')
+ </div>
</div>
</div>
</div>
-</div>
</body>
+
</html>
diff --git a/resources/views/livewire/activity-monitor.blade.php b/resources/views/livewire/activity-monitor.blade.php
index 1abf277f30..2b83d863a6 100644
--- a/resources/views/livewire/activity-monitor.blade.php
+++ b/resources/views/livewire/activity-monitor.blade.php
@@ -3,17 +3,16 @@
@if ($this->activity)
@if (isset($header))
<div class="flex gap-2 pb-2">
- <h2>{{$header}}</h2>
+ <h2>{{ $header }}</h2>
@if ($isPollingActive)
- <x-loading/>
+ <x-loading />
@endif
</div>
@endif
<div
- class="scrollbar flex flex-col-reverse w-full overflow-y-auto border border-solid rounded border-coolgray-300 max-h-[32rem] p-4 text-xs text-white">
+ class="scrollbar flex flex-col-reverse w-full overflow-y-auto border border-solid rounded border-coolgray-300 max-h-[32rem] p-4 text-xs text-white">
- <pre class="font-mono whitespace-pre-wrap"
- @if ($isPollingActive) wire:poll.2000ms="polling" @endif>{{ RunRemoteProcess::decodeOutput($this->activity) }}</pre>
+ <pre class="font-mono whitespace-pre-wrap" @if ($isPollingActive) wire:poll.2000ms="polling" @endif>{{ RunRemoteProcess::decodeOutput($this->activity) }}</pre>
</div>
@endif
</div>
diff --git a/resources/views/livewire/check-license.blade.php b/resources/views/livewire/check-license.blade.php
index 6c1c5823f0..093e637fde 100644
--- a/resources/views/livewire/check-license.blade.php
+++ b/resources/views/livewire/check-license.blade.php
@@ -7,10 +7,9 @@
@endif
</div>
<div class="flex gap-2">
- <x-forms.input type="password" id="settings.resale_license"
- placeholder="eg: BE558E91-0CC5-4AA2-B1C0-B6403C2988DD"
- label="License Key"/>
- <x-forms.input type="password" id="instance_id" label="Instance Id (do not change this)" disabled/>
+ <x-forms.input type="password" id="settings.resale_license" placeholder="eg: BE558E91-0CC5-4AA2-B1C0-B6403C2988DD"
+ label="License Key" />
+ <x-forms.input type="password" id="instance_id" label="Instance Id (do not change this)" disabled />
</div>
<div class="flex gap-2">
<x-forms.button type="submit">
diff --git a/resources/views/livewire/destination/form.blade.php b/resources/views/livewire/destination/form.blade.php
index 09828a2606..61b629611a 100644
--- a/resources/views/livewire/destination/form.blade.php
+++ b/resources/views/livewire/destination/form.blade.php
@@ -23,10 +23,10 @@
<div class="pt-2 pb-10 ">Your swarm docker network. WIP</div>
@endif
<div class="flex gap-2">
- <x-forms.input id="destination.name" label="Name"/>
- <x-forms.input id="destination.server.ip" label="Server IP" readonly/>
+ <x-forms.input id="destination.name" label="Name" />
+ <x-forms.input id="destination.server.ip" label="Server IP" readonly />
@if ($destination->getMorphClass() === 'App\Models\StandaloneDocker')
- <x-forms.input id="destination.network" label="Docker Network" readonly/>
+ <x-forms.input id="destination.network" label="Docker Network" readonly />
@endif
</div>
</form>
diff --git a/resources/views/livewire/destination/new/standalone-docker.blade.php b/resources/views/livewire/destination/new/standalone-docker.blade.php
index 777292f866..031ff62d11 100644
--- a/resources/views/livewire/destination/new/standalone-docker.blade.php
+++ b/resources/views/livewire/destination/new/standalone-docker.blade.php
@@ -3,8 +3,8 @@
<div class="pt-2 pb-10 ">Destinations are used to segregate resources by network.</div>
<form class="flex flex-col gap-4" wire:submit.prevent='submit'>
<div class="flex gap-2">
- <x-forms.input id="name" label="Name" required/>
- <x-forms.input id="network" label="Network" required/>
+ <x-forms.input id="name" label="Name" required />
+ <x-forms.input id="network" label="Network" required />
</div>
<x-forms.select id="server_id" label="Select a server" required wire:change="generate_name">
<option disabled>Select a server</option>
diff --git a/resources/views/livewire/dev/s3-test.blade.php b/resources/views/livewire/dev/s3-test.blade.php
index 7e2e8f8379..ff6afa5f12 100644
--- a/resources/views/livewire/dev/s3-test.blade.php
+++ b/resources/views/livewire/dev/s3-test.blade.php
@@ -3,7 +3,7 @@
<form wire:submit.prevent="save">
<input type="file" wire:model="file">
@error('file')
- <span class="error">{{ $message }}</span>
+ <span class="error">{{ $message }}</span>
@enderror
<div wire:loading wire:target="file">Uploading to server...</div>
@if ($file)
diff --git a/resources/views/livewire/dev/scheduled-backups.blade.php b/resources/views/livewire/dev/scheduled-backups.blade.php
index 8e53d40f9a..e1646b1dad 100644
--- a/resources/views/livewire/dev/scheduled-backups.blade.php
+++ b/resources/views/livewire/dev/scheduled-backups.blade.php
@@ -1,13 +1,13 @@
<div>
<h2>Scheduled Databse Backups</h2>
- @foreach($scheduledDatabaseBackup as $backup)
+ @foreach ($scheduledDatabaseBackup as $backup)
<div>
- {{$backup->id}}
- {{$backup->database->id}}
- {{$backup->frequency}}
- {{$backup->database->type()}}
- {{$backup->created_at}}
- {{$backup->updated_at}}
+ {{ $backup->id }}
+ {{ $backup->database->id }}
+ {{ $backup->frequency }}
+ {{ $backup->database->type() }}
+ {{ $backup->created_at }}
+ {{ $backup->updated_at }}
</div>
@endforeach
</div>
diff --git a/resources/views/livewire/notifications/discord-settings.blade.php b/resources/views/livewire/notifications/discord-settings.blade.php
index ba6f182a45..a5f7caf02e 100644
--- a/resources/views/livewire/notifications/discord-settings.blade.php
+++ b/resources/views/livewire/notifications/discord-settings.blade.php
@@ -7,34 +7,33 @@
</x-forms.button>
@if ($model->discord_enabled)
<x-forms.button class="text-white normal-case btn btn-xs no-animation btn-primary"
- wire:click="sendTestNotification">
+ wire:click="sendTestNotification">
Send Test Notifications
</x-forms.button>
@endif
</div>
<div class="w-48">
- <x-forms.checkbox instantSave id="model.discord_enabled" label="Notification Enabled"/>
+ <x-forms.checkbox instantSave id="model.discord_enabled" label="Notification Enabled" />
</div>
<x-forms.input type="password"
- helper="Generate a webhook in Discord.<br>Example: https://discord.com/api/webhooks/...."
- required
- id="model.discord_webhook_url" label="Webhook"/>
+ helper="Generate a webhook in Discord.<br>Example: https://discord.com/api/webhooks/...." required
+ id="model.discord_webhook_url" label="Webhook" />
</form>
@if (data_get($model, 'discord_enabled'))
<h3 class="mt-4">Subscribe to events</h3>
<div class="w-64">
@if (is_dev())
- <x-forms.checkbox instantSave="saveModel" id="model.discord_notifications_test" label="Test"/>
+ <x-forms.checkbox instantSave="saveModel" id="model.discord_notifications_test" label="Test" />
@endif
<h4 class="mt-4">General</h4>
<x-forms.checkbox instantSave="saveModel" id="model.discord_notifications_status_changes"
- label="Container Status Changes"/>
+ label="Container Status Changes" />
<h4 class="mt-4">Applications</h4>
<x-forms.checkbox instantSave="saveModel" id="model.discord_notifications_deployments"
- label="Deployments"/>
+ label="Deployments" />
<h4 class="mt-4">Databases</h4>
<x-forms.checkbox instantSave="saveModel" id="model.discord_notifications_database_backups"
- label="Backup Statuses"/>
+ label="Backup Statuses" />
</div>
@endif
</div>
diff --git a/resources/views/livewire/notifications/email-settings.blade.php b/resources/views/livewire/notifications/email-settings.blade.php
index 775694564d..344264def9 100644
--- a/resources/views/livewire/notifications/email-settings.blade.php
+++ b/resources/views/livewire/notifications/email-settings.blade.php
@@ -1,7 +1,7 @@
<div>
<dialog id="sendTestEmail" class="modal">
<form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit.prevent='submit'>
- <x-forms.input placeholder="[email protected]" id="emails" label="Recepients" required/>
+ <x-forms.input placeholder="[email protected]" id="emails" label="Recepients" required />
<x-forms.button onclick="sendTestEmail.close()" wire:click="sendTestNotification">
Send Email
</x-forms.button>
@@ -23,37 +23,36 @@
@endif
@if ($model->smtp_enabled)
<x-forms.button onclick="sendTestEmail.showModal()"
- class="text-white normal-case btn btn-xs no-animation btn-primary">
+ class="text-white normal-case btn btn-xs no-animation btn-primary">
Send Test Email
</x-forms.button>
@endif
</div>
<div class="w-48">
- <x-forms.checkbox instantSave id="model.smtp_enabled" label="Notification Enabled"/>
+ <x-forms.checkbox instantSave id="model.smtp_enabled" label="Notification Enabled" />
</div>
<div class="flex flex-col gap-4">
<div class="flex flex-col gap-2 xl:flex-row">
<x-forms.input id="model.smtp_recipients"
- placeholder="If empty, all users will be notified in the team."
- helper="Email list to send the all notifications to, separated by comma."
- label="Recipients"/>
+ placeholder="If empty, all users will be notified in the team."
+ helper="Email list to send the all notifications to, separated by comma." label="Recipients" />
</div>
<div class="flex flex-col gap-2 xl:flex-row">
<x-forms.input required id="model.smtp_host" helper="SMTP Hostname" placeholder="smtp.mailgun.org"
- label="Host"/>
- <x-forms.input required id="model.smtp_port" helper="SMTP Port" placeholder="587" label="Port"/>
+ label="Host" />
+ <x-forms.input required id="model.smtp_port" helper="SMTP Port" placeholder="587" label="Port" />
<x-forms.input helper="If SMTP through SSL, set it to 'tls'." placeholder="tls"
- id="model.smtp_encryption" label="Encryption"/>
+ id="model.smtp_encryption" label="Encryption" />
</div>
<div class="flex flex-col gap-2 xl:flex-row">
- <x-forms.input id="model.smtp_username" label="SMTP Username"/>
- <x-forms.input type="password" id="model.smtp_password" label="SMTP Password"/>
- <x-forms.input id="model.smtp_timeout" helper="Timeout value for sending emails." label="Timeout"/>
+ <x-forms.input id="model.smtp_username" label="SMTP Username" />
+ <x-forms.input type="password" id="model.smtp_password" label="SMTP Password" />
+ <x-forms.input id="model.smtp_timeout" helper="Timeout value for sending emails." label="Timeout" />
</div>
<div class="flex flex-col gap-2 xl:flex-row">
- <x-forms.input required id="model.smtp_from_name" helper="Name used in emails." label="From Name"/>
+ <x-forms.input required id="model.smtp_from_name" helper="Name used in emails." label="From Name" />
<x-forms.input required id="model.smtp_from_address" helper="Email address used in emails."
- label="From Address"/>
+ label="From Address" />
</div>
</div>
</form>
@@ -61,17 +60,16 @@
<h4 class="mt-4">Subscribe to events</h4>
<div class="w-64">
@if (is_dev())
- <x-forms.checkbox instantSave="saveModel" id="model.smtp_notifications_test" label="Test"/>
+ <x-forms.checkbox instantSave="saveModel" id="model.smtp_notifications_test" label="Test" />
@endif
<h4 class="mt-4">General</h4>
<x-forms.checkbox instantSave="saveModel" id="model.smtp_notifications_status_changes"
- label="Container Status Changes"/>
+ label="Container Status Changes" />
<h4 class="mt-4">Applications</h4>
- <x-forms.checkbox instantSave="saveModel" id="model.smtp_notifications_deployments"
- label="Deployments"/>
+ <x-forms.checkbox instantSave="saveModel" id="model.smtp_notifications_deployments" label="Deployments" />
<h4 class="mt-4">Databases</h4>
<x-forms.checkbox instantSave="saveModel" id="model.smtp_notifications_database_backups"
- label="Backup Statuses"/>
+ label="Backup Statuses" />
</div>
@endif
</div>
diff --git a/resources/views/livewire/private-key/change.blade.php b/resources/views/livewire/private-key/change.blade.php
index 84f16e787d..26772c4250 100644
--- a/resources/views/livewire/private-key/change.blade.php
+++ b/resources/views/livewire/private-key/change.blade.php
@@ -17,31 +17,31 @@
@endif
</div>
<div class="pb-8">Private Key used for SSH connection</div>
- <x-forms.input id="private_key.name" label="Name" required/>
- <x-forms.input id="private_key.description" label="Description"/>
+ <x-forms.input id="private_key.name" label="Name" required />
+ <x-forms.input id="private_key.description" label="Description" />
<div>
<div class="flex items-end gap-2 py-2 ">
<div class="pl-1 ">Private Key <span class='text-helper'>*</span></div>
<div class="text-xs text-white underline cursor-pointer" x-cloak x-show="!showPrivateKey"
- x-on:click="showPrivateKey = true">
+ x-on:click="showPrivateKey = true">
Edit
</div>
<div class="text-xs text-white underline cursor-pointer" x-cloak x-show="showPrivateKey"
- x-on:click="showPrivateKey = false">
+ x-on:click="showPrivateKey = false">
Hide
</div>
</div>
@if ($private_key->is_git_related)
<div class="w-48">
- <x-forms.checkbox id="private_key.is_git_related" disabled label="Is used by a Git App?"/>
+ <x-forms.checkbox id="private_key.is_git_related" disabled label="Is used by a Git App?" />
</div>
@endif
<div x-cloak x-show="!showPrivateKey">
<x-forms.input allowToPeak="false" type="password" rows="10" id="private_key.private_key" required
- disabled/>
+ disabled />
</div>
<div x-cloak x-show="showPrivateKey">
- <x-forms.textarea rows="10" id="private_key.private_key" required/>
+ <x-forms.textarea rows="10" id="private_key.private_key" required />
</div>
</div>
</form>
diff --git a/resources/views/livewire/private-key/create.blade.php b/resources/views/livewire/private-key/create.blade.php
index 99979c77a1..2c58b47c5a 100644
--- a/resources/views/livewire/private-key/create.blade.php
+++ b/resources/views/livewire/private-key/create.blade.php
@@ -1,11 +1,11 @@
<div>
<form class="flex flex-col gap-2" wire:submit.prevent='createPrivateKey'>
<div class="flex gap-2">
- <x-forms.input id="name" label="Name" required/>
- <x-forms.input id="description" label="Description"/>
+ <x-forms.input id="name" label="Name" required />
+ <x-forms.input id="description" label="Description" />
</div>
<x-forms.textarea id="value" rows="10" placeholder="-----BEGIN OPENSSH PRIVATE KEY-----"
- label="Private Key" required/>
+ label="Private Key" required />
<x-forms.button type="submit">
Save Private Key
</x-forms.button>
diff --git a/resources/views/livewire/profile/form.blade.php b/resources/views/livewire/profile/form.blade.php
index 21b4e19518..343624f00b 100644
--- a/resources/views/livewire/profile/form.blade.php
+++ b/resources/views/livewire/profile/form.blade.php
@@ -5,8 +5,8 @@
<x-forms.button type="submit" label="Save">Save</x-forms.button>
</div>
<div class="flex gap-2">
- <x-forms.input id="name" label="Name" required/>
- <x-forms.input id="email" label="Email" readonly/>
+ <x-forms.input id="name" label="Name" required />
+ <x-forms.input id="email" label="Email" readonly />
</div>
</form>
</div>
diff --git a/resources/views/livewire/project/add-empty.blade.php b/resources/views/livewire/project/add-empty.blade.php
index ae44003177..09ac3db35e 100644
--- a/resources/views/livewire/project/add-empty.blade.php
+++ b/resources/views/livewire/project/add-empty.blade.php
@@ -1,7 +1,7 @@
<dialog id="newEmptyProject" class="modal">
<form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit.prevent='submit'>
- <x-forms.input placeholder="Your Cool Project" id="name" label="Name" required/>
- <x-forms.input placeholder="This is my cool project everyone knows about" id="description" label="Description"/>
+ <x-forms.input placeholder="Your Cool Project" id="name" label="Name" required />
+ <x-forms.input placeholder="This is my cool project everyone knows about" id="description" label="Description" />
<x-forms.button onclick="newEmptyProject.close()" type="submit">
Save
</x-forms.button>
diff --git a/resources/views/livewire/project/add-environment.blade.php b/resources/views/livewire/project/add-environment.blade.php
index 8f55e97b55..1ae87fce00 100644
--- a/resources/views/livewire/project/add-environment.blade.php
+++ b/resources/views/livewire/project/add-environment.blade.php
@@ -1,6 +1,6 @@
<dialog id="newEnvironment" class="modal">
<form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit.prevent='submit'>
- <x-forms.input placeholder="production" id="name" label="Name" required/>
+ <x-forms.input placeholder="production" id="name" label="Name" required />
<x-forms.button onclick="newEnvironment.close()" type="submit">
Save
</x-forms.button>
diff --git a/resources/views/livewire/project/application/deployment-logs.blade.php b/resources/views/livewire/project/application/deployment-logs.blade.php
index 82d657d533..888c9d18b7 100644
--- a/resources/views/livewire/project/application/deployment-logs.blade.php
+++ b/resources/views/livewire/project/application/deployment-logs.blade.php
@@ -1,10 +1,10 @@
<div class="pt-4">
- <livewire:project.application.deployment-navbar :application_deployment_queue="$application_deployment_queue"/>
+ <livewire:project.application.deployment-navbar :application_deployment_queue="$application_deployment_queue" />
@if (data_get($application_deployment_queue, 'status') === 'in_progress')
<div class="flex items-center gap-1 pt-2 ">Deployment is
<div class="text-warning"> {{ Str::headline(data_get($this->application_deployment_queue, 'status')) }}.
</div>
- <x-loading class="loading-ring"/>
+ <x-loading class="loading-ring" />
</div>
<div class="">Logs will be updated automatically.</div>
@else
@@ -13,7 +13,7 @@
</div>
@endif
<div @if ($isKeepAliveOn) wire:poll.2000ms="polling" @endif
- class="scrollbar flex flex-col-reverse w-full overflow-y-auto border border-dotted rounded border-coolgray-400 max-h-[32rem] p-2 px-4 mt-4 text-xs">
+ class="scrollbar flex flex-col-reverse w-full overflow-y-auto border border-dotted rounded border-coolgray-400 max-h-[32rem] p-2 px-4 mt-4 text-xs">
<span class="flex flex-col">
@if (decode_remote_command_output($application_deployment_queue)->count() > 0)
@foreach (decode_remote_command_output($application_deployment_queue) as $line)
@@ -24,7 +24,9 @@
'text-warning' => $line['hidden'],
])>[{{ $line['timestamp'] }}] @if ($line['hidden'])
<br>Command: {{ $line['command'] }} <br>Output:
- @endif{{ $line['output'] }}@if ($line['hidden']) @endif</div>
+ @endif{{ $line['output'] }}@if ($line['hidden'])
+ @endif
+ </div>
@endforeach
@else
<span class="font-mono text-neutral-400">No logs yet.</span>
diff --git a/resources/views/livewire/project/application/deployments.blade.php b/resources/views/livewire/project/application/deployments.blade.php
index 34498651a0..a8de050fc0 100644
--- a/resources/views/livewire/project/application/deployments.blade.php
+++ b/resources/views/livewire/project/application/deployments.blade.php
@@ -6,55 +6,54 @@
@endif
@foreach ($deployments as $deployment)
<a @class([
- 'bg-coolgray-200 p-2 border-l border-dashed transition-colors hover:no-underline',
- 'cursor-not-allowed hover:bg-coolgray-200' =>
- data_get($deployment, 'status') === 'queued' ||
- data_get($deployment, 'status') === 'cancelled by system',
- 'border-warning hover:bg-warning hover:text-black' =>
- data_get($deployment, 'status') === 'in_progress',
- 'border-error hover:bg-error' =>
- data_get($deployment, 'status') === 'error',
- 'border-success hover:bg-success' =>
- data_get($deployment, 'status') === 'finished',
- ]) @if (data_get($deployment, 'status') !== 'cancelled by system' && data_get($deployment, 'status') !== 'queued')
+ 'bg-coolgray-200 p-2 border-l border-dashed transition-colors hover:no-underline',
+ 'cursor-not-allowed hover:bg-coolgray-200' =>
+ data_get($deployment, 'status') === 'queued' ||
+ data_get($deployment, 'status') === 'cancelled by system',
+ 'border-warning hover:bg-warning hover:text-black' =>
+ data_get($deployment, 'status') === 'in_progress',
+ 'border-error hover:bg-error' =>
+ data_get($deployment, 'status') === 'error',
+ 'border-success hover:bg-success' =>
+ data_get($deployment, 'status') === 'finished',
+ ]) @if (data_get($deployment, 'status') !== 'cancelled by system' && data_get($deployment, 'status') !== 'queued')
href="{{ $current_url . '/' . data_get($deployment, 'deployment_uuid') }}"
- @endif
- class="hover:no-underline">
- <div class="flex flex-col justify-start">
- <div>
- {{ $deployment->id }} <span class=" text-warning">></span> {{ $deployment->deployment_uuid }}
- <span class=" text-warning">></span>
- {{ $deployment->status }}
- </div>
- @if (data_get($deployment, 'pull_request_id'))
- <div>
- Pull Request #{{ data_get($deployment, 'pull_request_id') }}
- @if (data_get($deployment, 'is_webhook'))
- (Webhook)
- @endif
- </div>
- @elseif (data_get($deployment, 'is_webhook'))
- <div>Webhook (sha
- @if (data_get($deployment, 'commit'))
- {{ data_get($deployment, 'commit') }})
- @else
- HEAD)
- @endif
- </div>
+ @endif
+ class="hover:no-underline">
+ <div class="flex flex-col justify-start">
+ <div>
+ {{ $deployment->id }} <span class=" text-warning">></span> {{ $deployment->deployment_uuid }}
+ <span class=" text-warning">></span>
+ {{ $deployment->status }}
+ </div>
+ @if (data_get($deployment, 'pull_request_id'))
+ <div>
+ Pull Request #{{ data_get($deployment, 'pull_request_id') }}
+ @if (data_get($deployment, 'is_webhook'))
+ (Webhook)
+ @endif
+ </div>
+ @elseif (data_get($deployment, 'is_webhook'))
+ <div>Webhook (sha
+ @if (data_get($deployment, 'commit'))
+ {{ data_get($deployment, 'commit') }})
+ @else
+ HEAD)
+ @endif
+ </div>
+ @endif
+ <div class="flex flex-col" x-data="elapsedTime('{{ $deployment->deployment_uuid }}', '{{ $deployment->status }}', '{{ $deployment->created_at }}', '{{ $deployment->updated_at }}')">
+ <div>
+ @if ($deployment->status !== 'in_progress')
+ Finished <span x-text="measure_since_started()">0s</span> in
+ @else
+ Running for
@endif
- <div class="flex flex-col"
- x-data="elapsedTime('{{ $deployment->deployment_uuid }}', '{{ $deployment->status }}', '{{ $deployment->created_at }}', '{{ $deployment->updated_at }}')">
- <div>
- @if ($deployment->status !== 'in_progress')
- Finished <span x-text="measure_since_started()">0s</span> in
- @else
- Running for
- @endif
- <span class="font-bold" x-text="measure_finished_time()">0s</span>
- </div>
- </div>
+ <span class="font-bold" x-text="measure_finished_time()">0s</span>
</div>
- </a>
+ </div>
+ </div>
+ </a>
@endforeach
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/utc.js"></script>
diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php
index 9918e2f1f6..614446478a 100644
--- a/resources/views/livewire/project/application/general.blade.php
+++ b/resources/views/livewire/project/application/general.blade.php
@@ -9,11 +9,11 @@
<div class="">General configuration for your application.</div>
<div class="flex flex-col gap-2 py-4">
<div class="flex flex-col items-end gap-2 xl:flex-row">
- <x-forms.input id="application.name" label="Name" required/>
- <x-forms.input id="application.description" label="Description"/>
+ <x-forms.input id="application.name" label="Name" required />
+ <x-forms.input id="application.description" label="Description" />
</div>
<x-forms.input placeholder="https://coolify.io" id="application.fqdn" label="Domains"
- helper="You can specify one domain with path or more with comma.<br><span class='text-helper'>Example</span>- http://app.coolify.io, https://cloud.coolify.io/dashboard<br>- http://app.coolify.io/api/v3"/>
+ helper="You can specify one domain with path or more with comma.<br><span class='text-helper'>Example</span>- http://app.coolify.io, https://cloud.coolify.io/dashboard<br>- http://app.coolify.io/api/v3" />
@if ($wildcard_domain)
<div class="flex flex-row gap-2">
@if ($global_wildcard_domain)
@@ -39,48 +39,48 @@
@endif
<h3>Build</h3>
<div class="flex flex-col gap-2 xl:flex-row">
- <x-forms.input placeholder="pnpm install" id="application.install_command" label="Install Command"/>
- <x-forms.input placeholder="pnpm build" id="application.build_command" label="Build Command"/>
- <x-forms.input placeholder="pnpm start" id="application.start_command" label="Start Command"/>
+ <x-forms.input placeholder="pnpm install" id="application.install_command" label="Install Command" />
+ <x-forms.input placeholder="pnpm build" id="application.build_command" label="Build Command" />
+ <x-forms.input placeholder="pnpm start" id="application.start_command" label="Start Command" />
</div>
<div class="flex flex-col gap-2 xl:flex-row">
<x-forms.input placeholder="/" id="application.base_directory" label="Base Directory"
- helper="Directory to use as root. Useful for monorepos. WIP" disabled/>
+ helper="Directory to use as root. Useful for monorepos. WIP" disabled />
@if ($application->settings->is_static)
<x-forms.input placeholder="/dist" id="application.publish_directory" label="Publish Directory"
- required/>
+ required />
@else
- <x-forms.input placeholder="/" id="application.publish_directory" label="Publish Directory"/>
+ <x-forms.input placeholder="/" id="application.publish_directory" label="Publish Directory" />
@endif
</div>
<h3>Network</h3>
<div class="flex flex-col gap-2 xl:flex-row">
@if ($application->settings->is_static)
- <x-forms.input id="application.ports_exposes" label="Ports Exposes" readonly/>
+ <x-forms.input id="application.ports_exposes" label="Ports Exposes" readonly />
@else
<x-forms.input placeholder="3000,3001" id="application.ports_exposes" label="Ports Exposes" required
- helper="A comma separated list of ports you would like to expose for the proxy."/>
+ helper="A comma separated list of ports you would like to expose for the proxy." />
@endif
<x-forms.input placeholder="3000:3000" id="application.ports_mappings" label="Ports Mappings"
- helper="A comma separated list of ports you would like to map to the host system. Useful when you do not want to use domains.<br><span class='inline-block font-bold text-warning'>Example</span>3000:3000,3002:3002"/>
+ helper="A comma separated list of ports you would like to map to the host system. Useful when you do not want to use domains.<br><span class='inline-block font-bold text-warning'>Example</span>3000:3000,3002:3002" />
</div>
</div>
<h3>Advanced</h3>
<div class="flex flex-col">
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?"
- helper="If your application is a static site or the final build assets should be served as a static site, enable this."/>
+ helper="If your application is a static site or the final build assets should be served as a static site, enable this." />
<x-forms.checkbox
helper="Your application will be available only on https if your domain starts with https://..."
- instantSave id="is_force_https_enabled" label="Force Https"/>
+ instantSave id="is_force_https_enabled" label="Force Https" />
<x-forms.checkbox helper="Automatically deploy new commits based on Git webhooks." instantSave
- id="is_auto_deploy_enabled" label="Auto Deploy"/>
+ id="is_auto_deploy_enabled" label="Auto Deploy" />
<x-forms.checkbox
helper="Allow to automatically deploy Preview Deployments for all opened PR's.<br><br>Closing a PR will delete Preview Deployments."
- instantSave id="is_preview_deployments_enabled" label="Previews Deployments"/>
+ instantSave id="is_preview_deployments_enabled" label="Previews Deployments" />
<x-forms.checkbox instantSave id="is_git_submodules_enabled" label="Git Submodules"
- helper="Allow Git Submodules during build process."/>
+ helper="Allow Git Submodules during build process." />
<x-forms.checkbox instantSave id="is_git_lfs_enabled" label="Git LFS"
- helper="Allow Git LFS during build process."/>
+ helper="Allow Git LFS during build process." />
{{-- <x-forms.checkbox disabled instantSave id="is_dual_cert" label="Dual Certs?" />
<x-forms.checkbox disabled instantSave id="is_custom_ssl" label="Is Custom SSL?" />
<x-forms.checkbox disabled instantSave id="is_http2" label="Is Http2?" /> --}}
diff --git a/resources/views/livewire/project/application/heading.blade.php b/resources/views/livewire/project/application/heading.blade.php
index 683ec515d4..ca76d38e81 100644
--- a/resources/views/livewire/project/application/heading.blade.php
+++ b/resources/views/livewire/project/application/heading.blade.php
@@ -1,4 +1,4 @@
<nav x-init="$wire.check_status" wire:poll.10000ms="check_status">
- <x-resources.breadcrumbs :resource="$application" :parameters="$parameters"/>
- <x-applications.navbar :application="$application" :parameters="$parameters"/>
+ <x-resources.breadcrumbs :resource="$application" :parameters="$parameters" />
+ <x-applications.navbar :application="$application" :parameters="$parameters" />
</nav>
diff --git a/resources/views/livewire/project/application/preview/form.blade.php b/resources/views/livewire/project/application/preview/form.blade.php
index 2e30dd11a4..e93d2f97cc 100644
--- a/resources/views/livewire/project/application/preview/form.blade.php
+++ b/resources/views/livewire/project/application/preview/form.blade.php
@@ -7,7 +7,7 @@
<div class="pb-4 ">Preview Deployments based on pull requests are here.</div>
<div class="flex flex-col gap-2 pb-4">
<x-forms.input id="application.preview_url_template" label="Preview URL Template"
- helper="Templates:<span class='text-helper'>@@{{ random }}</span> to generate random sub-domain each time a PR is deployed, <span class='text-helper'>@@{{ pr_id }}</span> to use pull request ID as sub-domain or <span class='text-helper'>@@{{ domain }}</span> to replace the domain name with the application's domain name."/>
+ helper="Templates:<span class='text-helper'>@@{{ random }}</span> to generate random sub-domain each time a PR is deployed, <span class='text-helper'>@@{{ pr_id }}</span> to use pull request ID as sub-domain or <span class='text-helper'>@@{{ domain }}</span> to replace the domain name with the application's domain name." />
<div class="">Domain Preview: {{ $preview_url_template }}</div>
</div>
</form>
diff --git a/resources/views/livewire/project/application/previews.blade.php b/resources/views/livewire/project/application/previews.blade.php
index 5ccc593578..89e3e8a23e 100644
--- a/resources/views/livewire/project/application/previews.blade.php
+++ b/resources/views/livewire/project/application/previews.blade.php
@@ -1,5 +1,5 @@
<div>
- <livewire:project.application.preview.form :application="$application"/>
+ <livewire:project.application.preview.form :application="$application" />
<div>
<div class="flex items-center gap-2">
<h3>Pull Requests on Git</h3>
@@ -14,33 +14,33 @@
<div class="overflow-x-auto table-md">
<table>
<thead>
- <tr>
- <th>PR Number</th>
- <th>PR Title</th>
- <th>Git</th>
- <th>Actions</th>
- </tr>
- </thead>
- <tbody>
- @foreach ($pull_requests as $pull_request)
<tr>
- <th>{{ data_get($pull_request, 'number') }}</th>
- <td>{{ data_get($pull_request, 'title') }}</td>
- <td>
- <a target="_blank" class="text-xs"
- href="{{ data_get($pull_request, 'html_url') }}">Open PR on
- Git
- <x-external-link/>
- </a>
- </td>
- <td>
- <x-forms.button
- wire:click="deploy('{{ data_get($pull_request, 'number') }}', '{{ data_get($pull_request, 'html_url') }}')">
- Deploy
- </x-forms.button>
- </td>
+ <th>PR Number</th>
+ <th>PR Title</th>
+ <th>Git</th>
+ <th>Actions</th>
</tr>
- @endforeach
+ </thead>
+ <tbody>
+ @foreach ($pull_requests as $pull_request)
+ <tr>
+ <th>{{ data_get($pull_request, 'number') }}</th>
+ <td>{{ data_get($pull_request, 'title') }}</td>
+ <td>
+ <a target="_blank" class="text-xs"
+ href="{{ data_get($pull_request, 'html_url') }}">Open PR on
+ Git
+ <x-external-link />
+ </a>
+ </td>
+ <td>
+ <x-forms.button
+ wire:click="deploy('{{ data_get($pull_request, 'number') }}', '{{ data_get($pull_request, 'html_url') }}')">
+ Deploy
+ </x-forms.button>
+ </td>
+ </tr>
+ @endforeach
</tbody>
</table>
</div>
@@ -51,24 +51,23 @@
<h4 class="py-4" wire:poll.10000ms='previewRefresh'>Deployed Previews</h4>
<div class="flex gap-6 ">
@foreach ($application->previews as $preview)
- <div class="flex flex-col p-4 bg-coolgray-200 "
- x-init="$wire.loadStatus('{{ data_get($preview, 'pull_request_id') }}')">
+ <div class="flex flex-col p-4 bg-coolgray-200 " x-init="$wire.loadStatus('{{ data_get($preview, 'pull_request_id') }}')">
<div class="flex gap-2">PR #{{ data_get($preview, 'pull_request_id') }} |
@if (data_get($preview, 'status') === 'running')
- <x-status.running/>
+ <x-status.running />
@elseif (data_get($preview, 'status') === 'restarting')
- <x-status.restarting/>
+ <x-status.restarting />
@else
- <x-status.stopped/>
+ <x-status.stopped />
@endif
@if (data_get($preview, 'status') !== 'exited')
| <a target="_blank" href="{{ data_get($preview, 'fqdn') }}">Open Preview
- <x-external-link/>
+ <x-external-link />
</a>
@endif
|
<a target="_blank" href="{{ data_get($preview, 'pull_request_html_url') }}">Open PR on Git
- <x-external-link/>
+ <x-external-link />
</a>
</div>
<div class="flex items-center gap-2 pt-6">
diff --git a/resources/views/livewire/project/application/source.blade.php b/resources/views/livewire/project/application/source.blade.php
index 6c845cbdb6..143260e76a 100644
--- a/resources/views/livewire/project/application/source.blade.php
+++ b/resources/views/livewire/project/application/source.blade.php
@@ -6,20 +6,20 @@
<a target="_blank" class="hover:no-underline" href="{{ $application?->gitBranchLocation }}">
<x-forms.button>
Open Repository
- <x-external-link/>
+ <x-external-link />
</x-forms.button>
</a>
@if (!$application->source->is_public)
<a target="_blank" class="hover:no-underline" href="{{ get_installation_path($application->source) }}">
<x-forms.button>
Open Git App
- <x-external-link/>
+ <x-external-link />
</x-forms.button>
</a>
@endif
<a target="_blank" class="flex hover:no-underline" href="{{ $application?->gitCommits }}">
<x-forms.button>Open Commits on Git
- <x-external-link/>
+ <x-external-link />
</x-forms.button>
</a>
</div>
@@ -27,11 +27,11 @@
<div class="flex gap-2">
<x-forms.input placeholder="coollabsio/coolify-example" id="application.git_repository"
- label="Repository"/>
- <x-forms.input placeholder="main" id="application.git_branch" label="Branch"/>
+ label="Repository" />
+ <x-forms.input placeholder="main" id="application.git_branch" label="Branch" />
</div>
<div class="flex items-end gap-2">
- <x-forms.input placeholder="HEAD" id="application.git_commit_sha" placeholder="HEAD" label="Commit SHA"/>
+ <x-forms.input placeholder="HEAD" id="application.git_commit_sha" placeholder="HEAD" label="Commit SHA" />
</div>
@isset($application->private_key_id)
diff --git a/resources/views/livewire/project/database/backup-edit.blade.php b/resources/views/livewire/project/database/backup-edit.blade.php
index d0b9b7117f..8644b026bc 100644
--- a/resources/views/livewire/project/database/backup-edit.blade.php
+++ b/resources/views/livewire/project/database/backup-edit.blade.php
@@ -9,21 +9,21 @@
@endif
</div>
<div class="w-32 pb-2">
- <x-forms.checkbox instantSave label="Backup Enabled" id="backup.enabled"/>
- <x-forms.checkbox instantSave label="S3 Enabled" id="backup.save_s3"/>
+ <x-forms.checkbox instantSave label="Backup Enabled" id="backup.enabled" />
+ <x-forms.checkbox instantSave label="S3 Enabled" id="backup.save_s3" />
</div>
- @if($backup->save_s3)
+ @if ($backup->save_s3)
<div class="pb-6">
<x-forms.select id="backup.s3_storage_id" label="S3 Storage" required>
<option value="default" disabled>Select a S3 storage</option>
- @foreach($s3s as $s3)
+ @foreach ($s3s as $s3)
<option value="{{ $s3->id }}">{{ $s3->name }}</option>
@endforeach
</x-forms.select>
</div>
@endif
<div class="flex gap-2">
- <x-forms.input label="Frequency" id="backup.frequency"/>
- <x-forms.input label="Number of backups to keep (locally)" id="backup.number_of_backups_locally"/>
+ <x-forms.input label="Frequency" id="backup.frequency" />
+ <x-forms.input label="Number of backups to keep (locally)" id="backup.number_of_backups_locally" />
</div>
</form>
diff --git a/resources/views/livewire/project/database/backup-execution.blade.php b/resources/views/livewire/project/database/backup-execution.blade.php
index c8d73525e4..60bda3d877 100644
--- a/resources/views/livewire/project/database/backup-execution.blade.php
+++ b/resources/views/livewire/project/database/backup-execution.blade.php
@@ -1,7 +1,7 @@
<div class="flex gap-2">
<div class="flex-1"></div>
- {{-- @if(data_get($execution,'status') !== 'failed')--}}
- {{-- <x-forms.button class="bg-coollabs-100 hover:bg-coollabs" wire:click="download">Download</x-forms.button>--}}
- {{-- @endif--}}
+ {{-- @if (data_get($execution, 'status') !== 'failed') --}}
+ {{-- <x-forms.button class="bg-coollabs-100 hover:bg-coollabs" wire:click="download">Download</x-forms.button> --}}
+ {{-- @endif --}}
<x-forms.button isError wire:click="delete">Delete</x-forms.button>
</div>
diff --git a/resources/views/livewire/project/database/backup-executions.blade.php b/resources/views/livewire/project/database/backup-executions.blade.php
index 0b7c093973..83ae8f1d13 100644
--- a/resources/views/livewire/project/database/backup-executions.blade.php
+++ b/resources/views/livewire/project/database/backup-executions.blade.php
@@ -1,20 +1,19 @@
-<div class="flex flex-col gap-2 flex-col-reverse">
+<div class="flex flex-col flex-col-reverse gap-2">
@forelse($executions as $execution)
- <form class="border-1 bg-coolgray-300 p-2 border-dotted flex flex-col"
- @class([
- 'border-green-500' => data_get($execution,'status') === 'success',
- 'border-red-500' => data_get($execution,'status') === 'failed',
- ])>
- <div>Started At: {{data_get($execution,'created_at')}}</div>
- <div>Status: {{data_get($execution,'status')}}</div>
- @if(data_get($execution,'message'))
- <div>Message: {{data_get($execution,'message')}}</div>
+ <form class="flex flex-col p-2 border-dotted border-1 bg-coolgray-300" @class([
+ 'border-green-500' => data_get($execution, 'status') === 'success',
+ 'border-red-500' => data_get($execution, 'status') === 'failed',
+ ])>
+ <div>Started At: {{ data_get($execution, 'created_at') }}</div>
+ <div>Status: {{ data_get($execution, 'status') }}</div>
+ @if (data_get($execution, 'message'))
+ <div>Message: {{ data_get($execution, 'message') }}</div>
@endif
- <div>Size: {{data_get($execution,'size')}} B / {{round((int)data_get($execution,'size') / 1024,2)}}
- kB / {{round((int)data_get($execution,'size')/1024/1024,2)}} MB
+ <div>Size: {{ data_get($execution, 'size') }} B / {{ round((int) data_get($execution, 'size') / 1024, 2) }}
+ kB / {{ round((int) data_get($execution, 'size') / 1024 / 1024, 2) }} MB
</div>
- <div>Location: {{data_get($execution,'filename')}}</div>
- <livewire:project.database.backup-execution :execution="$execution" :wire:key="$execution->id"/>
+ <div>Location: {{ data_get($execution, 'filename') }}</div>
+ <livewire:project.database.backup-execution :execution="$execution" :wire:key="$execution->id" />
</form>
@empty
<div>No executions found.</div>
diff --git a/resources/views/livewire/project/database/heading.blade.php b/resources/views/livewire/project/database/heading.blade.php
index 14af7384f7..72a52b0995 100644
--- a/resources/views/livewire/project/database/heading.blade.php
+++ b/resources/views/livewire/project/database/heading.blade.php
@@ -1,4 +1,4 @@
<nav x-init="$wire.check_status" wire:poll.10000ms="check_status">
- <x-resources.breadcrumbs :resource="$database" :parameters="$parameters"/>
- <x-databases.navbar :database="$database" :parameters="$parameters"/>
+ <x-resources.breadcrumbs :resource="$database" :parameters="$parameters" />
+ <x-databases.navbar :database="$database" :parameters="$parameters" />
</nav>
diff --git a/resources/views/livewire/project/database/init-script.blade.php b/resources/views/livewire/project/database/init-script.blade.php
index 5c60ce68f0..c3d0feb00e 100644
--- a/resources/views/livewire/project/database/init-script.blade.php
+++ b/resources/views/livewire/project/database/init-script.blade.php
@@ -1,10 +1,10 @@
<div>
<form wire:submit.prevent="submit">
- <div class="flex gap-2 items-end">
- <x-forms.input id="filename" label="Filename"/>
+ <div class="flex items-end gap-2">
+ <x-forms.input id="filename" label="Filename" />
<x-forms.button type="submit">Save</x-forms.button>
<x-forms.button isError wire:click.prevent="delete">Delete</x-forms.button>
</div>
- <x-forms.textarea id="content" label="Content"/>
+ <x-forms.textarea id="content" label="Content" />
</form>
</div>
diff --git a/resources/views/livewire/project/database/postgresql/general.blade.php b/resources/views/livewire/project/database/postgresql/general.blade.php
index 33750f5c8b..7fe29c2bf4 100644
--- a/resources/views/livewire/project/database/postgresql/general.blade.php
+++ b/resources/views/livewire/project/database/postgresql/general.blade.php
@@ -2,8 +2,8 @@
<dialog id="newInitScript" class="modal">
<form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit.prevent='save_new_init_script'>
<h3 class="text-lg font-bold">Add Init Script</h3>
- <x-forms.input placeholder="create_test_db.sql" id="new_filename" label="Filename" required/>
- <x-forms.textarea placeholder="CREATE DATABASE test;" id="new_content" label="Content" required/>
+ <x-forms.input placeholder="create_test_db.sql" id="new_filename" label="Filename" required />
+ <x-forms.textarea placeholder="CREATE DATABASE test;" id="new_content" label="Content" required />
<x-forms.button onclick="newInitScript.close()" type="submit">
Save
</x-forms.button>
@@ -21,41 +21,40 @@
</x-forms.button>
</div>
<div class="flex gap-2">
- <x-forms.input label="Name" id="database.name"/>
- <x-forms.input label="Description" id="database.description"/>
+ <x-forms.input label="Name" id="database.name" />
+ <x-forms.input label="Description" id="database.description" />
<x-forms.input label="Image" id="database.image" required
- helper="For all available images, check here:<br><br><a target='_blank' href='https://hub.docker.com/_/postgres'>https://hub.docker.com/_/postgres</a>"/>
+ helper="For all available images, check here:<br><br><a target='_blank' href='https://hub.docker.com/_/postgres'>https://hub.docker.com/_/postgres</a>" />
</div>
<div class="flex gap-2">
@if ($database->started_at)
<x-forms.input label="Username" id="database.postgres_username" placeholder="If empty: postgres"
- readonly helper="You can only modify it before the initial start."/>
+ readonly helper="You can only modify it before the initial start." />
<x-forms.input label="Password" id="database.postgres_password" type="password" required readonly
- helper="You can only modify it before the initial start."/>
+ helper="You can only modify it before the initial start." />
<x-forms.input label="Database" id="database.postgres_db"
- placeholder="If empty, it will be the same as Username."
- readonly
- helper="You can only modify it before the initial start."/>
+ placeholder="If empty, it will be the same as Username." readonly
+ helper="You can only modify it before the initial start." />
@else
<x-forms.input label="Username" id="database.postgres_user" placeholder="If empty: postgres"
- helper="You can only modify it before the initial start."/>
+ helper="You can only modify it before the initial start." />
<x-forms.input label="Password" id="database.postgres_password" type="password" required
- helper="You can only modify it before the initial start."/>
+ helper="You can only modify it before the initial start." />
<x-forms.input label="Database" id="database.postgres_db"
- placeholder="If empty, it will be the same as Username."
- helper="You can only modify it before the initial start."/>
+ placeholder="If empty, it will be the same as Username."
+ helper="You can only modify it before the initial start." />
@endif
</div>
<div class="flex gap-2">
<x-forms.input label="Initial Arguments" id="database.postgres_initdb_args"
- placeholder="If empty, use default. See in docker docs."/>
+ placeholder="If empty, use default. See in docker docs." />
<x-forms.input label="Host Auth Method" id="database.postgres_host_auth_method"
- placeholder="If empty, use default. See in docker docs."/>
+ placeholder="If empty, use default. See in docker docs." />
</div>
<div class="">
<h3 class="py-2">Network</h3>
<x-forms.input placeholder="3000:5432" id="database.ports_mappings" label="Ports Mappings"
- helper="A comma separated list of ports you would like to map to the host system.<br><span class='inline-block font-bold text-warning'>Example</span>3000:5432,3002:5433"/>
+ helper="A comma separated list of ports you would like to map to the host system.<br><span class='inline-block font-bold text-warning'>Example</span>3000:5432,3002:5433" />
</div>
</form>
<div class="pb-16">
@@ -65,7 +64,7 @@
</div>
<div class="flex flex-col gap-2">
@forelse(data_get($database,'init_scripts', []) as $script)
- <livewire:project.database.init-script :script="$script" :wire:key="$script['index']"/>
+ <livewire:project.database.init-script :script="$script" :wire:key="$script['index']" />
@empty
<div>No initialization scripts found.</div>
@endforelse
diff --git a/resources/views/livewire/project/database/scheduled-backups.blade.php b/resources/views/livewire/project/database/scheduled-backups.blade.php
index 878625eb6f..ee1e9ecd03 100644
--- a/resources/views/livewire/project/database/scheduled-backups.blade.php
+++ b/resources/views/livewire/project/database/scheduled-backups.blade.php
@@ -1,10 +1,10 @@
<div class="flex flex-wrap gap-2">
@forelse($database->scheduledBackups as $backup)
- <a class="box flex flex-col"
- href="{{ route('project.database.backups.executions', [...$parameters,'backup_uuid'=> $backup->uuid]) }}">
- <div>Frequency: {{$backup->frequency}}</div>
- <div>Last backup: {{data_get($backup->latest_log, 'status','No backup yet')}}</div>
- <div>Number of backups to keep (locally): {{$backup->number_of_backups_locally}}</div>
+ <a class="flex flex-col box"
+ href="{{ route('project.database.backups.executions', [...$parameters, 'backup_uuid' => $backup->uuid]) }}">
+ <div>Frequency: {{ $backup->frequency }}</div>
+ <div>Last backup: {{ data_get($backup->latest_log, 'status', 'No backup yet') }}</div>
+ <div>Number of backups to keep (locally): {{ $backup->number_of_backups_locally }}</div>
</a>
@empty
<div>No scheduled backups configured.</div>
diff --git a/resources/views/livewire/project/edit.blade.php b/resources/views/livewire/project/edit.blade.php
index a9e16ee912..1d212956e1 100644
--- a/resources/views/livewire/project/edit.blade.php
+++ b/resources/views/livewire/project/edit.blade.php
@@ -4,13 +4,13 @@
<h1>Project: {{ data_get($project, 'name') }}</h1>
<x-forms.button type="submit">Save</x-forms.button>
@if ($project->applications->count() === 0)
- <livewire:project.delete-project :project_id="$project->id"/>
+ <livewire:project.delete-project :project_id="$project->id" />
@endif
</div>
<div class="pb-10">Edit project details here.</div>
<div class="flex gap-2">
- <x-forms.input label="Name" id="project.name"/>
- <x-forms.input label="Description" id="project.description"/>
+ <x-forms.input label="Name" id="project.name" />
+ <x-forms.input label="Description" id="project.description" />
</div>
</form>
</div>
diff --git a/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php b/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php
index 0f5d5d737c..d0501eb061 100644
--- a/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php
+++ b/resources/views/livewire/project/new/github-private-repository-deploy-key.blade.php
@@ -11,24 +11,24 @@
@foreach ($private_keys as $key)
@if ($private_key_id == $key->id)
<div class="gap-2 py-4 cursor-pointer group hover:bg-coollabs bg-coolgray-200"
- wire:click.defer="setPrivateKey('{{ $key->id }}')" wire:key="{{ $key->id }}">
+ wire:click.defer="setPrivateKey('{{ $key->id }}')" wire:key="{{ $key->id }}">
<div class="flex gap-4 mx-6">
<div class="group-hover:text-white">
{{ $key->name }}
</div>
<span wire:target="loadRepositories" wire:loading.delay
- class="loading loading-xs text-warning loading-spinner"></span>
+ class="loading loading-xs text-warning loading-spinner"></span>
</div>
</div>
@else
<div class="gap-2 py-4 cursor-pointer group hover:bg-coollabs bg-coolgray-200"
- wire:click.defer="setPrivateKey('{{ $key->id }}')" wire:key="{{ $key->id }}">
+ wire:click.defer="setPrivateKey('{{ $key->id }}')" wire:key="{{ $key->id }}">
<div class="flex gap-4 mx-6">
<div class="group-hover:text-white">
{{ $key->name }}
</div>
<span wire:target="loadRepositories" wire:loading.delay
- class="loading loading-xs text-warning loading-spinner"></span>
+ class="loading loading-xs text-warning loading-spinner"></span>
</div>
</div>
@endif
@@ -43,17 +43,17 @@
<form class="flex flex-col gap-2 pb-6" wire:submit.prevent='submit'>
<div class="flex gap-2">
<x-forms.input id="repository_url" required label="Repository URL"
- helper="{!! __('repository.url') !!}"/>
- <x-forms.input id="branch" required label="Branch"/>
+ helper="{!! __('repository.url') !!}" />
+ <x-forms.input id="branch" required label="Branch" />
@if ($is_static)
- <x-forms.input id="publish_directory" required label="Publish Directory"/>
+ <x-forms.input id="publish_directory" required label="Publish Directory" />
@else
- <x-forms.input type="number" required id="port" label="Port" :readonly="$is_static"/>
+ <x-forms.input type="number" required id="port" label="Port" :readonly="$is_static" />
@endif
</div>
<div class="w-52">
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?"
- helper="If your application is a static site or the final build assets should be served as a static site, enable this."/>
+ helper="If your application is a static site or the final build assets should be served as a static site, enable this." />
</div>
<x-forms.button type="submit">
Save New Application
diff --git a/resources/views/livewire/project/new/github-private-repository.blade.php b/resources/views/livewire/project/new/github-private-repository.blade.php
index 28c18f516e..c1e26dcb54 100644
--- a/resources/views/livewire/project/new/github-private-repository.blade.php
+++ b/resources/views/livewire/project/new/github-private-repository.blade.php
@@ -12,25 +12,25 @@
@foreach ($github_apps as $ghapp)
@if ($selected_github_app_id == $ghapp->id)
<div class="gap-2 py-4 cursor-pointer group hover:bg-coollabs bg-coolgray-200"
- wire:click.prevent="loadRepositories({{ $ghapp->id }})" wire:key="{{ $ghapp->id }}">
+ wire:click.prevent="loadRepositories({{ $ghapp->id }})" wire:key="{{ $ghapp->id }}">
<div class="flex gap-4 mx-6">
<div class="group-hover:text-white">
{{ $ghapp->name }}
</div>
<span wire:target="loadRepositories" wire:loading.delay
- class="loading loading-xs text-warning loading-spinner"></span>
+ class="loading loading-xs text-warning loading-spinner"></span>
</div>
</div>
@else
<div class="gap-2 py-4 cursor-pointer group hover:bg-coollabs bg-coolgray-200"
- wire:click.prevent="loadRepositories({{ $ghapp->id }})"
- wire:key="{{ $ghapp->id }}">
+ wire:click.prevent="loadRepositories({{ $ghapp->id }})"
+ wire:key="{{ $ghapp->id }}">
<div class="flex gap-4 mx-6">
<div class="group-hover:text-white">
{{ $ghapp->name }}
</div>
<span wire:target="loadRepositories" wire:loading.delay
- class="loading loading-xs text-warning loading-spinner"></span>
+ class="loading loading-xs text-warning loading-spinner"></span>
</div>
</div>
@endif
@@ -45,7 +45,7 @@
@if ($repositories->count() > 0)
<div class="flex items-end gap-2">
<x-forms.select class="w-full" label="Repository URL" helper="{!! __('repository.url') !!}"
- wire:model.defer="selected_repository_id">
+ wire:model.defer="selected_repository_id">
@foreach ($repositories as $repo)
@if ($loop->first)
<option selected value="{{ data_get($repo, 'id') }}">
@@ -86,29 +86,29 @@
</x-forms.select>
@if ($is_static)
<x-forms.input id="publish_directory" label="Publish Directory"
- helper="If there is a build process involved (like Svelte, React, Next, etc..), please specify the output directory for the build assets."/>
+ helper="If there is a build process involved (like Svelte, React, Next, etc..), please specify the output directory for the build assets." />
@else
<x-forms.input type="number" id="port" label="Port" :readonly="$is_static"
- helper="The port your application listens on."/>
+ helper="The port your application listens on." />
@endif
</div>
<div class="w-52">
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?"
- helper="If your application is a static site or the final build assets should be served as a static site, enable this."/>
+ helper="If your application is a static site or the final build assets should be served as a static site, enable this." />
</div>
</div>
<x-forms.button type="submit">
Save New Application
</x-forms.button>
- @endif
- @endif
- </div>
- @else
- <div>
- <div>No Git App found.</div>
- <a href="/source/new">
- <x-forms.button>Add</x-forms.button>
- </a>
- </div>
@endif
+ @endif
+ </div>
+ @else
+ <div>
+ <div>No Git App found.</div>
+ <a href="/source/new">
+ <x-forms.button>Add</x-forms.button>
+ </a>
</div>
+ @endif
+</div>
diff --git a/resources/views/livewire/project/new/public-git-repository.blade.php b/resources/views/livewire/project/new/public-git-repository.blade.php
index efeb8b56ec..2b9ee568c2 100644
--- a/resources/views/livewire/project/new/public-git-repository.blade.php
+++ b/resources/views/livewire/project/new/public-git-repository.blade.php
@@ -6,7 +6,7 @@
<div class="flex flex-col">
<div class="flex items-end gap-2">
<x-forms.input wire:keydown.enter='load_branch' id="repository_url" label="Repository URL"
- helper="{!! __('repository.url') !!}"/>
+ helper="{!! __('repository.url') !!}" />
<x-forms.button wire:click.prevent="load_branch">
Check repository
</x-forms.button>
@@ -16,25 +16,25 @@
<div class="flex gap-2 py-2">
<div>Rate Limit</div>
<x-helper
- helper="Rate limit remaining: {{ $rate_limit_remaining }}<br>Rate limit reset at: {{ $rate_limit_reset }}"/>
+ helper="Rate limit remaining: {{ $rate_limit_remaining }}<br>Rate limit reset at: {{ $rate_limit_reset }}" />
</div>
@endif
<h3 class="pt-8 pb-2">Details</h3>
<div class="flex flex-col gap-2 pb-6">
<div class="flex gap-2">
<x-forms.input disabled id="git_branch" label="Selected branch"
- helper="You can select other branches after configuration is done."/>
+ helper="You can select other branches after configuration is done." />
@if ($is_static)
<x-forms.input id="publish_directory" label="Publish Directory"
- helper="If there is a build process involved (like Svelte, React, Next, etc..), please specify the output directory for the build assets."/>
+ helper="If there is a build process involved (like Svelte, React, Next, etc..), please specify the output directory for the build assets." />
@else
<x-forms.input type="number" id="port" label="Port" :readonly="$is_static"
- helper="The port your application listens on."/>
+ helper="The port your application listens on." />
@endif
</div>
<div class="w-52">
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?"
- helper="If your application is a static site or the final build assets should be served as a static site, enable this."/>
+ helper="If your application is a static site or the final build assets should be served as a static site, enable this." />
</div>
</div>
<x-forms.button wire:click.prevent='submit'>
diff --git a/resources/views/livewire/project/new/select.blade.php b/resources/views/livewire/project/new/select.blade.php
index bfeb4d5078..ea16779c51 100644
--- a/resources/views/livewire/project/new/select.blade.php
+++ b/resources/views/livewire/project/new/select.blade.php
@@ -11,7 +11,7 @@
<h3 class="pb-4">Applications</h3>
<div class="flex flex-col justify-center gap-2 text-left xl:flex-row">
<div class="gap-2 py-4 cursor-pointer group hover:bg-coollabs bg-coolgray-200"
- wire:click="set_type('public')">
+ wire:click="set_type('public')">
<div class="flex flex-col mx-6">
<div class="group-hover:text-white">
Public Repository
@@ -22,7 +22,7 @@
</div>
</div>
<div class="gap-2 py-4 cursor-pointer group hover:bg-coollabs bg-coolgray-200"
- wire:click="set_type('private-gh-app')">
+ wire:click="set_type('private-gh-app')">
<div class="flex flex-col mx-6">
<div class="group-hover:text-white">
Private Repository
@@ -33,7 +33,7 @@
</div>
</div>
<div class="gap-2 py-4 cursor-pointer group hover:bg-coollabs bg-coolgray-200"
- wire:click="set_type('private-deploy-key')">
+ wire:click="set_type('private-deploy-key')">
<div class="flex flex-col mx-6">
<div class="group-hover:text-white">
Private Repository (with deploy key)
@@ -47,7 +47,7 @@
<h3 class="py-4">Databases</h3>
<div class="flex flex-col justify-center gap-2 text-left xl:flex-row">
<div class="gap-2 py-4 cursor-pointer group hover:bg-coollabs bg-coolgray-200"
- wire:click="set_type('postgresql')">
+ wire:click="set_type('postgresql')">
<div class="flex flex-col mx-6">
<div class="group-hover:text-white">
PostgreSQL
@@ -69,7 +69,7 @@
<div class="flex flex-col justify-center gap-2 text-left xl:flex-row">
@foreach ($servers as $server)
<div class="gap-2 py-4 cursor-pointer group hover:bg-coollabs bg-coolgray-200"
- wire:click="set_server({{ $server }})">
+ wire:click="set_server({{ $server }})">
<div class="flex flex-col mx-6">
<div class="group-hover:text-white">
{{ $server->name }}
@@ -90,7 +90,7 @@
<div class="flex flex-col justify-center gap-2 text-left xl:flex-row">
@foreach ($destinations as $destination)
<div class="gap-2 py-4 cursor-pointer group hover:bg-coollabs bg-coolgray-200"
- wire:click="set_destination('{{ $destination->uuid }}')">
+ wire:click="set_destination('{{ $destination->uuid }}')">
<div class="flex flex-col mx-6">
<div class="group-hover:text-white">
{{ $destination->name }}
diff --git a/resources/views/livewire/project/shared/environment-variable/add.blade.php b/resources/views/livewire/project/shared/environment-variable/add.blade.php
index 2e05dd05e5..618e2c8521 100644
--- a/resources/views/livewire/project/shared/environment-variable/add.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/add.blade.php
@@ -1,10 +1,10 @@
<dialog id="newVariable" class="modal">
<form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit.prevent='submit'>
<h3 class="text-lg font-bold">Add Environment Variable</h3>
- <x-forms.input placeholder="NODE_ENV" id="key" label="Name" required/>
- <x-forms.input placeholder="production" id="value" label="Value" required/>
+ <x-forms.input placeholder="NODE_ENV" id="key" label="Name" required />
+ <x-forms.input placeholder="production" id="value" label="Value" required />
@if (data_get($parameters, 'application_uuid'))
- <x-forms.checkbox id="is_build_time" label="Build Variable?"/>
+ <x-forms.checkbox id="is_build_time" label="Build Variable?" />
@endif
<x-forms.button onclick="newVariable.close()" type="submit">
Save
diff --git a/resources/views/livewire/project/shared/environment-variable/all.blade.php b/resources/views/livewire/project/shared/environment-variable/all.blade.php
index 1f21c72ed2..b7b6b8340e 100644
--- a/resources/views/livewire/project/shared/environment-variable/all.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/all.blade.php
@@ -3,13 +3,13 @@
<div class="flex items-center gap-2">
<h2>Environment Variables</h2>
<x-forms.button class="btn" onclick="newVariable.showModal()">+ Add</x-forms.button>
- <livewire:project.shared.environment-variable.add/>
+ <livewire:project.shared.environment-variable.add />
</div>
<div>Environment (secrets) variables for this resource.</div>
</div>
@forelse ($resource->environment_variables as $env)
<livewire:project.shared.environment-variable.show wire:key="environment-{{ $env->id }}"
- :env="$env"/>
+ :env="$env" />
@empty
<div class="text-neutral-500">No environment variables found.</div>
@endforelse
@@ -20,7 +20,7 @@
</div>
@foreach ($resource->environment_variables_preview as $env)
<livewire:project.shared.environment-variable.show wire:key="environment-{{ $env->id }}"
- :env="$env"/>
+ :env="$env" />
@endforeach
@endif
</div>
diff --git a/resources/views/livewire/project/shared/environment-variable/show.blade.php b/resources/views/livewire/project/shared/environment-variable/show.blade.php
index 3f122a0701..a36d8be82c 100644
--- a/resources/views/livewire/project/shared/environment-variable/show.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php
@@ -6,10 +6,10 @@
</x-slot:modalBody>
</x-modal>
<form wire:submit.prevent='submit' class="flex flex-col items-center gap-2 xl:flex-row">
- <x-forms.input id="env.key"/>
- <x-forms.input type="password" id="env.value"/>
+ <x-forms.input id="env.key" />
+ <x-forms.input type="password" id="env.value" />
@if (data_get($parameters, 'application_uuid'))
- <x-forms.checkbox disabled id="env.is_build_time" label="Build Variable?"/>
+ <x-forms.checkbox disabled id="env.is_build_time" label="Build Variable?" />
@endif
<div class="flex gap-2">
<x-forms.button type="submit">
diff --git a/resources/views/livewire/project/shared/resource-limits.blade.php b/resources/views/livewire/project/shared/resource-limits.blade.php
index a3259ec487..575a6d7345 100644
--- a/resources/views/livewire/project/shared/resource-limits.blade.php
+++ b/resources/views/livewire/project/shared/resource-limits.blade.php
@@ -7,20 +7,20 @@
<div class="">Limit your container resources by CPU & memory.</div>
<h3 class="pt-4">Limit CPUs</h3>
<div class="flex gap-2">
- <x-forms.input placeholder="1.5" label="Number of CPUs" id="resource.limits_cpus"/>
- <x-forms.input placeholder="0-2" label="CPU sets to use" id="resource.limits_cpuset"/>
- <x-forms.input placeholder="1024" label="CPU Weight" id="resource.limits_cpu_shares"/>
+ <x-forms.input placeholder="1.5" label="Number of CPUs" id="resource.limits_cpus" />
+ <x-forms.input placeholder="0-2" label="CPU sets to use" id="resource.limits_cpuset" />
+ <x-forms.input placeholder="1024" label="CPU Weight" id="resource.limits_cpu_shares" />
</div>
<h3 class="pt-4">Limit Memory</h3>
<div class="flex gap-2">
<x-forms.input placeholder="69b or 420k or 1337m or 1g" label="Soft Memory Limit"
- id="resource.limits_memory_reservation"/>
+ id="resource.limits_memory_reservation" />
<x-forms.input placeholder="69b or 420k or 1337m or 1g" label="Maximum Memory Limit"
- id="resource.limits_memory"/>
+ id="resource.limits_memory" />
<x-forms.input placeholder="69b or 420k or 1337m or 1g" label="Maximum Swap Limit"
- id="resource.limits_memory_swap"/>
+ id="resource.limits_memory_swap" />
<x-forms.input placeholder="0-100" type="number" min="0" max="100" label="Swappiness"
- id="resource.limits_memory_swappiness"/>
+ id="resource.limits_memory_swappiness" />
</div>
</form>
</div>
diff --git a/resources/views/livewire/project/shared/storages/add.blade.php b/resources/views/livewire/project/shared/storages/add.blade.php
index 921fa72792..5282d9b05e 100644
--- a/resources/views/livewire/project/shared/storages/add.blade.php
+++ b/resources/views/livewire/project/shared/storages/add.blade.php
@@ -1,9 +1,9 @@
<dialog id="newStorage" class="modal">
<form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit.prevent='submit'>
<h3 class="text-lg font-bold">Add Storage Volume</h3>
- <x-forms.input placeholder="pv-name" id="name" label="Name" required/>
- <x-forms.input placeholder="/root" id="host_path" label="Source Path"/>
- <x-forms.input placeholder="/tmp/root" id="mount_path" label="Destination Path" required/>
+ <x-forms.input placeholder="pv-name" id="name" label="Name" required />
+ <x-forms.input placeholder="/root" id="host_path" label="Source Path" />
+ <x-forms.input placeholder="/tmp/root" id="mount_path" label="Destination Path" required />
<x-forms.button onclick="newStorage.close()" type="submit">
Save
</x-forms.button>
diff --git a/resources/views/livewire/project/shared/storages/all.blade.php b/resources/views/livewire/project/shared/storages/all.blade.php
index 6aaacd6333..1287aaf0cb 100644
--- a/resources/views/livewire/project/shared/storages/all.blade.php
+++ b/resources/views/livewire/project/shared/storages/all.blade.php
@@ -5,15 +5,15 @@
<x-helper
helper="For Preview Deployments, storage has a <span class='text-helper'>-pr-#PRNumber</span> in their
volume
- name, example: <span class='text-helper'>-pr-1</span>"/>
+ name, example: <span class='text-helper'>-pr-1</span>" />
<x-forms.button class="btn" onclick="newStorage.showModal()">+ Add</x-forms.button>
- <livewire:project.shared.storages.add/>
+ <livewire:project.shared.storages.add />
</div>
<div>Persistent storage to preserve data between deployments.</div>
</div>
<div class="flex flex-col gap-2 py-4">
@forelse ($resource->persistentStorages as $storage)
- <livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage"/>
+ <livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage" />
@empty
<div class="text-neutral-500">No storages found.</div>
@endforelse
diff --git a/resources/views/livewire/project/shared/storages/show.blade.php b/resources/views/livewire/project/shared/storages/show.blade.php
index a3d910e182..dcdc951510 100644
--- a/resources/views/livewire/project/shared/storages/show.blade.php
+++ b/resources/views/livewire/project/shared/storages/show.blade.php
@@ -8,9 +8,9 @@
</x-modal>
<form wire:submit.prevent='submit' class="flex flex-col gap-2 xl:items-end xl:flex-row">
@if ($storage->is_readonly)
- <x-forms.input id="storage.name" label="Name" required readonly/>
- <x-forms.input id="storage.host_path" label="Source Path" readonly/>
- <x-forms.input id="storage.mount_path" label="Destination Path" required readonly/>
+ <x-forms.input id="storage.name" label="Name" required readonly />
+ <x-forms.input id="storage.host_path" label="Source Path" readonly />
+ <x-forms.input id="storage.mount_path" label="Destination Path" required readonly />
<div class="flex gap-2">
<x-forms.button type="submit" disabled>
Update
@@ -20,9 +20,9 @@
</x-forms.button>
</div>
@else
- <x-forms.input id="storage.name" label="Name" required/>
- <x-forms.input id="storage.host_path" label="Source Path"/>
- <x-forms.input id="storage.mount_path" label="Destination Path" required/>
+ <x-forms.input id="storage.name" label="Name" required />
+ <x-forms.input id="storage.host_path" label="Source Path" />
+ <x-forms.input id="storage.mount_path" label="Destination Path" required />
<div class="flex gap-2">
<x-forms.button type="submit">
Update
diff --git a/resources/views/livewire/run-command.blade.php b/resources/views/livewire/run-command.blade.php
index 16ea8665f8..b16da9ce60 100644
--- a/resources/views/livewire/run-command.blade.php
+++ b/resources/views/livewire/run-command.blade.php
@@ -1,6 +1,6 @@
<div>
<form class="flex flex-col justify-center gap-2 xl:items-end xl:flex-row" wire:submit.prevent='runCommand'>
- <x-forms.input placeholder="ls -l" autofocus id="command" label="Command" required/>
+ <x-forms.input placeholder="ls -l" autofocus id="command" label="Command" required />
<x-forms.select label="Server" id="server" required>
@foreach ($servers as $server)
@if ($loop->first)
@@ -14,6 +14,6 @@
</x-forms.button>
</form>
<div class="container w-full pt-10 mx-auto">
- <livewire:activity-monitor header="Logs"/>
+ <livewire:activity-monitor header="Logs" />
</div>
</div>
diff --git a/resources/views/livewire/server/form.blade.php b/resources/views/livewire/server/form.blade.php
index 4984e1d543..8fc3659246 100644
--- a/resources/views/livewire/server/form.blade.php
+++ b/resources/views/livewire/server/form.blade.php
@@ -22,29 +22,29 @@
</div>
<div class="flex flex-col gap-2 ">
<div class="flex flex-col w-full gap-2 lg:flex-row">
- <x-forms.input id="server.name" label="Name" required/>
- <x-forms.input id="server.description" label="Description"/>
+ <x-forms.input id="server.name" label="Name" required />
+ <x-forms.input id="server.description" label="Description" />
<x-forms.input placeholder="https://example.com" id="wildcard_domain" label="Wildcard Domain"
- helper="Wildcard domain for your applications. If you set this, you will get a random generated domain for your new applications.<br><span class='font-bold text-white'>Example</span>In case you set:<span class='text-helper'>https://example.com</span>your applications will get: <span class='text-helper'>https://randomId.example.com</span>"/>
+ helper="Wildcard domain for your applications. If you set this, you will get a random generated domain for your new applications.<br><span class='font-bold text-white'>Example</span>In case you set:<span class='text-helper'>https://example.com</span>your applications will get: <span class='text-helper'>https://randomId.example.com</span>" />
{{-- <x-forms.checkbox disabled type="checkbox" id="server.settings.is_part_of_swarm"
label="Is it part of a Swarm cluster?" /> --}}
</div>
<div class="flex flex-col w-full gap-2 lg:flex-row">
@if ($server->id === 0)
- <x-forms.input id="server.ip" label="IP Address" required/>
+ <x-forms.input id="server.ip" label="IP Address" required />
@else
- <x-forms.input id="server.ip" label="IP Address" readonly required/>
+ <x-forms.input id="server.ip" label="IP Address" readonly required />
@endif
<div class="flex gap-2">
- <x-forms.input id="server.user" label="User" required/>
- <x-forms.input type="number" id="server.port" label="Port" required/>
+ <x-forms.input id="server.user" label="User" required />
+ <x-forms.input type="number" id="server.port" label="Port" required />
</div>
</div>
</div>
<h3 class="py-4">Settings</h3>
<div class="flex items-center w-64 gap-2">
<x-forms.input id="cleanup_after_percentage" label="Disk Cleanup threshold (%)" required
- helper="Disk cleanup job will be executed if disk usage is more than this number."/>
+ helper="Disk cleanup job will be executed if disk usage is more than this number." />
</div>
<h3 class="py-4">Actions</h3>
<div class="flex items-center gap-2">
@@ -62,7 +62,7 @@
@endif
</div>
<div class="container w-full py-4 mx-auto">
- <livewire:activity-monitor header="Logs"/>
+ <livewire:activity-monitor header="Logs" />
</div>
@isset($uptime)
<h3 class="pb-3">Server Info</h3>
diff --git a/resources/views/livewire/server/new/by-ip.blade.php b/resources/views/livewire/server/new/by-ip.blade.php
index 963625fcf6..b7f3e6cb97 100644
--- a/resources/views/livewire/server/new/by-ip.blade.php
+++ b/resources/views/livewire/server/new/by-ip.blade.php
@@ -3,14 +3,14 @@
<div class="pt-2 pb-10 ">Servers are the main blocks of your infrastructure.</div>
<form class="flex flex-col gap-2" wire:submit.prevent='submit'>
<div class="flex gap-2">
- <x-forms.input id="name" label="Name" required/>
- <x-forms.input id="description" label="Description"/>
+ <x-forms.input id="name" label="Name" required />
+ <x-forms.input id="description" label="Description" />
</div>
<div class="flex gap-2">
<x-forms.input id="ip" label="IP Address" required
- helper="Could be IP Address (127.0.0.1) or Domain Name (duckduckgo.com)."/>
- <x-forms.input id="user" label="User" required/>
- <x-forms.input type="number" id="port" label="Port" required/>
+ helper="Could be IP Address (127.0.0.1) or Domain Name (duckduckgo.com)." />
+ <x-forms.input id="user" label="User" required />
+ <x-forms.input type="number" id="port" label="Port" required />
</div>
<x-forms.select label="Private Key" id="private_key_id">
<option disabled>Select a private key</option>
diff --git a/resources/views/livewire/server/private-key.blade.php b/resources/views/livewire/server/private-key.blade.php
index 92dc970b23..ae5877e97a 100644
--- a/resources/views/livewire/server/private-key.blade.php
+++ b/resources/views/livewire/server/private-key.blade.php
@@ -29,7 +29,7 @@
</div>
@empty
<div>No private keys found.
- <x-use-magic-bar/>
+ <x-use-magic-bar />
</div>
@endforelse
</div>
diff --git a/resources/views/livewire/server/proxy.blade.php b/resources/views/livewire/server/proxy.blade.php
index 2d69d55854..e5fb0b4d44 100644
--- a/resources/views/livewire/server/proxy.blade.php
+++ b/resources/views/livewire/server/proxy.blade.php
@@ -21,18 +21,18 @@
</div>
@endif
<div class="container w-full pb-4 mx-auto">
- <livewire:activity-monitor header="Logs"/>
+ <livewire:activity-monitor header="Logs" />
</div>
<x-forms.input placeholder="https://coolify.io" id="redirect_url" label="Default Redirect 404"
- helper="All urls that has no service available will be redirected to this domain.<span class='text-helper'>You can set to your main marketing page or your social media link.</span>"/>
+ helper="All urls that has no service available will be redirected to this domain.<span class='text-helper'>You can set to your main marketing page or your social media link.</span>" />
<div wire:loading wire:target="load_proxy_configuration" class="pt-4">
- <x-loading text="Loading proxy configuration..."/>
+ <x-loading text="Loading proxy configuration..." />
</div>
<div wire:loading.remove wire:target="load_proxy_configuration">
@if ($proxy_settings)
<div class="flex flex-col gap-2 pt-2">
<x-forms.textarea label="Configuration file: traefik.conf" name="proxy_settings"
- wire:model.defer="proxy_settings" rows="30"/>
+ wire:model.defer="proxy_settings" rows="30" />
<x-forms.button wire:click.prevent="reset_proxy_configuration">
Reset configuration to default
</x-forms.button>
@@ -41,26 +41,25 @@
</div>
</form>
@endif
- @else
- <div>
- <h2>Proxy</h2>
- <div class="pt-2 pb-10 ">Select a proxy you would like to use on this server.</div>
- <div class="flex gap-2">
- <x-forms.button class="w-32 box"
- wire:click="select_proxy('{{ ProxyTypes::TRAEFIK_V2 }}')">
- Traefik
- v2
- </x-forms.button>
- <x-forms.button disabled class="w-32 box">
- Nginx
- </x-forms.button>
- <x-forms.button disabled class="w-32 box">
- Caddy
- </x-forms.button>
- </div>
+ @else
+ <div>
+ <h2>Proxy</h2>
+ <div class="pt-2 pb-10 ">Select a proxy you would like to use on this server.</div>
+ <div class="flex gap-2">
+ <x-forms.button class="w-32 box" wire:click="select_proxy('{{ ProxyTypes::TRAEFIK_V2 }}')">
+ Traefik
+ v2
+ </x-forms.button>
+ <x-forms.button disabled class="w-32 box">
+ Nginx
+ </x-forms.button>
+ <x-forms.button disabled class="w-32 box">
+ Caddy
+ </x-forms.button>
</div>
- @endif
- @else
- <div>Server is not validated. Validate first.</div>
- @endif
- </div>
+ </div>
+ @endif
+ @else
+ <div>Server is not validated. Validate first.</div>
+ @endif
+</div>
diff --git a/resources/views/livewire/server/proxy/deploy.blade.php b/resources/views/livewire/server/proxy/deploy.blade.php
index 7a29fdd923..36536f0a0c 100644
--- a/resources/views/livewire/server/proxy/deploy.blade.php
+++ b/resources/views/livewire/server/proxy/deploy.blade.php
@@ -23,14 +23,13 @@
<button>
<a target="_blank" href="{{ base_ip() }}:8080">
Traefik Dashboard
- <x-external-link/>
+ <x-external-link />
</a>
</button>
<x-forms.button isModal noStyle modalId="stopProxy"
- class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
- <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-error" viewBox="0 0 24 24"
- stroke-width="2"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ class="flex items-center gap-2 cursor-pointer hover:text-white text-neutral-400">
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-error" viewBox="0 0 24 24" stroke-width="2"
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M6 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"></path>
<path d="M14 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"></path>
@@ -40,12 +39,12 @@
</div>
@else
<x-forms.button isModal noStyle modalId="startProxy"
- class="flex items-center gap-2 cursor-pointer hover:text-white">
+ class="flex items-center gap-2 cursor-pointer hover:text-white">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-warning" viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M7 4v16l13 -8z"/>
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M7 4v16l13 -8z" />
</svg>
Start Proxy
</x-forms.button>
diff --git a/resources/views/livewire/server/proxy/status.blade.php b/resources/views/livewire/server/proxy/status.blade.php
index 8d0d3fb16c..41fef8efc2 100644
--- a/resources/views/livewire/server/proxy/status.blade.php
+++ b/resources/views/livewire/server/proxy/status.blade.php
@@ -1,9 +1,9 @@
<div wire:poll.3000ms="get_status" x-init="$wire.get_status">
@if ($server->proxy->status === 'running')
- <x-status.running text="Proxy Running"/>
+ <x-status.running text="Proxy Running" />
@elseif ($server->proxy->status === 'restarting')
- <x-status.restarting text="Proxy Restarting"/>
+ <x-status.restarting text="Proxy Restarting" />
@else
- <x-status.stopped text="Proxy Stopped"/>
+ <x-status.stopped text="Proxy Stopped" />
@endif
</div>
diff --git a/resources/views/livewire/settings/configuration.blade.php b/resources/views/livewire/settings/configuration.blade.php
index 39a1f0f82f..0f0c69e6a7 100644
--- a/resources/views/livewire/settings/configuration.blade.php
+++ b/resources/views/livewire/settings/configuration.blade.php
@@ -10,7 +10,7 @@
<div class="flex flex-col gap-2 pt-4">
<div class="flex gap-2 w-96">
- <x-forms.input id="settings.fqdn" label="Instance's Domain" placeholder="https://coolify.io"/>
+ <x-forms.input id="settings.fqdn" label="Instance's Domain" placeholder="https://coolify.io" />
</div>
{{-- <div class="flex gap-2 ">
@@ -21,10 +21,10 @@
</form>
<h2 class="pt-6">Advanced</h2>
<div class="flex flex-col py-6 text-right w-80">
- <x-forms.checkbox instantSave id="is_auto_update_enabled" label="Auto Update Coolify"/>
- <x-forms.checkbox instantSave id="is_registration_enabled" label="Registration Allowed"/>
- <x-forms.checkbox instantSave id="do_not_track" label="Do Not Track"/>
+ <x-forms.checkbox instantSave id="is_auto_update_enabled" label="Auto Update Coolify" />
+ <x-forms.checkbox instantSave id="is_registration_enabled" label="Registration Allowed" />
+ <x-forms.checkbox instantSave id="do_not_track" label="Do Not Track" />
<x-forms.checkbox instantSave helper="Do not recommended, only if you like to live on the edge."
- id="next_channel" label="Enable pre-release (early) updates"/>
+ id="next_channel" label="Enable pre-release (early) updates" />
</div>
</div>
diff --git a/resources/views/livewire/settings/email.blade.php b/resources/views/livewire/settings/email.blade.php
index 9ec22cf279..f528e62735 100644
--- a/resources/views/livewire/settings/email.blade.php
+++ b/resources/views/livewire/settings/email.blade.php
@@ -1,7 +1,7 @@
<div>
<dialog id="sendTestEmail" class="modal">
<form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit.prevent='submit'>
- <x-forms.input placeholder="[email protected]" id="emails" label="Recepients" required/>
+ <x-forms.input placeholder="[email protected]" id="emails" label="Recepients" required />
<x-forms.button onclick="sendTestEmail.close()" wire:click="sendTestNotification">
Send Email
</x-forms.button>
@@ -18,31 +18,31 @@
</x-forms.button>
@if ($settings->smtp_enabled)
<x-forms.button onclick="sendTestEmail.showModal()"
- class="text-white normal-case btn btn-xs no-animation btn-primary">
+ class="text-white normal-case btn btn-xs no-animation btn-primary">
Send Test Email
</x-forms.button>
@endif
</div>
<div class="pb-4 ">SMTP settings for password resets, invitations, etc.</div>
<div class="w-32 pb-4">
- <x-forms.checkbox instantSave id="settings.smtp_enabled" label="Enabled"/>
+ <x-forms.checkbox instantSave id="settings.smtp_enabled" label="Enabled" />
</div>
<div class="flex flex-col gap-4">
<div class="flex flex-col w-full gap-2 xl:flex-row">
- <x-forms.input required id="settings.smtp_host" placeholder="smtp.mailgun.org" label="Host"/>
- <x-forms.input required id="settings.smtp_port" placeholder="587" label="Port"/>
+ <x-forms.input required id="settings.smtp_host" placeholder="smtp.mailgun.org" label="Host" />
+ <x-forms.input required id="settings.smtp_port" placeholder="587" label="Port" />
<x-forms.input id="settings.smtp_encryption" helper="If SMTP uses SSL, set it to 'tls'."
- placeholder="tls" label="Encryption"/>
+ placeholder="tls" label="Encryption" />
</div>
<div class="flex flex-col w-full gap-2 xl:flex-row">
- <x-forms.input id="settings.smtp_username" label="SMTP Username"/>
- <x-forms.input id="settings.smtp_password" type="password" label="SMTP Password"/>
- <x-forms.input id="settings.smtp_timeout" helper="Timeout value for sending emails." label="Timeout"/>
+ <x-forms.input id="settings.smtp_username" label="SMTP Username" />
+ <x-forms.input id="settings.smtp_password" type="password" label="SMTP Password" />
+ <x-forms.input id="settings.smtp_timeout" helper="Timeout value for sending emails." label="Timeout" />
</div>
<div class="flex flex-col w-full gap-2 xl:flex-row">
- <x-forms.input required id="settings.smtp_from_name" helper="Name used in emails." label="From Name"/>
+ <x-forms.input required id="settings.smtp_from_name" helper="Name used in emails." label="From Name" />
<x-forms.input required id="settings.smtp_from_address" helper="Email address used in emails."
- label="From Address"/>
+ label="From Address" />
</div>
</div>
</form>
diff --git a/resources/views/livewire/source/github/change.blade.php b/resources/views/livewire/source/github/change.blade.php
index 5fdc3ad69a..3f5ad125c1 100644
--- a/resources/views/livewire/source/github/change.blade.php
+++ b/resources/views/livewire/source/github/change.blade.php
@@ -15,10 +15,10 @@
<x-forms.button>
@if ($github_app->installation_id)
Update Repositories
- <x-external-link/>
+ <x-external-link />
@else
Install Repositories
- <x-external-link/>
+ <x-external-link />
@endif
</x-forms.button>
</a>
@@ -34,35 +34,35 @@
@if ($github_app->app_id)
<div class="w-48">
<x-forms.checkbox label="System Wide?"
- helper="If checked, this GitHub App will be available for everyone in this Coolify instance."
- instantSave id="is_system_wide"/>
+ helper="If checked, this GitHub App will be available for everyone in this Coolify instance."
+ instantSave id="is_system_wide" />
</div>
<div class="flex gap-2">
- <x-forms.input id="github_app.name" label="App Name" disabled/>
+ <x-forms.input id="github_app.name" label="App Name" disabled />
<x-forms.input id="github_app.organization" label="Organization" disabled
- placeholder="If empty, personal user will be used"/>
+ placeholder="If empty, personal user will be used" />
</div>
<div class="flex gap-2">
- <x-forms.input id="github_app.html_url" label="HTML Url" disabled/>
- <x-forms.input id="github_app.api_url" label="API Url" disabled/>
+ <x-forms.input id="github_app.html_url" label="HTML Url" disabled />
+ <x-forms.input id="github_app.api_url" label="API Url" disabled />
</div>
<div class="flex gap-2">
@if ($github_app->html_url === 'https://github.com')
- <x-forms.input id="github_app.custom_user" label="User" disabled/>
- <x-forms.input type="number" id="github_app.custom_port" label="Port" disabled/>
+ <x-forms.input id="github_app.custom_user" label="User" disabled />
+ <x-forms.input type="number" id="github_app.custom_port" label="Port" disabled />
@else
- <x-forms.input id="github_app.custom_user" label="User" required/>
- <x-forms.input type="number" id="github_app.custom_port" label="Port" required/>
+ <x-forms.input id="github_app.custom_user" label="User" required />
+ <x-forms.input type="number" id="github_app.custom_port" label="Port" required />
@endif
</div>
<div class="flex gap-2">
- <x-forms.input type="number" id="github_app.app_id" label="App Id" disabled/>
- <x-forms.input type="number" id="github_app.installation_id" label="Installation Id" disabled/>
+ <x-forms.input type="number" id="github_app.app_id" label="App Id" disabled />
+ <x-forms.input type="number" id="github_app.installation_id" label="Installation Id" disabled />
</div>
<div class="flex gap-2">
- <x-forms.input id="github_app.client_id" label="Client Id" type="password" disabled/>
- <x-forms.input id="github_app.client_secret" label="Client Secret" type="password"/>
- <x-forms.input id="github_app.webhook_secret" label="Webhook Secret" type="password"/>
+ <x-forms.input id="github_app.client_id" label="Client Id" type="password" disabled />
+ <x-forms.input id="github_app.client_secret" label="Client Secret" type="password" />
+ <x-forms.input id="github_app.webhook_secret" label="Webhook Secret" type="password" />
</div>
@else
<form class="flex gap-4">
@@ -79,7 +79,7 @@
<div class="pt-2 pb-10">
<div class="flex items-end gap-2">
<x-forms.select wire:model='webhook_endpoint' label="Webhook Endpoint"
- helper="All Git webhooks will be sent to this endpoint. <br><br>If you would like to use domain instead of IP address, set your Coolify instance's FQDN in the Settings menu.">
+ helper="All Git webhooks will be sent to this endpoint. <br><br>If you would like to use domain instead of IP address, set your Coolify instance's FQDN in the Settings menu.">
@if ($ipv4)
<option value="{{ $ipv4 }}">Use {{ $ipv4 }}</option>
@endif
@@ -93,34 +93,34 @@
</div>
<div class="flex flex-col gap-2 pt-4">
<x-forms.checkbox disabled instantSave id="default_permissions" label="Default Permissions"
- helper="Contents: read<br>Metadata: read<br>Email: read"/>
+ helper="Contents: read<br>Metadata: read<br>Email: read" />
<x-forms.checkbox instantSave id="preview_deployment_permissions"
- label="Preview Deployments Permission"
- helper="Necessary for updating pull requests with useful comments (deployment status, links, etc.)<br><br>Pull Request: read & write"/>
+ label="Preview Deployments Permission"
+ helper="Necessary for updating pull requests with useful comments (deployment status, links, etc.)<br><br>Pull Request: read & write" />
</div>
</div>
</form>
<div class="flex gap-2">
- <x-forms.input id="github_app.name" label="App Name" disabled/>
+ <x-forms.input id="github_app.name" label="App Name" disabled />
<x-forms.input id="github_app.organization" label="Organization"
- placeholder="If empty, personal user will be used" disabled/>
+ placeholder="If empty, personal user will be used" disabled />
</div>
<div class="flex gap-2">
- <x-forms.input id="github_app.html_url" label="HTML Url" disabled/>
- <x-forms.input id="github_app.api_url" label="API Url" disabled/>
+ <x-forms.input id="github_app.html_url" label="HTML Url" disabled />
+ <x-forms.input id="github_app.api_url" label="API Url" disabled />
</div>
<div class="flex gap-2">
@if ($github_app->html_url === 'https://github.com')
- <x-forms.input id="github_app.custom_user" label="User" disabled/>
- <x-forms.input type="number" id="github_app.custom_port" label="Port" disabled/>
+ <x-forms.input id="github_app.custom_user" label="User" disabled />
+ <x-forms.input type="number" id="github_app.custom_port" label="Port" disabled />
@else
- <x-forms.input id="github_app.custom_user" label="User" required/>
- <x-forms.input type="number" id="github_app.custom_port" label="Port" required/>
+ <x-forms.input id="github_app.custom_user" label="User" required />
+ <x-forms.input type="number" id="github_app.custom_port" label="Port" required />
@endif
</div>
<x-forms.checkbox
helper="If checked, this GitHub App will be available for everyone in this Coolify instance."
- label="System Wide?" disabled id="is_system_wide"/>
+ label="System Wide?" disabled id="is_system_wide" />
<script>
function createGithubApp(webhook_endpoint, preview_deployment_permissions) {
const {
@@ -131,7 +131,7 @@
let baseUrl = webhook_endpoint;
const name = @js($name);
const isDev = @js(config('app.env')) ===
- 'local';
+ 'local';
const devWebhook = @js(config('coolify.dev_webhook'));
if (isDev && devWebhook) {
baseUrl = devWebhook;
diff --git a/resources/views/livewire/source/github/create.blade.php b/resources/views/livewire/source/github/create.blade.php
index a3acd6b442..c1127d1db1 100644
--- a/resources/views/livewire/source/github/create.blade.php
+++ b/resources/views/livewire/source/github/create.blade.php
@@ -2,19 +2,19 @@
<form wire:submit.prevent='createGitHubApp' class="flex flex-col">
<h2>GitHub App</h2>
<div class="flex gap-2">
- <x-forms.input id="name" label="Name" required/>
- <x-forms.input helper="If empty, your GitHub user will be used." id="organization" label="Organization"/>
+ <x-forms.input id="name" label="Name" required />
+ <x-forms.input helper="If empty, your GitHub user will be used." id="organization" label="Organization" />
</div>
<h3 class="py-4">Advanced</h3>
<div class="flex gap-2">
- <x-forms.input id="html_url" label="HTML Url" required/>
- <x-forms.input id="api_url" label="API Url" required/>
+ <x-forms.input id="html_url" label="HTML Url" required />
+ <x-forms.input id="api_url" label="API Url" required />
</div>
<div class="flex gap-2">
- <x-forms.input id="custom_user" label="Custom Git User" required/>
- <x-forms.input id="custom_port" label="Custom Git Port" required/>
+ <x-forms.input id="custom_user" label="Custom Git User" required />
+ <x-forms.input id="custom_port" label="Custom Git Port" required />
</div>
- <x-forms.checkbox class="pt-2" id="is_system_wide" label="System Wide"/>
+ <x-forms.checkbox class="pt-2" id="is_system_wide" label="System Wide" />
<x-forms.button type="submit">
Save New Source
</x-forms.button>
diff --git a/resources/views/livewire/team/create.blade.php b/resources/views/livewire/team/create.blade.php
index cea749f85c..f50e360f79 100644
--- a/resources/views/livewire/team/create.blade.php
+++ b/resources/views/livewire/team/create.blade.php
@@ -1,6 +1,6 @@
<form class="flex flex-col gap-2" wire:submit.prevent='submit'>
- <x-forms.input autofocus id="name" label="Name" required/>
- <x-forms.input id="description" label="Description"/>
+ <x-forms.input autofocus id="name" label="Name" required />
+ <x-forms.input id="description" label="Description" />
<x-forms.button type="submit">
Save Team
</x-forms.button>
diff --git a/resources/views/livewire/team/form.blade.php b/resources/views/livewire/team/form.blade.php
index 955b3ccadc..c8f7b849ad 100644
--- a/resources/views/livewire/team/form.blade.php
+++ b/resources/views/livewire/team/form.blade.php
@@ -6,7 +6,7 @@
</x-forms.button>
</div>
<div class="flex gap-2">
- <x-forms.input id="team.name" label="Name" required/>
- <x-forms.input id="team.description" label="Description"/>
+ <x-forms.input id="team.name" label="Name" required />
+ <x-forms.input id="team.description" label="Description" />
</div>
</form>
diff --git a/resources/views/livewire/team/invitations.blade.php b/resources/views/livewire/team/invitations.blade.php
index 2b8429f4d0..b3b590fdec 100644
--- a/resources/views/livewire/team/invitations.blade.php
+++ b/resources/views/livewire/team/invitations.blade.php
@@ -4,30 +4,30 @@
<div class="overflow-x-auto">
<table>
<thead>
- <tr>
- <th>Email</th>
- <th>Via</th>
- <th>Role</th>
- <th>Invitation Link</th>
- <th>Actions</th>
- </tr>
- </thead>
- <tbody x-data>
- @foreach ($invitations as $invite)
<tr>
- <td>{{ $invite->email }}</td>
- <td>{{ $invite->via }}</td>
- <td>{{ $invite->role }}</td>
- <td x-on:click="copyToClipboard('{{ $invite->link }}')">
- <x-forms.button>Copy Invitation Link</x-forms.button>
- </td>
- <td>
- <x-forms.button wire:click.prevent='deleteInvitation({{ $invite->id }})'>Revoke
- Invitation
- </x-forms.button>
- </td>
+ <th>Email</th>
+ <th>Via</th>
+ <th>Role</th>
+ <th>Invitation Link</th>
+ <th>Actions</th>
</tr>
- @endforeach
+ </thead>
+ <tbody x-data>
+ @foreach ($invitations as $invite)
+ <tr>
+ <td>{{ $invite->email }}</td>
+ <td>{{ $invite->via }}</td>
+ <td>{{ $invite->role }}</td>
+ <td x-on:click="copyToClipboard('{{ $invite->link }}')">
+ <x-forms.button>Copy Invitation Link</x-forms.button>
+ </td>
+ <td>
+ <x-forms.button wire:click.prevent='deleteInvitation({{ $invite->id }})'>Revoke
+ Invitation
+ </x-forms.button>
+ </td>
+ </tr>
+ @endforeach
</tbody>
</table>
</div>
diff --git a/resources/views/livewire/team/invite-link.blade.php b/resources/views/livewire/team/invite-link.blade.php
index c6cee652ec..fe426b6525 100644
--- a/resources/views/livewire/team/invite-link.blade.php
+++ b/resources/views/livewire/team/invite-link.blade.php
@@ -1,6 +1,6 @@
<div>
<form wire:submit.prevent='viaLink' class="flex items-center gap-2">
- <x-forms.input id="email" type="email" name="email" placeholder="Email"/>
+ <x-forms.input id="email" type="email" name="email" placeholder="Email" />
<x-forms.select id="role" name="role">
<option value="admin">Admin</option>
<option value="member">Member</option>
diff --git a/resources/views/livewire/team/storage/create.blade.php b/resources/views/livewire/team/storage/create.blade.php
index f86e05731f..ec644f5eb0 100644
--- a/resources/views/livewire/team/storage/create.blade.php
+++ b/resources/views/livewire/team/storage/create.blade.php
@@ -3,17 +3,17 @@
<div class="pt-2 pb-10 ">S3 Storage used to save backups / files</div>
<form class="flex flex-col gap-2" wire:submit.prevent='submit'>
<div class="flex gap-2">
- <x-forms.input label="Name" id="name"/>
- <x-forms.input label="Description" id="description"/>
+ <x-forms.input label="Name" id="name" />
+ <x-forms.input label="Description" id="description" />
</div>
<div class="flex gap-2">
- <x-forms.input type="url" label="Endpoint" id="endpoint"/>
- <x-forms.input required label="Bucket" id="bucket"/>
- <x-forms.input required label="Region" id="region"/>
+ <x-forms.input type="url" label="Endpoint" id="endpoint" />
+ <x-forms.input required label="Bucket" id="bucket" />
+ <x-forms.input required label="Region" id="region" />
</div>
<div class="flex gap-2">
- <x-forms.input required type="password" label="Access Key" id="key"/>
- <x-forms.input required type="password" label="Secret Key" id="secret"/>
+ <x-forms.input required type="password" label="Access Key" id="key" />
+ <x-forms.input required type="password" label="Secret Key" id="secret" />
</div>
<x-forms.button type="submit">
diff --git a/resources/views/livewire/team/storage/form.blade.php b/resources/views/livewire/team/storage/form.blade.php
index f33eb37c64..5c824e9845 100644
--- a/resources/views/livewire/team/storage/form.blade.php
+++ b/resources/views/livewire/team/storage/form.blade.php
@@ -22,17 +22,17 @@
</x-forms.button>
</div>
<div class="flex gap-2">
- <x-forms.input label="Name" id="storage.name"/>
- <x-forms.input label="Description" id="storage.description"/>
+ <x-forms.input label="Name" id="storage.name" />
+ <x-forms.input label="Description" id="storage.description" />
</div>
<div class="flex gap-2">
- <x-forms.input required label="Endpoint" id="storage.endpoint"/>
- <x-forms.input required label="Bucket" id="storage.bucket"/>
- <x-forms.input required label="Region" id="storage.region"/>
+ <x-forms.input required label="Endpoint" id="storage.endpoint" />
+ <x-forms.input required label="Bucket" id="storage.bucket" />
+ <x-forms.input required label="Region" id="storage.region" />
</div>
<div class="flex gap-2">
- <x-forms.input required type="password" label="Access Key" id="storage.key"/>
- <x-forms.input required type="password" label="Secret Key" id="storage.secret"/>
+ <x-forms.input required type="password" label="Access Key" id="storage.key" />
+ <x-forms.input required type="password" label="Secret Key" id="storage.secret" />
</div>
</form>
</div>
diff --git a/resources/views/livewire/upgrade.blade.php b/resources/views/livewire/upgrade.blade.php
index 68bd7cd578..8d2242f419 100644
--- a/resources/views/livewire/upgrade.blade.php
+++ b/resources/views/livewire/upgrade.blade.php
@@ -1,40 +1,39 @@
-<li @if($isUpgradeAvailable) title="New version available" @else title="No upgrade available"
- @endif x-init="$wire.checkUpdate" x-data>
+<li @if ($isUpgradeAvailable) title="New version available" @else title="No upgrade available" @endif
+ x-init="$wire.checkUpdate" x-data>
@if ($isUpgradeAvailable)
<button wire:key="upgrade" wire:click='upgrade' class="hover:bg-transparent focus:bg-transparent"
- x-on:click="upgrade">
+ x-on:click="upgrade">
@if ($showProgress)
<svg xmlns="http://www.w3.org/2000/svg"
- class="w-6 h-6 text-pink-500 transition-colors hover:text-pink-300 lds-heart" viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"/>
+ class="w-6 h-6 text-pink-500 transition-colors hover:text-pink-300 lds-heart" viewBox="0 0 24 24"
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" />
</svg>
@else
<svg xmlns="http://www.w3.org/2000/svg"
- class="w-6 h-6 text-pink-500 transition-colors hover:text-pink-300" viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
+ class="w-6 h-6 text-pink-500 transition-colors hover:text-pink-300" viewBox="0 0 24 24"
+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path
- d="M9 12h-3.586a1 1 0 0 1 -.707 -1.707l6.586 -6.586a1 1 0 0 1 1.414 0l6.586 6.586a1 1 0 0 1 -.707 1.707h-3.586v3h-6v-3z"/>
- <path d="M9 21h6"/>
- <path d="M9 18h6"/>
+ d="M9 12h-3.586a1 1 0 0 1 -.707 -1.707l6.586 -6.586a1 1 0 0 1 1.414 0l6.586 6.586a1 1 0 0 1 -.707 1.707h-3.586v3h-6v-3z" />
+ <path d="M9 21h6" />
+ <path d="M9 18h6" />
</svg>
@endif
</button>
@else
<button class="hover:bg-transparent">
- <svg xmlns="http://www.w3.org/2000/svg"
- class="w-6 h-6 transition-colors text-neutral-700" viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
- stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 transition-colors text-neutral-700"
+ viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
+ stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path
- d="M9 12h-3.586a1 1 0 0 1 -.707 -1.707l6.586 -6.586a1 1 0 0 1 1.414 0l6.586 6.586a1 1 0 0 1 -.707 1.707h-3.586v3h-6v-3z"/>
- <path d="M9 21h6"/>
- <path d="M9 18h6"/>
+ d="M9 12h-3.586a1 1 0 0 1 -.707 -1.707l6.586 -6.586a1 1 0 0 1 1.414 0l6.586 6.586a1 1 0 0 1 -.707 1.707h-3.586v3h-6v-3z" />
+ <path d="M9 21h6" />
+ <path d="M9 18h6" />
</svg>
</button>
@endif
diff --git a/resources/views/private-key/all.blade.php b/resources/views/private-key/all.blade.php
index c2610c4430..2a99f75dc8 100644
--- a/resources/views/private-key/all.blade.php
+++ b/resources/views/private-key/all.blade.php
@@ -4,7 +4,7 @@
<div class="grid gap-2 lg:grid-cols-2">
@forelse ($privateKeys as $key)
<a class="text-center hover:no-underline box group"
- href="{{ route('private-key.show', ['private_key_uuid' => data_get($key, 'uuid')]) }}">
+ href="{{ route('private-key.show', ['private_key_uuid' => data_get($key, 'uuid')]) }}">
<div class="group-hover:text-white">
<div>{{ $key->name }}</div>
</div>
@@ -12,7 +12,7 @@
@empty
<div>
<div>No private keys found.</div>
- <x-use-magic-bar link="/private-key/new"/>
+ <x-use-magic-bar link="/private-key/new" />
</div>
@endforelse
</div>
diff --git a/resources/views/private-key/new.blade.php b/resources/views/private-key/new.blade.php
index 604d3a9822..a444efd4ce 100644
--- a/resources/views/private-key/new.blade.php
+++ b/resources/views/private-key/new.blade.php
@@ -1,5 +1,5 @@
<x-layout>
<h1>Create a new Private Key</h1>
<div class="pt-2 pb-10 ">Private Keys are used for connection to servers.</div>
- <livewire:private-key.create/>
+ <livewire:private-key.create />
</x-layout>
diff --git a/resources/views/private-key/show.blade.php b/resources/views/private-key/show.blade.php
index 3275cda054..f3efc02a1d 100644
--- a/resources/views/private-key/show.blade.php
+++ b/resources/views/private-key/show.blade.php
@@ -1,3 +1,3 @@
<x-layout>
- <livewire:private-key.change :private_key="$private_key"/>
+ <livewire:private-key.change :private_key="$private_key" />
</x-layout>
diff --git a/resources/views/profile.blade.php b/resources/views/profile.blade.php
index 09f71795fc..b4fd04f678 100644
--- a/resources/views/profile.blade.php
+++ b/resources/views/profile.blade.php
@@ -1,7 +1,7 @@
<x-layout>
<h1>Profile</h1>
<div class="pt-2 pb-10 ">Your user profile settings.</div>
- <livewire:profile.form :request="$request"/>
+ <livewire:profile.form :request="$request" />
<h3 class="py-4">Two-factor Authentication</h3>
@if (session('status') == 'two-factor-authentication-enabled')
<div class="mb-4 font-medium">
@@ -11,7 +11,7 @@
<div class="flex flex-col gap-2">
<form action="/user/confirmed-two-factor-authentication" method="POST" class="flex items-end w-32 gap-2">
@csrf
- <x-forms.input type="number" id="code" label="One-time code" required/>
+ <x-forms.input type="number" id="code" label="One-time code" required />
<x-forms.button type="submit">Validate 2FA</x-forms.button>
</form>
<div>
diff --git a/resources/views/project/application/configuration.blade.php b/resources/views/project/application/configuration.blade.php
index ba03a80aae..27e7baea04 100644
--- a/resources/views/project/application/configuration.blade.php
+++ b/resources/views/project/application/configuration.blade.php
@@ -1,66 +1,65 @@
<x-layout>
<h1>Configuration</h1>
- <livewire:project.application.heading :application="$application"/>
- <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }"
- class="flex h-full pt-6">
+ <livewire:project.application.heading :application="$application" />
+ <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex h-full pt-6">
<div class="flex flex-col gap-4 min-w-fit">
<a :class="activeTab === 'general' && 'text-white'"
- @click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>
+ @click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>
<a :class="activeTab === 'environment-variables' && 'text-white'"
- @click.prevent="activeTab = 'environment-variables'; window.location.hash = 'environment-variables'"
- href="#">Environment
+ @click.prevent="activeTab = 'environment-variables'; window.location.hash = 'environment-variables'"
+ href="#">Environment
Variables</a>
<a :class="activeTab === 'source' && 'text-white'"
- @click.prevent="activeTab = 'source'; window.location.hash = 'source'" href="#">Source</a>
+ @click.prevent="activeTab = 'source'; window.location.hash = 'source'" href="#">Source</a>
<a :class="activeTab === 'destination' && 'text-white'"
- @click.prevent="activeTab = 'destination'; window.location.hash = 'destination'"
- href="#">Destination
+ @click.prevent="activeTab = 'destination'; window.location.hash = 'destination'"
+ href="#">Destination
</a>
<a :class="activeTab === 'storages' && 'text-white'"
- @click.prevent="activeTab = 'storages'; window.location.hash = 'storages'" href="#">Storages
+ @click.prevent="activeTab = 'storages'; window.location.hash = 'storages'" href="#">Storages
</a>
<a :class="activeTab === 'previews' && 'text-white'"
- @click.prevent="activeTab = 'previews'; window.location.hash = 'previews'" href="#">Previews
+ @click.prevent="activeTab = 'previews'; window.location.hash = 'previews'" href="#">Previews
Deployments
</a>
<a :class="activeTab === 'rollback' && 'text-white'"
- @click.prevent="activeTab = 'rollback'; window.location.hash = 'rollback'" href="#">Rollback
+ @click.prevent="activeTab = 'rollback'; window.location.hash = 'rollback'" href="#">Rollback
</a>
<a :class="activeTab === 'resource-limits' && 'text-white'"
- @click.prevent="activeTab = 'resource-limits'; window.location.hash = 'resource-limits'"
- href="#">Resource Limits
+ @click.prevent="activeTab = 'resource-limits'; window.location.hash = 'resource-limits'"
+ href="#">Resource Limits
</a>
<a :class="activeTab === 'danger' && 'text-white'"
- @click.prevent="activeTab = 'danger'; window.location.hash = 'danger'" href="#">Danger Zone
+ @click.prevent="activeTab = 'danger'; window.location.hash = 'danger'" href="#">Danger Zone
</a>
</div>
<div class="w-full pl-8">
<div x-cloak x-show="activeTab === 'general'" class="h-full">
- <livewire:project.application.general :application="$application"/>
+ <livewire:project.application.general :application="$application" />
</div>
<div x-cloak x-show="activeTab === 'environment-variables'">
- <livewire:project.shared.environment-variable.all :resource="$application"/>
+ <livewire:project.shared.environment-variable.all :resource="$application" />
</div>
<div x-cloak x-show="activeTab === 'source'">
- <livewire:project.application.source :application="$application"/>
+ <livewire:project.application.source :application="$application" />
</div>
<div x-cloak x-show="activeTab === 'destination'">
- <livewire:project.shared.destination :destination="$application->destination"/>
+ <livewire:project.shared.destination :destination="$application->destination" />
</div>
<div x-cloak x-show="activeTab === 'storages'">
- <livewire:project.shared.storages.all :resource="$application"/>
+ <livewire:project.shared.storages.all :resource="$application" />
</div>
<div x-cloak x-show="activeTab === 'previews'">
- <livewire:project.application.previews :application="$application"/>
+ <livewire:project.application.previews :application="$application" />
</div>
<div x-cloak x-show="activeTab === 'rollback'">
- <livewire:project.application.rollback :application="$application"/>
+ <livewire:project.application.rollback :application="$application" />
</div>
<div x-cloak x-show="activeTab === 'resource-limits'">
- <livewire:project.shared.resource-limits :resource="$application"/>
+ <livewire:project.shared.resource-limits :resource="$application" />
</div>
<div x-cloak x-show="activeTab === 'danger'">
- <livewire:project.shared.danger :resource="$application"/>
+ <livewire:project.shared.danger :resource="$application" />
</div>
</div>
</div>
diff --git a/resources/views/project/application/deployment.blade.php b/resources/views/project/application/deployment.blade.php
index 7dafd9826c..0ed0d72b55 100644
--- a/resources/views/project/application/deployment.blade.php
+++ b/resources/views/project/application/deployment.blade.php
@@ -1,5 +1,5 @@
<x-layout>
<h1 class="py-0">Deployment</h1>
- <livewire:project.application.heading :application="$application"/>
- <livewire:project.application.deployment-logs :application_deployment_queue="$application_deployment_queue"/>
+ <livewire:project.application.heading :application="$application" />
+ <livewire:project.application.deployment-logs :application_deployment_queue="$application_deployment_queue" />
</x-layout>
diff --git a/resources/views/project/application/deployments.blade.php b/resources/views/project/application/deployments.blade.php
index 47ef50dc0e..46d7316538 100644
--- a/resources/views/project/application/deployments.blade.php
+++ b/resources/views/project/application/deployments.blade.php
@@ -1,6 +1,5 @@
<x-layout>
<h1>Deployments</h1>
- <livewire:project.application.heading :application="$application"/>
- <livewire:project.application.deployments :application="$application" :deployments="$deployments"
- :deployments_count="$deployments_count"/>
+ <livewire:project.application.heading :application="$application" />
+ <livewire:project.application.deployments :application="$application" :deployments="$deployments" :deployments_count="$deployments_count" />
</x-layout>
diff --git a/resources/views/project/database/backups/all.blade.php b/resources/views/project/database/backups/all.blade.php
index 4ecae7bea2..6f5dcc54e8 100644
--- a/resources/views/project/database/backups/all.blade.php
+++ b/resources/views/project/database/backups/all.blade.php
@@ -1,9 +1,9 @@
<x-layout>
<h1>Backups</h1>
- <livewire:project.database.heading :database="$database"/>
+ <livewire:project.database.heading :database="$database" />
<x-modal modalId="startDatabase">
<x-slot:modalBody>
- <livewire:activity-monitor header="Startup Logs"/>
+ <livewire:activity-monitor header="Startup Logs" />
</x-slot:modalBody>
<x-slot:modalSubmit>
<x-forms.button onclick="startDatabase.close()" type="submit">
@@ -11,12 +11,12 @@
</x-forms.button>
</x-slot:modalSubmit>
</x-modal>
- <livewire:project.database.create-scheduled-backup :database="$database" :s3s="$s3s"/>
+ <livewire:project.database.create-scheduled-backup :database="$database" :s3s="$s3s" />
<div class="pt-6">
<div class="flex gap-2 ">
<h2 class="pb-4">Scheduled Backups</h2>
<x-forms.button onclick="createScheduledBackup.showModal()">+ Add</x-forms.button>
</div>
- <livewire:project.database.scheduled-backups :database="$database"/>
+ <livewire:project.database.scheduled-backups :database="$database" />
</div>
</x-layout>
diff --git a/resources/views/project/database/backups/executions.blade.php b/resources/views/project/database/backups/executions.blade.php
index bea573f26c..8fdd877ded 100644
--- a/resources/views/project/database/backups/executions.blade.php
+++ b/resources/views/project/database/backups/executions.blade.php
@@ -1,9 +1,9 @@
<x-layout>
<h1>Backups</h1>
- <livewire:project.database.heading :database="$database"/>
+ <livewire:project.database.heading :database="$database" />
<x-modal modalId="startDatabase">
<x-slot:modalBody>
- <livewire:activity-monitor header="Startup Logs"/>
+ <livewire:activity-monitor header="Startup Logs" />
</x-slot:modalBody>
<x-slot:modalSubmit>
<x-forms.button onclick="startDatabase.close()" type="submit">
@@ -12,8 +12,8 @@
</x-slot:modalSubmit>
</x-modal>
<div class="pt-6">
- <livewire:project.database.backup-edit :backup="$backup" :s3s="$s3s"/>
+ <livewire:project.database.backup-edit :backup="$backup" :s3s="$s3s" />
<h3 class="py-4">Executions</h3>
- <livewire:project.database.backup-executions :backup="$backup" :executions="$executions"/>
+ <livewire:project.database.backup-executions :backup="$backup" :executions="$executions" />
</div>
</x-layout>
diff --git a/resources/views/project/database/configuration.blade.php b/resources/views/project/database/configuration.blade.php
index e0515c5af3..fff07cac8a 100644
--- a/resources/views/project/database/configuration.blade.php
+++ b/resources/views/project/database/configuration.blade.php
@@ -1,9 +1,9 @@
<x-layout>
<h1>Configuration</h1>
- <livewire:project.database.heading :database="$database"/>
+ <livewire:project.database.heading :database="$database" />
<x-modal modalId="startDatabase">
<x-slot:modalBody>
- <livewire:activity-monitor header="Startup Logs"/>
+ <livewire:activity-monitor header="Startup Logs" />
</x-slot:modalBody>
<x-slot:modalSubmit>
<x-forms.button onclick="startDatabase.close()" type="submit">
@@ -11,50 +11,49 @@
</x-forms.button>
</x-slot:modalSubmit>
</x-modal>
- <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }"
- class="flex h-full pt-6">
+ <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex h-full pt-6">
<div class="flex flex-col gap-4 min-w-fit">
<a :class="activeTab === 'general' && 'text-white'"
- @click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>
+ @click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>
<a :class="activeTab === 'environment-variables' && 'text-white'"
- @click.prevent="activeTab = 'environment-variables'; window.location.hash = 'environment-variables'"
- href="#">Environment
+ @click.prevent="activeTab = 'environment-variables'; window.location.hash = 'environment-variables'"
+ href="#">Environment
Variables</a>
<a :class="activeTab === 'destination' && 'text-white'"
- @click.prevent="activeTab = 'destination'; window.location.hash = 'destination'"
- href="#">Destination
+ @click.prevent="activeTab = 'destination'; window.location.hash = 'destination'"
+ href="#">Destination
</a>
<a :class="activeTab === 'storages' && 'text-white'"
- @click.prevent="activeTab = 'storages'; window.location.hash = 'storages'" href="#">Storages
+ @click.prevent="activeTab = 'storages'; window.location.hash = 'storages'" href="#">Storages
</a>
<a :class="activeTab === 'resource-limits' && 'text-white'"
- @click.prevent="activeTab = 'resource-limits'; window.location.hash = 'resource-limits'"
- href="#">Resource Limits
+ @click.prevent="activeTab = 'resource-limits'; window.location.hash = 'resource-limits'"
+ href="#">Resource Limits
</a>
<a :class="activeTab === 'danger' && 'text-white'"
- @click.prevent="activeTab = 'danger'; window.location.hash = 'danger'" href="#">Danger Zone
+ @click.prevent="activeTab = 'danger'; window.location.hash = 'danger'" href="#">Danger Zone
</a>
</div>
<div class="w-full pl-8">
<div x-cloak x-show="activeTab === 'general'" class="h-full">
@if ($database->type() === 'standalone-postgresql')
- <livewire:project.database.postgresql.general :database="$database"/>
+ <livewire:project.database.postgresql.general :database="$database" />
@endif
</div>
<div x-cloak x-show="activeTab === 'environment-variables'">
- <livewire:project.shared.environment-variable.all :resource="$database"/>
+ <livewire:project.shared.environment-variable.all :resource="$database" />
</div>
<div x-cloak x-show="activeTab === 'destination'">
- <livewire:project.shared.destination :destination="$database->destination"/>
+ <livewire:project.shared.destination :destination="$database->destination" />
</div>
<div x-cloak x-show="activeTab === 'storages'">
- <livewire:project.shared.storages.all :resource="$database"/>
+ <livewire:project.shared.storages.all :resource="$database" />
</div>
<div x-cloak x-show="activeTab === 'resource-limits'">
- <livewire:project.shared.resource-limits :resource="$database"/>
+ <livewire:project.shared.resource-limits :resource="$database" />
</div>
<div x-cloak x-show="activeTab === 'danger'">
- <livewire:project.shared.danger :resource="$database"/>
+ <livewire:project.shared.danger :resource="$database" />
</div>
</div>
</div>
diff --git a/resources/views/project/edit.blade.php b/resources/views/project/edit.blade.php
index bfbad4adc6..14746275f4 100644
--- a/resources/views/project/edit.blade.php
+++ b/resources/views/project/edit.blade.php
@@ -1,3 +1,3 @@
<x-layout>
- <livewire:project.edit :project="$project"/>
+ <livewire:project.edit :project="$project" />
</x-layout>
diff --git a/resources/views/project/new.blade.php b/resources/views/project/new.blade.php
index 823712295d..b3b13215e7 100644
--- a/resources/views/project/new.blade.php
+++ b/resources/views/project/new.blade.php
@@ -1,11 +1,11 @@
<x-layout>
@if ($type === 'public')
- <livewire:project.new.public-git-repository :type="$type"/>
+ <livewire:project.new.public-git-repository :type="$type" />
@elseif ($type === 'private-gh-app')
- <livewire:project.new.github-private-repository :type="$type"/>
+ <livewire:project.new.github-private-repository :type="$type" />
@elseif ($type === 'private-deploy-key')
- <livewire:project.new.github-private-repository-deploy-key :type="$type"/>
+ <livewire:project.new.github-private-repository-deploy-key :type="$type" />
@else
- <livewire:project.new.select/>
+ <livewire:project.new.select />
@endif
</x-layout>
diff --git a/resources/views/project/resources.blade.php b/resources/views/project/resources.blade.php
index ca3ddaf6cd..30e72bcc39 100644
--- a/resources/views/project/resources.blade.php
+++ b/resources/views/project/resources.blade.php
@@ -3,29 +3,29 @@
<div class="flex items-center gap-2">
<h1>Resources</h1>
<a href="{{ route('project.resources.new', ['project_uuid' => request()->route('project_uuid'), 'environment_name' => request()->route('environment_name')]) }} "
- class="font-normal text-white normal-case border-none rounded hover:no-underline btn btn-primary btn-sm no-animation">+
+ class="font-normal text-white normal-case border-none rounded hover:no-underline btn btn-primary btn-sm no-animation">+
Add</a>
@if ($environment->can_delete_environment())
- <livewire:project.delete-environment :environment_id="$environment->id"/>
+ <livewire:project.delete-environment :environment_id="$environment->id" />
@endif
</div>
<nav class="flex pt-2 pb-10">
<ol class="flex items-center">
<li class="inline-flex items-center">
<a class="text-xs truncate lg:text-sm"
- href="{{ route('project.show', ['project_uuid' => request()->route('project_uuid')]) }}">
+ href="{{ route('project.show', ['project_uuid' => request()->route('project_uuid')]) }}">
{{ $project->name }}</a>
</li>
<li>
<div class="flex items-center">
<svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold text-warning" fill="currentColor"
- viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+ viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
- d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
- clip-rule="evenodd"></path>
+ d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
+ clip-rule="evenodd"></path>
</svg>
<a class="text-xs truncate lg:text-sm"
- href="{{ route('project.resources', ['environment_name' => request()->route('environment_name'), 'project_uuid' => request()->route('project_uuid')]) }}">{{ request()->route('environment_name') }}</a>
+ href="{{ route('project.resources', ['environment_name' => request()->route('environment_name'), 'project_uuid' => request()->route('project_uuid')]) }}">{{ request()->route('environment_name') }}</a>
</div>
</li>
</ol>
@@ -37,7 +37,7 @@
<div class="grid gap-2 lg:grid-cols-2">
@foreach ($environment->applications->sortBy('name') as $application)
<a class="box"
- href="{{ route('project.application.configuration', [$project->uuid, $environment->name, $application->uuid]) }}">
+ href="{{ route('project.application.configuration', [$project->uuid, $environment->name, $application->uuid]) }}">
<div class="flex flex-col">
<div>{{ $application->name }}</div>
<div class="text-xs text-gray-400">{{ $application->description }}</div>
@@ -46,7 +46,7 @@
@endforeach
@foreach ($environment->databases->sortBy('name') as $databases)
<a class="box"
- href="{{ route('project.database.configuration', [$project->uuid, $environment->name, $databases->uuid]) }}">
+ href="{{ route('project.database.configuration', [$project->uuid, $environment->name, $databases->uuid]) }}">
<div class="flex flex-col">
<div>{{ $databases->name }}</div>
<div class="text-xs text-gray-400">{{ $databases->description }}</div>
diff --git a/resources/views/project/show.blade.php b/resources/views/project/show.blade.php
index 7ae3ea034e..05f9ae195e 100644
--- a/resources/views/project/show.blade.php
+++ b/resources/views/project/show.blade.php
@@ -2,7 +2,7 @@
<div class="flex items-center gap-2">
<h1>Environments</h1>
<x-forms.button class="btn" onclick="newEnvironment.showModal()">+ Add</x-forms.button>
- <livewire:project.add-environment :project="$project"/>
+ <livewire:project.add-environment :project="$project" />
</div>
<div class="pt-2 pb-10 text-xs truncate lg:text-sm">{{ $project->name }}</div>
<div class="grid gap-2 lg:grid-cols-2">
diff --git a/resources/views/projects.blade.php b/resources/views/projects.blade.php
index 72bb395a03..2bb6727673 100644
--- a/resources/views/projects.blade.php
+++ b/resources/views/projects.blade.php
@@ -3,7 +3,7 @@
<h1>Projects</span></h1>
@if ($servers > 0)
<x-forms.button class="btn" onclick="newEmptyProject.showModal()">+ Add</x-forms.button>
- <livewire:project.add-empty/>
+ <livewire:project.add-empty />
@endif
</div>
<div class="pt-2 pb-10 ">All Projects</div>
@@ -11,36 +11,35 @@
@if ($servers === 0)
<div>
<div>No servers found. Without a server, you won't be able to do much.</div>
- <x-use-magic-bar link="/server/new"/>
+ <x-use-magic-bar link="/server/new" />
</div>
@else
@forelse ($projects as $project)
<div class="gap-2 border border-transparent cursor-pointer box group" x-data
- x-on:click="goto('{{ $project->uuid }}')">
+ x-on:click="goto('{{ $project->uuid }}')">
<div class="flex flex-col mx-6">
<a class=" group-hover:text-white hover:no-underline"
- href="{{ route('project.show', ['project_uuid' => data_get($project, 'uuid')]) }}">{{ $project->name }}</a>
+ href="{{ route('project.show', ['project_uuid' => data_get($project, 'uuid')]) }}">{{ $project->name }}</a>
<div class="text-xs group-hover:text-white hover:no-underline"
- href="{{ route('project.show', ['project_uuid' => data_get($project, 'uuid')]) }}">
+ href="{{ route('project.show', ['project_uuid' => data_get($project, 'uuid')]) }}">
{{ $project->description }}</div>
</div>
<div class="flex-1"></div>
<a class="mx-4 rounded hover:text-white"
- href="{{ route('project.edit', ['project_uuid' => data_get($project, 'uuid')]) }}">
- <svg
- xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
+ href="{{ route('project.edit', ['project_uuid' => data_get($project, 'uuid')]) }}">
+ <svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path
- d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"/>
- <path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"/>
+ d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" />
+ <path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0" />
</svg>
</a>
</div>
@empty
<div>
<div>No project found.</div>
- <x-use-magic-bar/>
+ <x-use-magic-bar />
</div>
@endforelse
@endif
diff --git a/resources/views/server/all.blade.php b/resources/views/server/all.blade.php
index f56e83c7ef..61a1b8d17c 100644
--- a/resources/views/server/all.blade.php
+++ b/resources/views/server/all.blade.php
@@ -13,7 +13,7 @@
{{ $server->name }}
</div>
<div class="text-xs group-hover:text-white"
- href="{{ route('server.show', ['server_uuid' => data_get($server, 'uuid')]) }}">
+ href="{{ route('server.show', ['server_uuid' => data_get($server, 'uuid')]) }}">
{{ $server->description }}</div>
<div class="flex gap-1 text-xs text-error">
@if (!$server->settings->is_reachable)
@@ -32,7 +32,7 @@
@empty
<div>
<div>No servers found. Without a server, you won't be able to do much.</div>
- <x-use-magic-bar link="/server/new"/>
+ <x-use-magic-bar link="/server/new" />
</div>
@endforelse
<script>
diff --git a/resources/views/server/create.blade.php b/resources/views/server/create.blade.php
index b10fe020e1..3ff4fcf92c 100644
--- a/resources/views/server/create.blade.php
+++ b/resources/views/server/create.blade.php
@@ -2,8 +2,8 @@
@if ($private_keys->count() === 0)
<h1>Create Private Key</h1>
<div class="pb-10">You need to create a private key before you can create a server.</div>
- <livewire:private-key.create from="server"/>
+ <livewire:private-key.create from="server" />
@else
- <livewire:server.new.by-ip :private_keys="$private_keys"/>
+ <livewire:server.new.by-ip :private_keys="$private_keys" />
@endif
</x-layout>
diff --git a/resources/views/server/destinations.blade.php b/resources/views/server/destinations.blade.php
index 0ed5f9d02c..c31ac46f12 100644
--- a/resources/views/server/destinations.blade.php
+++ b/resources/views/server/destinations.blade.php
@@ -1,4 +1,4 @@
<x-layout>
- <x-server.navbar :server="$server"/>
- <livewire:destination.show :server="$server"/>
+ <x-server.navbar :server="$server" />
+ <livewire:destination.show :server="$server" />
</x-layout>
diff --git a/resources/views/server/private-key.blade.php b/resources/views/server/private-key.blade.php
index 5b6d4490d4..3c42f98f0c 100644
--- a/resources/views/server/private-key.blade.php
+++ b/resources/views/server/private-key.blade.php
@@ -1,4 +1,4 @@
<x-layout>
- <x-server.navbar :server="$server"/>
- <livewire:server.private-key :server="$server" :privateKeys="$privateKeys"/>
+ <x-server.navbar :server="$server" />
+ <livewire:server.private-key :server="$server" :privateKeys="$privateKeys" />
</x-layout>
diff --git a/resources/views/server/proxy.blade.php b/resources/views/server/proxy.blade.php
index b2094a6328..d46c675c24 100644
--- a/resources/views/server/proxy.blade.php
+++ b/resources/views/server/proxy.blade.php
@@ -1,4 +1,4 @@
<x-layout>
- <x-server.navbar :server="$server"/>
- <livewire:server.proxy :server="$server"/>
+ <x-server.navbar :server="$server" />
+ <livewire:server.proxy :server="$server" />
</x-layout>
diff --git a/resources/views/server/show.blade.php b/resources/views/server/show.blade.php
index 8fc3b33738..478f4b03ef 100644
--- a/resources/views/server/show.blade.php
+++ b/resources/views/server/show.blade.php
@@ -1,4 +1,4 @@
<x-layout>
- <x-server.navbar :server="$server"/>
- <livewire:server.form :server="$server"/>
+ <x-server.navbar :server="$server" />
+ <livewire:server.form :server="$server" />
</x-layout>
diff --git a/resources/views/settings/configuration.blade.php b/resources/views/settings/configuration.blade.php
index 5db1bbd4ac..afd23a488a 100644
--- a/resources/views/settings/configuration.blade.php
+++ b/resources/views/settings/configuration.blade.php
@@ -1,24 +1,23 @@
<x-layout>
- <x-settings.navbar/>
- <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }"
- class="flex h-full pt-1">
+ <x-settings.navbar />
+ <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex h-full pt-1">
<div class="flex flex-col gap-4 min-w-fit">
<a :class="activeTab === 'general' && 'text-white'"
- @click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>
+ @click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>
<a :class="activeTab === 'backup' && 'text-white'"
- @click.prevent="activeTab = 'backup'; window.location.hash = 'backup'" href="#">Backup</a>
+ @click.prevent="activeTab = 'backup'; window.location.hash = 'backup'" href="#">Backup</a>
<a :class="activeTab === 'smtp' && 'text-white'"
- @click.prevent="activeTab = 'smtp'; window.location.hash = 'smtp'" href="#">SMTP</a>
+ @click.prevent="activeTab = 'smtp'; window.location.hash = 'smtp'" href="#">SMTP</a>
</div>
<div class="w-full pl-8">
<div x-cloak x-show="activeTab === 'general'" class="h-full">
- <livewire:settings.configuration :settings="$settings"/>
+ <livewire:settings.configuration :settings="$settings" />
</div>
<div x-cloak x-show="activeTab === 'backup'" class="h-full">
- <livewire:settings.backup :settings="$settings" :database="$database" :backup="$backup" :s3s="$s3s"/>
+ <livewire:settings.backup :settings="$settings" :database="$database" :backup="$backup" :s3s="$s3s" />
</div>
<div x-cloak x-show="activeTab === 'smtp'" class="h-full">
- <livewire:settings.email :settings="$settings"/>
+ <livewire:settings.email :settings="$settings" />
</div>
</div>
</div>
diff --git a/resources/views/settings/license.blade.php b/resources/views/settings/license.blade.php
index 9e8eb7fed1..300961f052 100644
--- a/resources/views/settings/license.blade.php
+++ b/resources/views/settings/license.blade.php
@@ -1,5 +1,5 @@
<x-layout-subscription>
- <x-settings.navbar/>
+ <x-settings.navbar />
<h2>Resale License</h2>
- <livewire:check-license/>
+ <livewire:check-license />
</x-layout-subscription>
diff --git a/resources/views/source/all.blade.php b/resources/views/source/all.blade.php
index 58f27ccc60..5fc545f4fe 100644
--- a/resources/views/source/all.blade.php
+++ b/resources/views/source/all.blade.php
@@ -5,8 +5,8 @@
@forelse ($sources as $source)
@if ($source->getMorphClass() === 'App\Models\GithubApp')
<a class="flex gap-4 text-center hover:no-underline box group"
- href="{{ route('source.github.show', ['github_app_uuid' => data_get($source, 'uuid')]) }}">
- <x-git-icon class="text-white w-9 h-9" git="{{ $source->getMorphClass() }}"/>
+ href="{{ route('source.github.show', ['github_app_uuid' => data_get($source, 'uuid')]) }}">
+ <x-git-icon class="text-white w-9 h-9" git="{{ $source->getMorphClass() }}" />
<div class="group-hover:text-white">
<div>{{ $source->name }}</div>
@if (is_null($source->app_id))
@@ -18,8 +18,8 @@
@endif
@if ($source->getMorphClass() === 'App\Models\GitlabApp')
<a class="flex gap-4 text-center hover:no-underline box group"
- href="{{ route('source.gitlab.show', ['gitlab_app_uuid' => data_get($source, 'uuid')]) }}">
- <x-git-icon class="text-white w-9 h-9" git="{{ $source->getMorphClass() }}"/>
+ href="{{ route('source.gitlab.show', ['gitlab_app_uuid' => data_get($source, 'uuid')]) }}">
+ <x-git-icon class="text-white w-9 h-9" git="{{ $source->getMorphClass() }}" />
<div class="group-hover:text-white">
<div>{{ $source->name }}</div>
@if (is_null($source->app_id))
@@ -31,7 +31,7 @@
@empty
<div>
<div>No sources found.</div>
- <x-use-magic-bar/>
+ <x-use-magic-bar />
</div>
@endforelse
</div>
diff --git a/resources/views/source/github/show.blade.php b/resources/views/source/github/show.blade.php
index 6ae4d69c28..488319f0ff 100644
--- a/resources/views/source/github/show.blade.php
+++ b/resources/views/source/github/show.blade.php
@@ -1,4 +1,4 @@
<x-layout>
<livewire:source.github.change :github_app="$github_app" :name="$name" :ipv4="$ipv4" :ipv6="$ipv6"
- :fqdn="$fqdn"/>
+ :fqdn="$fqdn" />
</x-layout>
diff --git a/resources/views/source/new.blade.php b/resources/views/source/new.blade.php
index 0a423c198f..9f5f1a6efe 100644
--- a/resources/views/source/new.blade.php
+++ b/resources/views/source/new.blade.php
@@ -3,17 +3,17 @@
<div class="pt-2 pb-10 ">Add source providers for your applications.</div>
<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : '' }">
<div class="flex justify-center h-full gap-2 pb-6">
- <a class="flex items-center justify-center w-1/2 p-2 transition-colors rounded-none min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white hover:no-underline"
- :class="activeTab === 'github' && 'bg-coollabs text-white'"
- @click.prevent="activeTab = 'github'; window.location.hash = 'github'" href="#">GitHub
+ <a class="flex items-center justify-center w-1/2 p-2 transition-colors rounded-none min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white hover:no-underline"
+ :class="activeTab === 'github' && 'bg-coollabs text-white'"
+ @click.prevent="activeTab = 'github'; window.location.hash = 'github'" href="#">GitHub
</a>
- <a class="flex items-center justify-center w-1/2 p-2 transition-colors rounded-none min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white hover:no-underline"
- :class="activeTab === 'gitlab' && 'bg-coollabs text-white'"
- @click.prevent="activeTab = 'gitlab'; window.location.hash = 'gitlab'" href="#">GitLab
+ <a class="flex items-center justify-center w-1/2 p-2 transition-colors rounded-none min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white hover:no-underline"
+ :class="activeTab === 'gitlab' && 'bg-coollabs text-white'"
+ @click.prevent="activeTab = 'gitlab'; window.location.hash = 'gitlab'" href="#">GitLab
</a>
</div>
<div x-cloak x-show="activeTab === 'github'" class="h-full">
- <livewire:source.github.create/>
+ <livewire:source.github.create />
</div>
<div x-cloak x-show="activeTab === 'gitlab'" class="h-full">
WIP
diff --git a/resources/views/subscription.blade.php b/resources/views/subscription.blade.php
index 564e3ca154..78dce4888e 100644
--- a/resources/views/subscription.blade.php
+++ b/resources/views/subscription.blade.php
@@ -4,13 +4,13 @@
<div>
<div class="flex gap-2">
<h3>Subscription</h3>
- <livewire:switch-team/>
+ <livewire:switch-team />
</div>
<div class="flex items-center pb-8">
<span>Currently active team: <span
class="text-warning">{{ session('currentTeam.name') }}</span></span>
</div>
- <x-pricing-plans/>
+ <x-pricing-plans />
</div>
</div>
@else
diff --git a/resources/views/team/create.blade.php b/resources/views/team/create.blade.php
index 1eff78b6d0..6dae7ec023 100644
--- a/resources/views/team/create.blade.php
+++ b/resources/views/team/create.blade.php
@@ -1,5 +1,5 @@
<x-layout>
<h1>New Team</h1>
<div class="pt-2 pb-10">Add a new team</div>
- <livewire:team.create/>
+ <livewire:team.create />
</x-layout>
diff --git a/resources/views/team/storages/create.blade.php b/resources/views/team/storages/create.blade.php
index 817309a71a..711c521e3d 100644
--- a/resources/views/team/storages/create.blade.php
+++ b/resources/views/team/storages/create.blade.php
@@ -1,3 +1,3 @@
<x-layout>
- <livewire:team.storage.create/>
+ <livewire:team.storage.create />
</x-layout>
diff --git a/resources/views/vendor/mail/html/button.blade.php b/resources/views/vendor/mail/html/button.blade.php
index 4a9bf7d004..957b3ae450 100644
--- a/resources/views/vendor/mail/html/button.blade.php
+++ b/resources/views/vendor/mail/html/button.blade.php
@@ -1,24 +1,21 @@
-@props([
- 'url',
- 'color' => 'primary',
- 'align' => 'center',
-])
+@props(['url', 'color' => 'primary', 'align' => 'center'])
<table class="action" align="{{ $align }}" width="100%" cellpadding="0" cellspacing="0" role="presentation">
-<tr>
-<td align="{{ $align }}">
-<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
-<tr>
-<td align="{{ $align }}">
-<table border="0" cellpadding="0" cellspacing="0" role="presentation">
-<tr>
-<td>
-<a href="{{ $url }}" class="button button-{{ $color }}" target="_blank" rel="noopener">{{ $slot }}</a>
-</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-</td>
-</tr>
+ <tr>
+ <td align="{{ $align }}">
+ <table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
+ <tr>
+ <td align="{{ $align }}">
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation">
+ <tr>
+ <td>
+ <a href="{{ $url }}" class="button button-{{ $color }}"
+ target="_blank" rel="noopener">{{ $slot }}</a>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
</table>
diff --git a/resources/views/vendor/mail/html/footer.blade.php b/resources/views/vendor/mail/html/footer.blade.php
index 3ff41f89cb..33f7dad76d 100644
--- a/resources/views/vendor/mail/html/footer.blade.php
+++ b/resources/views/vendor/mail/html/footer.blade.php
@@ -1,11 +1,11 @@
<tr>
-<td>
-<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
-<tr>
-<td class="content-cell" align="center">
-{{ Illuminate\Mail\Markdown::parse($slot) }}
-</td>
-</tr>
-</table>
-</td>
+ <td>
+ <table class="footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
+ <tr>
+ <td class="content-cell" align="center">
+ {{ Illuminate\Mail\Markdown::parse($slot) }}
+ </td>
+ </tr>
+ </table>
+ </td>
</tr>
diff --git a/resources/views/vendor/mail/html/layout.blade.php b/resources/views/vendor/mail/html/layout.blade.php
index e55f6a6d9a..1f7a16fe80 100644
--- a/resources/views/vendor/mail/html/layout.blade.php
+++ b/resources/views/vendor/mail/html/layout.blade.php
@@ -1,57 +1,63 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
+
<head>
-<title>{{ config('app.name') }}</title>
-<meta name="viewport" content="width=device-width, initial-scale=1.0" />
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<meta name="color-scheme" content="light">
-<meta name="supported-color-schemes" content="light">
-<style>
-@media only screen and (max-width: 600px) {
-.inner-body {
-width: 100% !important;
-}
-
-.footer {
-width: 100% !important;
-}
-}
-
-@media only screen and (max-width: 500px) {
-.button {
-width: 100% !important;
-}
-}
-</style>
+ <title>{{ config('app.name') }}</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="color-scheme" content="light">
+ <meta name="supported-color-schemes" content="light">
+ <style>
+ @media only screen and (max-width: 600px) {
+ .inner-body {
+ width: 100% !important;
+ }
+
+ .footer {
+ width: 100% !important;
+ }
+ }
+
+ @media only screen and (max-width: 500px) {
+ .button {
+ width: 100% !important;
+ }
+ }
+ </style>
</head>
+
<body>
-<table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
-<tr>
-<td align="center">
-<table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
-{{ $header ?? '' }}
-
-<!-- Email Body -->
-<tr>
-<td class="body" width="100%" cellpadding="0" cellspacing="0" style="border: hidden !important;">
-<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
-<!-- Body content -->
-<tr>
-<td class="content-cell">
-{{ Illuminate\Mail\Markdown::parse($slot) }}
-
-{{ $subcopy ?? '' }}
-</td>
-</tr>
-</table>
-</td>
-</tr>
-
-{{ $footer ?? '' }}
-</table>
-</td>
-</tr>
-</table>
+ <table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
+ <tr>
+ <td align="center">
+ <table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
+ {{ $header ?? '' }}
+
+ <!-- Email Body -->
+ <tr>
+ <td class="body" width="100%" cellpadding="0" cellspacing="0"
+ style="border: hidden !important;">
+ <table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0"
+ role="presentation">
+ <!-- Body content -->
+ <tr>
+ <td class="content-cell">
+ {{ Illuminate\Mail\Markdown::parse($slot) }}
+
+ {{ $subcopy ?? '' }}
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ {{ $footer ?? '' }}
+ </table>
+ </td>
+ </tr>
+ </table>
</body>
+
</html>
diff --git a/resources/views/vendor/mail/html/message.blade.php b/resources/views/vendor/mail/html/message.blade.php
index f272460daa..80bce21126 100644
--- a/resources/views/vendor/mail/html/message.blade.php
+++ b/resources/views/vendor/mail/html/message.blade.php
@@ -1,27 +1,27 @@
<x-mail::layout>
-{{-- Header --}}
-<x-slot:header>
-<x-mail::header :url="config('app.url')">
-{{ config('app.name') }}
-</x-mail::header>
-</x-slot:header>
+ {{-- Header --}}
+ <x-slot:header>
+ <x-mail::header :url="config('app.url')">
+ {{ config('app.name') }}
+ </x-mail::header>
+ </x-slot:header>
-{{-- Body --}}
-{{ $slot }}
+ {{-- Body --}}
+ {{ $slot }}
-{{-- Subcopy --}}
-@isset($subcopy)
-<x-slot:subcopy>
-<x-mail::subcopy>
-{{ $subcopy }}
-</x-mail::subcopy>
-</x-slot:subcopy>
-@endisset
+ {{-- Subcopy --}}
+ @isset($subcopy)
+ <x-slot:subcopy>
+ <x-mail::subcopy>
+ {{ $subcopy }}
+ </x-mail::subcopy>
+ </x-slot:subcopy>
+ @endisset
-{{-- Footer --}}
-<x-slot:footer>
-<x-mail::footer>
-© {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
-</x-mail::footer>
-</x-slot:footer>
+ {{-- Footer --}}
+ <x-slot:footer>
+ <x-mail::footer>
+ © {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
+ </x-mail::footer>
+ </x-slot:footer>
</x-mail::layout>
diff --git a/resources/views/vendor/mail/html/panel.blade.php b/resources/views/vendor/mail/html/panel.blade.php
index 2975a60a02..783af16cee 100644
--- a/resources/views/vendor/mail/html/panel.blade.php
+++ b/resources/views/vendor/mail/html/panel.blade.php
@@ -1,14 +1,13 @@
<table class="panel" width="100%" cellpadding="0" cellspacing="0" role="presentation">
-<tr>
-<td class="panel-content">
-<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
-<tr>
-<td class="panel-item">
-{{ Illuminate\Mail\Markdown::parse($slot) }}
-</td>
-</tr>
+ <tr>
+ <td class="panel-content">
+ <table width="100%" cellpadding="0" cellspacing="0" role="presentation">
+ <tr>
+ <td class="panel-item">
+ {{ Illuminate\Mail\Markdown::parse($slot) }}
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
</table>
-</td>
-</tr>
-</table>
-
diff --git a/resources/views/vendor/mail/html/subcopy.blade.php b/resources/views/vendor/mail/html/subcopy.blade.php
index 790ce6c249..f559e8f1b5 100644
--- a/resources/views/vendor/mail/html/subcopy.blade.php
+++ b/resources/views/vendor/mail/html/subcopy.blade.php
@@ -1,7 +1,7 @@
<table class="subcopy" width="100%" cellpadding="0" cellspacing="0" role="presentation">
-<tr>
-<td>
-{{ Illuminate\Mail\Markdown::parse($slot) }}
-</td>
-</tr>
+ <tr>
+ <td>
+ {{ Illuminate\Mail\Markdown::parse($slot) }}
+ </td>
+ </tr>
</table>
diff --git a/resources/views/vendor/mail/html/table.blade.php b/resources/views/vendor/mail/html/table.blade.php
index a5f3348b23..b3bb3c8e4e 100644
--- a/resources/views/vendor/mail/html/table.blade.php
+++ b/resources/views/vendor/mail/html/table.blade.php
@@ -1,3 +1,3 @@
<div class="table">
-{{ Illuminate\Mail\Markdown::parse($slot) }}
+ {{ Illuminate\Mail\Markdown::parse($slot) }}
</div>
diff --git a/resources/views/vendor/mail/text/layout.blade.php b/resources/views/vendor/mail/text/layout.blade.php
index 9378baa077..b1a79aec9e 100644
--- a/resources/views/vendor/mail/text/layout.blade.php
+++ b/resources/views/vendor/mail/text/layout.blade.php
@@ -2,8 +2,7 @@
{!! strip_tags($slot) !!}
@isset($subcopy)
-
-{!! strip_tags($subcopy) !!}
+ {!! strip_tags($subcopy) !!}
@endisset
{!! strip_tags($footer) !!}
diff --git a/resources/views/vendor/toaster/hub.blade.php b/resources/views/vendor/toaster/hub.blade.php
index d7667bdca3..5aff1b5069 100644
--- a/resources/views/vendor/toaster/hub.blade.php
+++ b/resources/views/vendor/toaster/hub.blade.php
@@ -10,20 +10,20 @@
<template x-for="toast in toasts" :key="toast.id">
<div x-show="toast.isVisible" x-init="$nextTick(() => toast.show($el))" @if ($alignment->is('bottom'))
x-transition:enter-start="translate-y-12 opacity-0"
- x-transition:enter-end="translate-y-0 opacity-100"
- @elseif($alignment->is('top'))
- x-transition:enter-start="-translate-y-12 opacity-0"
- x-transition:enter-end="translate-y-0 opacity-100"
- @else
- x-transition:enter-start="opacity-0 scale-90"
- x-transition:enter-end="opacity-100 scale-100"
- @endif
- x-transition:leave-end="opacity-0 scale-90"
- class="relative flex duration-300 transform transition ease-in-out max-w-md w-full pointer-events-auto {{ $position->is('center') ? 'text-center' : 'text-left' }}"
- :class="toast.select({ error: 'text-white', info: 'text-white', success: 'text-white', warning: 'text-white' })"
- >
+ x-transition:enter-end="translate-y-0 opacity-100"
+ @elseif($alignment->is('top'))
+ x-transition:enter-start="-translate-y-12 opacity-0"
+ x-transition:enter-end="translate-y-0 opacity-100"
+ @else
+ x-transition:enter-start="opacity-0 scale-90"
+ x-transition:enter-end="opacity-100 scale-100"
+ @endif
+ x-transition:leave-end="opacity-0 scale-90"
+ class="relative flex duration-300 transform transition ease-in-out max-w-md w-full pointer-events-auto {{ $position->is('center') ? 'text-center' : 'text-left' }}"
+ :class="toast.select({ error: 'text-white', info: 'text-white', success: 'text-white', warning: 'text-white' })"
+ >
<i class=" flex items-center gap-2 select-none not-italic pr-6 pl-4 py-3 rounded shadow-lg w-full {{ $alignment->is('bottom') ? 'mt-3' : 'mb-3' }}"
- :class="toast.select({
+ :class="toast.select({
error: 'bg-coolgray-300',
info: 'bg-coolgray-300',
success: 'bg-coolgray-300',
@@ -32,56 +32,56 @@
<template x-if="toast.type === 'success'">
<div class="rounded text-success">
<svg aria-hidden="true" class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg">
+ xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"></path>
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd"></path>
</svg>
</div>
</template>
<template x-if="toast.type === 'error'">
<div class="rounded text-error">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"/>
- <path d="M12 9v4"/>
- <path d="M12 16v.01"/>
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" />
+ <path d="M12 9v4" />
+ <path d="M12 16v.01" />
</svg>
</div>
</template>
<template x-if="toast.type === 'info'">
<div class="rounded text-info">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
- <path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"/>
- <path d="M12 9h.01"/>
- <path d="M11 12h1v4h1"/>
+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+ <path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />
+ <path d="M12 9h.01" />
+ <path d="M11 12h1v4h1" />
</svg>
</div>
</template>
<template x-if="toast.type === 'warning'">
<div class="rounded text-warning">
<svg aria-hidden="true" class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg">
+ xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
- d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z"
- clip-rule="evenodd"></path>
+ d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z"
+ clip-rule="evenodd"></path>
</svg>
</div>
</template>
- <span x-html="toast.message"/>
+ <span x-html="toast.message" />
</i>
@if ($closeable)
<button @click="toast.dispose()" aria-label="@lang('close')"
- class="absolute right-0 p-4 focus:outline-none hover:bg-transparent/10 rounded {{ $alignment->is('bottom') ? 'top-3' : 'top-0' }}">
+ class="absolute right-0 p-4 focus:outline-none hover:bg-transparent/10 rounded {{ $alignment->is('bottom') ? 'top-3' : 'top-0' }}">
<svg aria-hidden="true" class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg">
+ xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
- d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
- clip-rule="evenodd"></path>
+ d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
+ clip-rule="evenodd"></path>
</svg>
</button>
@endif