2024-01-07 15:23:41 +00:00
|
|
|
<div>
|
2024-06-07 09:01:10 +00:00
|
|
|
<x-slot:title>
|
|
|
|
|
Projects | Coolify
|
|
|
|
|
</x-slot>
|
2023-07-26 11:23:47 +00:00
|
|
|
<div class="flex gap-2">
|
2024-03-19 14:37:16 +00:00
|
|
|
<h1>Projects</h1>
|
2025-08-26 08:27:31 +00:00
|
|
|
@can('createAnyResource')
|
|
|
|
|
<x-modal-input buttonTitle="+ Add" title="New Project">
|
|
|
|
|
<livewire:project.add-empty />
|
|
|
|
|
</x-modal-input>
|
|
|
|
|
@endcan
|
2023-07-26 11:23:47 +00:00
|
|
|
</div>
|
2024-03-20 14:46:59 +00:00
|
|
|
<div class="subtitle">All your projects are here.</div>
|
2025-10-26 22:39:40 +00:00
|
|
|
<div class="grid grid-cols-1 gap-4 xl:grid-cols-2 -mt-1">
|
|
|
|
|
@foreach ($projects as $project)
|
2025-11-28 12:55:54 +00:00
|
|
|
<div class="relative gap-2 cursor-pointer coolbox group">
|
2025-10-26 22:39:40 +00:00
|
|
|
<a href="{{ $project->navigateTo() }}" class="absolute inset-0"></a>
|
2025-10-07 15:17:31 +00:00
|
|
|
<div class="flex flex-1 mx-6">
|
|
|
|
|
<div class="flex flex-col justify-center flex-1">
|
2025-10-26 22:39:40 +00:00
|
|
|
<div class="box-title">{{ $project->name }}</div>
|
2024-11-22 14:28:06 +00:00
|
|
|
<div class="box-description">
|
2025-10-26 22:39:40 +00:00
|
|
|
{{ $project->description }}
|
2024-10-05 13:03:40 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-10-26 22:39:40 +00:00
|
|
|
<div class="relative z-10 flex items-center justify-center gap-4 text-xs font-bold">
|
|
|
|
|
@if ($project->environments->first())
|
|
|
|
|
@can('createAnyResource')
|
2025-12-17 11:09:13 +00:00
|
|
|
<a class="hover:underline" {{ wireNavigate() }}
|
2025-10-26 22:39:40 +00:00
|
|
|
href="{{ route('project.resource.create', [
|
|
|
|
|
'project_uuid' => $project->uuid,
|
|
|
|
|
'environment_uuid' => $project->environments->first()->uuid,
|
|
|
|
|
]) }}">
|
|
|
|
|
+ Add Resource
|
|
|
|
|
</a>
|
|
|
|
|
@endcan
|
|
|
|
|
@endif
|
|
|
|
|
@can('update', $project)
|
2025-12-17 11:09:13 +00:00
|
|
|
<a class="hover:underline" {{ wireNavigate() }}
|
2025-10-26 22:39:40 +00:00
|
|
|
href="{{ route('project.edit', ['project_uuid' => $project->uuid]) }}">
|
|
|
|
|
Settings
|
|
|
|
|
</a>
|
|
|
|
|
@endcan
|
2024-10-09 21:45:57 +00:00
|
|
|
</div>
|
2023-07-26 11:23:47 +00:00
|
|
|
</div>
|
2025-10-07 15:17:31 +00:00
|
|
|
</div>
|
2025-10-26 22:39:40 +00:00
|
|
|
@endforeach
|
2023-05-24 13:47:04 +00:00
|
|
|
</div>
|
2024-01-07 15:23:41 +00:00
|
|
|
</div>
|