From d98c742aff79e22596b3aa8c7b075c7340c47cc8 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 18 Jul 2024 14:20:22 +0200 Subject: [PATCH] chore: update general page of apps --- .../project/application/general.blade.php | 243 +++++++++++------- .../livewire/source/github/create.blade.php | 2 +- 2 files changed, 144 insertions(+), 101 deletions(-) diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php index 4f68b6d8e..232900a5d 100644 --- a/resources/views/livewire/project/application/general.blade.php +++ b/resources/views/livewire/project/application/general.blade.php @@ -30,13 +30,7 @@ @endif - @if ($application->could_set_build_commands()) -
- -
- @endif + @if ($application->build_pack === 'dockercompose') @if ( !is_null($parsedServices) && @@ -57,6 +51,7 @@ @endforeach @endif @endif + @endif @if ($application->build_pack !== 'dockercompose') @@ -129,104 +124,152 @@ class="underline" href="https://coolify.io/docs/knowledge-base/docker/registry" @endif @endif - - @if ($application->build_pack !== 'dockerimage') -

Build

- @if ($application->build_pack !== 'dockercompose') -
- -
- @endif - @if ($application->could_set_build_commands()) - @if ($application->build_pack === 'nixpacks') -
- - - -
-
Nixpacks will detect the required configuration automatically. - Framework - Specific Docs -
- @endif - @endif - @if ($application->build_pack === 'dockercompose') -
-
- - -
-
- -
-
The following commands are for advanced use cases. Only modify them if you - know what are - you doing.
-
- - -
-
- @else -
- - @if ($application->build_pack === 'dockerfile' && !$application->dockerfile) - - @endif - - @if ($application->build_pack === 'dockerfile') - - @endif - @if ($application->could_set_build_commands()) - @if ($application->settings->is_static) - - @else - - @endif - @endif - -
- @if ($this->application->is_github_based() && !$this->application->is_public_repository()) -
- -
- @endif +
+

Build

+ @if ($application->build_pack === 'dockerimage') + @else + @if ($application->could_set_build_commands()) + @if ($application->build_pack === 'nixpacks') +
+ + + +
+
Nixpacks will detect the required configuration + automatically. + Framework + Specific Docs +
+ @endif + @endif +
+
+ +
+
+ @if ($application->build_pack === 'dockercompose') +
+
+ + +
+
+ +
+
The following commands are for advanced use cases. Only + modify them if you + know what are + you doing.
+
+ + +
+
+ @else +
+ + @if ($application->build_pack === 'dockerfile' && !$application->dockerfile) + + @endif + + @if ($application->build_pack === 'dockerfile') + + @endif + @if ($application->could_set_build_commands()) + @if ($application->settings->is_static) + + @else + + @endif + @endif + +
+ @if ($this->application->is_github_based() && !$this->application->is_public_repository()) +
+ +
+ @endif + + + @if ($application->build_pack !== 'dockercompose') +
+ +
+ @endif + @if ($application->could_set_build_commands()) +
+ +
+ @endif + @endif +
+
+
+
@endif - @else - - @endif +
@if ($application->build_pack === 'dockercompose') Reload Compose File diff --git a/resources/views/livewire/source/github/create.blade.php b/resources/views/livewire/source/github/create.blade.php index 97942fbdb..e93b23b78 100644 --- a/resources/views/livewire/source/github/create.blade.php +++ b/resources/views/livewire/source/github/create.blade.php @@ -13,7 +13,7 @@ this.activeAccordion = (this.activeAccordion == id) ? '' : id } }" class="relative w-full py-2 mx-auto overflow-hidden text-sm font-normal rounded-md"> -
+