diff --git a/lang/en.json b/lang/en.json index c690f3fb6..c3fb7e03e 100644 --- a/lang/en.json +++ b/lang/en.json @@ -1,5 +1,7 @@ { "auth.login": "Login", + "auth.already-registered": "Already registered?", + "auth.register-now": "Register now!", "auth.logout": "Logout", "auth.register": "Register", "auth.registration_disabled": "Registration is disabled.", @@ -11,5 +13,6 @@ "input.name": "Name", "input.email": "Email", "input.password": "Password", - "input.password.again": "Password Again" -} + "input.password.again": "Password Again", + "button.save": "Save" +} \ No newline at end of file diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index f7e72b629..1787d0e44 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -2,30 +2,32 @@
Coolify
+
+

{{ __('auth.login') }}

+ @if ($is_registration_enabled) + + {{ __('auth.register-now') }} + + @else +
{{ __('auth.registration_disabled') }}
+ @endif +
@csrf - - + + @if ($errors->any())
{{ __('auth.failed') }}
@endif - {{ __('auth.login') }} + {{ __('auth.login') }}
- @if ($is_registration_enabled) - - - - @else -
{{ __('auth.registration_disabled') }}
- @endif +
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index ec30adad6..ee2feb6de 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,28 +1,31 @@
+
Coolify
+
+

{{ __('auth.register') }}

+ + {{ __('auth.already-registered') }} + +
@csrf - - - - - {{ __('auth.register') }} + + +
+ + +
+ {{ __('auth.register') }} @if ($errors->any()) -
+
  • {{ __('auth.failed') }}
