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-07 15:17:31 +00:00
|
|
|
<div class="grid grid-cols-1 gap-4 xl:grid-cols-2 -mt-1" x-data="{ projects: @js($projects) }">
|
|
|
|
|
<template x-for="project in projects" :key="project.uuid">
|
|
|
|
|
<div class="box group cursor-pointer" @click="$wire.navigateToProject(project.uuid)">
|
|
|
|
|
<div class="flex flex-1 mx-6">
|
|
|
|
|
<div class="flex flex-col justify-center flex-1">
|
2024-11-22 14:28:06 +00:00
|
|
|
<div class="box-title" x-text="project.name"></div>
|
|
|
|
|
<div class="box-description">
|
|
|
|
|
<div x-text="project.description"></div>
|
2024-10-05 13:03:40 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-10-07 15:17:31 +00:00
|
|
|
<div class="relative z-10 flex items-center justify-center gap-4 text-xs font-bold"
|
|
|
|
|
x-show="project.canUpdate || project.canCreateResource">
|
|
|
|
|
<a class="hover:underline" wire:click.stop x-show="project.addResourceRoute"
|
|
|
|
|
:href="project.addResourceRoute">
|
|
|
|
|
+ Add Resource
|
|
|
|
|
</a>
|
|
|
|
|
<a class="hover:underline" wire:click.stop x-show="project.canUpdate"
|
2025-04-29 07:04:24 +00:00
|
|
|
:href="`/project/${project.uuid}/edit`">
|
2024-10-09 21:45:57 +00:00
|
|
|
Settings
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
2023-07-26 11:23:47 +00:00
|
|
|
</div>
|
2025-10-07 15:17:31 +00:00
|
|
|
</div>
|
|
|
|
|
</template>
|
2023-05-24 13:47:04 +00:00
|
|
|
</div>
|
2024-01-07 15:23:41 +00:00
|
|
|
</div>
|