mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 10:14:47 +00:00
move files around
This commit is contained in:
1 parent
18a2d0bd90
commit
dd51b002b8
29 files changed
+63
-38
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<nav class="flex gap-4 py-2 bg-gray-100">
|
||||
<a href="{{ route('project.applications.configuration', Route::current()->parameters()) }}">Configuration</a>
|
||||
<a href="{{ route('project.applications.deployments', Route::current()->parameters()) }}">Deployments</a>
|
||||
<livewire:deploy-application :applicationId="$applicationId" />
|
||||
<a href="{{ route('project.application.configuration', Route::current()->parameters()) }}">Configuration</a>
|
||||
<a href="{{ route('project.application.deployments', Route::current()->parameters()) }}">Deployments</a>
|
||||
<livewire:project.application.deploy :applicationId="$applicationId" />
|
||||
</nav>
|
||||
@@ -1,5 +1,5 @@
|
||||
<x-layout>
|
||||
<h1>Projects</h1>
|
||||
<h1>Projects <button><a class="no-underline" href="{{ route('project.new') }}">New</a></button></h1>
|
||||
@forelse ($projects as $project)
|
||||
<a href="{{ route('project.environments', [$project->uuid]) }}">{{ data_get($project, 'name') }}</a>
|
||||
@empty
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,11 @@
|
||||
<div>
|
||||
<div class="flex flex-col w-64 gap-2">
|
||||
<button>Repository (any git)</button>
|
||||
<button>Repository through GitHub App</button>
|
||||
<button>Repository through GitLab App</button>
|
||||
<button>Repository through Bitbucket App</button>
|
||||
<button>Deploy Database</button>
|
||||
<button>Deploy Service</button>
|
||||
<button>Empty Project</button>
|
||||
</div>
|
||||
</div>
|
||||
+5
-5
@@ -10,19 +10,19 @@
|
||||
</a>
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'general'">
|
||||
<livewire:application.general :applicationId="$application->id" />
|
||||
<livewire:project.application.general :applicationId="$application->id" />
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'envs'">
|
||||
<livewire:application.environment-variables />
|
||||
<livewire:project.application.environment-variables />
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'source'">
|
||||
<livewire:application.source :applicationId="$application->id" />
|
||||
<livewire:project.application.source :applicationId="$application->id" />
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'destination'">
|
||||
<livewire:application.destination :destination="$application->destination" />
|
||||
<livewire:project.application.destination :destination="$application->destination" />
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'storages'">
|
||||
<livewire:application.storages :storages="$application->persistentStorages" />
|
||||
<livewire:project.application.storages :storages="$application->persistentStorages" />
|
||||
</div>
|
||||
</div>
|
||||
</x-applications.layout>
|
||||
@@ -0,0 +1,3 @@
|
||||
<x-applications.layout :applicationId="$application->id" title="Deployment">
|
||||
<livewire:project.application.poll-deployment :activity="$activity" :deployment_uuid="$deployment_uuid" />
|
||||
</x-applications.layout>
|
||||
+1
-2
@@ -1,8 +1,7 @@
|
||||
<x-applications.layout :applicationId="$application->id" title="Deployments">
|
||||
<div class="pt-2">
|
||||
@forelse ($deployments as $deployment)
|
||||
<livewire:poll-deployment :deployment_uuid="data_get($deployment->properties, 'deployment_uuid')" :created_at="data_get($deployment, 'created_at')" :status="data_get($deployment->properties, 'status')" />
|
||||
|
||||
<livewire:project.application.get-deployments :deployment_uuid="data_get($deployment->properties, 'deployment_uuid')" :created_at="data_get($deployment, 'created_at')" :status="data_get($deployment->properties, 'status')" />
|
||||
@empty
|
||||
<p>No deployments found.</p>
|
||||
@endforelse
|
||||
@@ -1,3 +0,0 @@
|
||||
<x-applications.layout :applicationId="$application->id" title="Deployment">
|
||||
<livewire:poll-activity :activity="$activity" :deployment_uuid="$deployment_uuid" />
|
||||
</x-applications.layout>
|
||||
@@ -0,0 +1,4 @@
|
||||
<x-layout>
|
||||
<h1>New Project</h1>
|
||||
<livewire:project.new-project />
|
||||
</x-layout>
|
||||
@@ -3,7 +3,7 @@
|
||||
<div>
|
||||
@foreach ($environment->applications as $application)
|
||||
<p>
|
||||
<a href="{{ route('project.applications.configuration', [$project->uuid, $environment->name, $application->uuid]) }}">
|
||||
<a href="{{ route('project.application.configuration', [$project->uuid, $environment->name, $application->uuid]) }}">
|
||||
{{ $application->name }}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
Reference in new issue
Block a user