@endif - - -
diff --git a/resources/views/components/confirm-modal.blade.php b/resources/views/components/confirm-modal.blade.php index 7d8ddd71a..461ac2637 100644 --- a/resources/views/components/confirm-modal.blade.php +++ b/resources/views/components/confirm-modal.blade.php @@ -22,8 +22,8 @@
- Confirm - Cancel + Confirm + Cancel
diff --git a/resources/views/components/inputs/button.blade.php b/resources/views/components/forms/button.blade.php similarity index 100% rename from resources/views/components/inputs/button.blade.php rename to resources/views/components/forms/button.blade.php diff --git a/resources/views/components/inputs/checkbox.blade.php b/resources/views/components/forms/checkbox.blade.php similarity index 100% rename from resources/views/components/inputs/checkbox.blade.php rename to resources/views/components/forms/checkbox.blade.php diff --git a/resources/views/components/inputs/input.blade.php b/resources/views/components/forms/input.blade.php similarity index 76% rename from resources/views/components/inputs/input.blade.php rename to resources/views/components/forms/input.blade.php index 4824ab5fb..7f1ac6bd9 100644 --- a/resources/views/components/inputs/input.blade.php +++ b/resources/views/components/forms/input.blade.php @@ -1,23 +1,17 @@ @props([ - 'id' => $attributes->has('id') || $attributes->has('label'), + 'id' => $attributes->has('id'), 'type' => $attributes->get('type') ?? 'text', - 'required' => null, 'label' => $attributes->has('label'), - 'helper' => $attributes->has('helper'), - 'noLabel' => $attributes->has('noLabel'), - 'noDirty' => $attributes->has('noDirty'), + 'required' => null, 'disabled' => null, + 'helper' => $attributes->has('helper'), + 'noDirty' => $attributes->has('noDirty'), ]) -
merge(['class' => 'w-full form-control']) }}> - @if (!$noLabel) + @if ($label) @endif - + @error($id)
diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.php index e49bf3c41..05645b0dc 100644 --- a/resources/views/components/navbar.blade.php +++ b/resources/views/components/navbar.blade.php @@ -11,19 +11,6 @@ -
  • - is('projects')) href="/projects" @endif> - - - - - - - -
  • -
  • is('servers')) href="/servers" @endif>
  • +
  • + is('projects')) href="/projects" @endif> + + + + + + + +
  • + + @if (auth()->user()->isPartOfRootTeam())
  • is('command-center')) href="/command-center" @endif> diff --git a/resources/views/livewire/check-update.blade.php b/resources/views/livewire/check-update.blade.php index e55d5a4f9..2e38d8712 100644 --- a/resources/views/livewire/check-update.blade.php +++ b/resources/views/livewire/check-update.blade.php @@ -1,6 +1,6 @@
    - - Check Update + + Check Update @if ($updateAvailable) Update available @endif diff --git a/resources/views/livewire/destination/form.blade.php b/resources/views/livewire/destination/form.blade.php index 1c4316b1b..e94b935ec 100644 --- a/resources/views/livewire/destination/form.blade.php +++ b/resources/views/livewire/destination/form.blade.php @@ -1,18 +1,18 @@
    - - + + @if ($destination->getMorphClass() === 'App\Models\StandaloneDocker') - + @endif
    - + Save - - + + Delete - +
    diff --git a/resources/views/livewire/destination/new/standalone-docker.blade.php b/resources/views/livewire/destination/new/standalone-docker.blade.php index 56bee03da..0a512c704 100644 --- a/resources/views/livewire/destination/new/standalone-docker.blade.php +++ b/resources/views/livewire/destination/new/standalone-docker.blade.php @@ -2,18 +2,18 @@

    New Destination

    - + Save - +
    - - - + + + @foreach ($servers as $server) @endforeach - +
    diff --git a/resources/views/livewire/private-key/change.blade.php b/resources/views/livewire/private-key/change.blade.php index 7b345068f..178da8234 100644 --- a/resources/views/livewire/private-key/change.blade.php +++ b/resources/views/livewire/private-key/change.blade.php @@ -1,16 +1,16 @@
    - - - + + +
    - + Save - - + + Delete - +
    diff --git a/resources/views/livewire/private-key/create.blade.php b/resources/views/livewire/private-key/create.blade.php index 5a5773e44..3e7b609ec 100644 --- a/resources/views/livewire/private-key/create.blade.php +++ b/resources/views/livewire/private-key/create.blade.php @@ -1,11 +1,11 @@
    - - - + + - + Save - +
    diff --git a/resources/views/livewire/profile/form.blade.php b/resources/views/livewire/profile/form.blade.php index 158a7409d..6a95e6790 100644 --- a/resources/views/livewire/profile/form.blade.php +++ b/resources/views/livewire/profile/form.blade.php @@ -2,9 +2,9 @@

    Profile

    - Save + Save
    - - + + diff --git a/resources/views/livewire/project/application/danger.blade.php b/resources/views/livewire/project/application/danger.blade.php index 5e5f17724..296bd6fda 100644 --- a/resources/views/livewire/project/application/danger.blade.php +++ b/resources/views/livewire/project/application/danger.blade.php @@ -1,5 +1,5 @@

    Danger Zone

    - Delete this application + Delete this application
    diff --git a/resources/views/livewire/project/application/environment-variable/add.blade.php b/resources/views/livewire/project/application/environment-variable/add.blade.php index 7e5e85ef8..14311e4fd 100644 --- a/resources/views/livewire/project/application/environment-variable/add.blade.php +++ b/resources/views/livewire/project/application/environment-variable/add.blade.php @@ -1,12 +1,12 @@
    - - - + + +
    - + Add - +
    diff --git a/resources/views/livewire/project/application/environment-variable/show.blade.php b/resources/views/livewire/project/application/environment-variable/show.blade.php index 8cba3ad1e..02442035b 100644 --- a/resources/views/livewire/project/application/environment-variable/show.blade.php +++ b/resources/views/livewire/project/application/environment-variable/show.blade.php @@ -1,17 +1,17 @@
    - - - + + +
    - + Update - - + + Delete - +
    diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php index 8b64c6320..3b0b5bd87 100644 --- a/resources/views/livewire/project/application/general.blade.php +++ b/resources/views/livewire/project/application/general.blade.php @@ -2,15 +2,15 @@

    General

    - + Save - +
    - +
    - - +
    @@ -18,67 +18,67 @@
    Set Random Domain
    @if ($global_wildcard_domain) - Global Wildcard - + Global Wildcard + @endif @if ($project_wildcard_domain) - Project Wildcard - + Project Wildcard + @endif
    @endif - + - + @if ($application->settings->is_static) - + - + @endif
    - - - + + +
    - @if ($application->settings->is_static) - @else - + @endif
    @if ($application->settings->is_static) - + @else - + @endif -

    Advanced

    - - - - {{-- --}} - - - {{-- - - --}} + {{-- --}} + + + {{-- + + --}}
    diff --git a/resources/views/livewire/project/application/resource-limits.blade.php b/resources/views/livewire/project/application/resource-limits.blade.php index 32e77879d..52eba5900 100644 --- a/resources/views/livewire/project/application/resource-limits.blade.php +++ b/resources/views/livewire/project/application/resource-limits.blade.php @@ -2,20 +2,20 @@

    Resource Limits

    - Save + Save
    Limit your container resources by CPU & memory.

    CPU

    - - - + + +

    Memory

    - - - + + - - + diff --git a/resources/views/livewire/project/application/rollback.blade.php b/resources/views/livewire/project/application/rollback.blade.php index 6fa014c41..019f71a56 100644 --- a/resources/views/livewire/project/application/rollback.blade.php +++ b/resources/views/livewire/project/application/rollback.blade.php @@ -1,7 +1,7 @@

    Rollback

    - Refresh + Refresh
    @@ -23,13 +23,13 @@
    @if (data_get($image, 'is_current')) - + Rollback - + @else - + Rollback - + @endif
    diff --git a/resources/views/livewire/project/application/source.blade.php b/resources/views/livewire/project/application/source.blade.php index b18d53349..d15046324 100644 --- a/resources/views/livewire/project/application/source.blade.php +++ b/resources/views/livewire/project/application/source.blade.php @@ -2,7 +2,7 @@
    --}} - - - + + + diff --git a/resources/views/livewire/project/application/storages/add.blade.php b/resources/views/livewire/project/application/storages/add.blade.php index d1d80dc66..2952bdee7 100644 --- a/resources/views/livewire/project/application/storages/add.blade.php +++ b/resources/views/livewire/project/application/storages/add.blade.php @@ -1,12 +1,12 @@
    - - - + + +
    - + Add - +
    diff --git a/resources/views/livewire/project/application/storages/show.blade.php b/resources/views/livewire/project/application/storages/show.blade.php index be90c7143..9b5da2960 100644 --- a/resources/views/livewire/project/application/storages/show.blade.php +++ b/resources/views/livewire/project/application/storages/show.blade.php @@ -1,17 +1,17 @@
    - - - + + +
    - + Update - - + + Delete - +
    diff --git a/resources/views/livewire/project/delete-environment.blade.php b/resources/views/livewire/project/delete-environment.blade.php index 1b4da0e5c..9c31ad7ad 100644 --- a/resources/views/livewire/project/delete-environment.blade.php +++ b/resources/views/livewire/project/delete-environment.blade.php @@ -1,12 +1,12 @@
    @if ($resource_count > 0) - + Delete - + @else - + Delete - + @endif
    diff --git a/resources/views/livewire/project/delete-project.blade.php b/resources/views/livewire/project/delete-project.blade.php index 7e4d01a1e..70279394d 100644 --- a/resources/views/livewire/project/delete-project.blade.php +++ b/resources/views/livewire/project/delete-project.blade.php @@ -1,12 +1,12 @@
    @if ($resource_count > 0) - + Delete - + @else - + Delete - + @endif
    diff --git a/resources/views/livewire/project/new/empty-project.blade.php b/resources/views/livewire/project/new/empty-project.blade.php index 4ad42518d..7cc1a90bd 100644 --- a/resources/views/livewire/project/new/empty-project.blade.php +++ b/resources/views/livewire/project/new/empty-project.blade.php @@ -1 +1 @@ -Empty Project +Empty Project 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 f0e1417dd..6f6b50b7c 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 @@ -3,11 +3,11 @@

    Select a private key

    @foreach ($private_keys as $key) @if ($private_key_id == $key->id) - - {{ $key->name }} + + {{ $key->name }} @else - {{ $key->name }} - + {{ $key->name }} + @endif @endforeach
    @@ -15,17 +15,17 @@

    Choose a repository

    - + @if ($is_static) - + @else - + @endif - +
    - + Submit - +
    @endisset 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 92468984a..0951d3e48 100644 --- a/resources/views/livewire/project/new/github-private-repository.blade.php +++ b/resources/views/livewire/project/new/github-private-repository.blade.php @@ -2,9 +2,9 @@ @if ($github_apps->count() > 0)

    Choose a GitHub App

    @foreach ($github_apps as $ghapp) - + {{ $ghapp->name }} - + @endforeach
    @if ($repositories->count() > 0) @@ -18,7 +18,7 @@ @endif @endforeach - Select Repository + Select Repository @endif
    @@ -35,7 +35,7 @@ @endif @endforeach - Save + Save @endif
    @else 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 3e056407d..aa6f70091 100644 --- a/resources/views/livewire/project/new/public-git-repository.blade.php +++ b/resources/views/livewire/project/new/public-git-repository.blade.php @@ -1,20 +1,20 @@

    Enter a public repository URL

    - +
    - @if ($is_static) - @else - @endif
    - + Submit - +
    diff --git a/resources/views/livewire/run-command.blade.php b/resources/views/livewire/run-command.blade.php index a853c940f..e3090844b 100755 --- a/resources/views/livewire/run-command.blade.php +++ b/resources/views/livewire/run-command.blade.php @@ -1,8 +1,8 @@

    Command Center

    - - + + @foreach ($servers as $server) @if ($loop->first) @@ -10,8 +10,8 @@ @endif @endforeach - - Run + + Run
    diff --git a/resources/views/livewire/server/form.blade.php b/resources/views/livewire/server/form.blade.php index c88ae75b3..9fb60e70d 100644 --- a/resources/views/livewire/server/form.blade.php +++ b/resources/views/livewire/server/form.blade.php @@ -3,44 +3,44 @@

    General

    - Save + Save @if ($server_id !== 0) - + Delete - + @endif
    - - - {{-- + + {{-- --}}
    @if ($server->id === 0) - - - + + + @else - +
    - - + +
    @endif

    Quick Actions

    - + @if ($server->settings->is_validated) Check Connection @else Validate Server @endif - - {{-- Install Docker --}} + + {{-- Install Docker --}}
    @isset($uptime) @@ -57,7 +57,7 @@ @@ -66,7 +66,7 @@
    diff --git a/resources/views/livewire/server/new/by-ip.blade.php b/resources/views/livewire/server/new/by-ip.blade.php index 634893cb6..3708b0c69 100644 --- a/resources/views/livewire/server/new/by-ip.blade.php +++ b/resources/views/livewire/server/new/by-ip.blade.php @@ -2,18 +2,18 @@

    New Server

    - + Save - +
    - - - + + - - + + - + @foreach ($private_keys as $key) @if ($loop->first) @@ -22,8 +22,8 @@ @endif @endforeach - - + +
    diff --git a/resources/views/livewire/server/proxy.blade.php b/resources/views/livewire/server/proxy.blade.php index 2efa2cf70..68e46f1d6 100644 --- a/resources/views/livewire/server/proxy.blade.php +++ b/resources/views/livewire/server/proxy.blade.php @@ -5,11 +5,11 @@

    Proxy

    @if ($server->extra_attributes->proxy_type) - + Start/Reconfigure Proxy - - Stop - + + Stop +
    @if ( $server->extra_attributes->last_applied_proxy_settings && @@ -46,13 +46,13 @@

    Configuration

    - Save - + Save + Reset Configuration - +

    traefik.conf

    - @endif @@ -64,7 +64,7 @@ {{ \App\Enums\ProxyTypes::TRAEFIK_V2 }} - Set Proxy + Set Proxy @endif @else

    Server is not validated. Validate first.

    diff --git a/resources/views/livewire/settings/form.blade.php b/resources/views/livewire/settings/form.blade.php index 75f03354f..9af3340d6 100644 --- a/resources/views/livewire/settings/form.blade.php +++ b/resources/views/livewire/settings/form.blade.php @@ -2,28 +2,28 @@

    Settings

    - + Save - +
    - - +
    - - + +

    Advanced

    - - - {{-- --}} - + + + {{-- --}} +
    diff --git a/resources/views/livewire/source/create.blade.php b/resources/views/livewire/source/create.blade.php index 68fdc5b4e..777b7d320 100644 --- a/resources/views/livewire/source/create.blade.php +++ b/resources/views/livewire/source/create.blade.php @@ -1,16 +1,16 @@
    - + Submit - +

    General

    - - + +

    Advanced

    - - - - - + + + + +
    diff --git a/resources/views/livewire/source/github/change.blade.php b/resources/views/livewire/source/github/change.blade.php index 4811ef59a..73467cab8 100644 --- a/resources/views/livewire/source/github/change.blade.php +++ b/resources/views/livewire/source/github/change.blade.php @@ -5,12 +5,12 @@

    GitHub App

    @if ($github_app->app_id) - Save - + Save + Delete - + - + @if ($github_app->installation_id) Update Repositories @@ -18,43 +18,43 @@ Install Repositories @endif - + @else - Save - + Save + Delete - +
    - Create GitHub Application - + Create GitHub Application +
    @endif
    - + @if ($github_app->app_id) - @else - + @endif - - - - + + + + @if ($github_app->app_id) - - - - - - + + + + + + @else - +
    diff --git a/resources/views/livewire/switch-team.blade.php b/resources/views/livewire/switch-team.blade.php index 4ad26393a..5bd21a8ca 100644 --- a/resources/views/livewire/switch-team.blade.php +++ b/resources/views/livewire/switch-team.blade.php @@ -3,9 +3,9 @@ @if (auth()->user()->otherTeams()->count() > 0)
    @foreach (auth()->user()->otherTeams() as $team) - - {{ $team->name }} + {{ $team->name }} @endforeach
    @endif