lasthourcloud/resources/views/home.blade.php
Andras Bacsai 4df66ebf00 wip
2023-03-28 15:47:37 +02:00

47 lines
1.9 KiB
PHP

<x-layout>
<h1>
Coolify v4 🎉
</h1>
<h1>Projects</h1>
<ul>
@forelse ($projects as $project)
<h2>{{ $project->name }}</h2>
<p>Project Settings:{{ $project->settings }}</p>
<h2>Environments</h2>
@forelse ($project->environments as $environment)
<h1>Environment: {{ $environment->name }}</h1>
<h2>Applications</h2>
@forelse ($environment->applications as $application)
<h3>{{ $application->name }}</h3>
<p>Application: {{ $application->settings }}</p>
<p>Destination Class: {{ $application->destination->getMorphClass() }}</p>
<p>Source Class: {{ $application->source->getMorphClass() }}</p>
<livewire:demo-deploy-application :application_uuid="$application->uuid" />
@empty
<li>No application found</li>
@endforelse
<h2>Databases</h2>
@forelse ($environment->databases as $database)
<h3>{{ $database->name }}</h3>
<p>Database: {{ $database }}</p>
<p>Destination Class: {{ $database->destination->getMorphClass() }}</p>
@empty
<li>No database found</li>
@endforelse
<h2>Services</h2>
@forelse ($environment->services as $service)
<h3>{{ $service->name }}</h3>
<p>Service: {{ $service }}</p>
<p>Destination Class: {{ $service->destination->getMorphClass() }}</p>
@empty
<li>No service found</li>
@endforelse
@empty
<p>No environments found</p>
@endforelse
@empty
<li>No projects found</li>
@endforelse
</ul>
</x-layout>