lasthourcloud/resources/views/home.blade.php

38 lines
1.3 KiB
PHP
Raw Normal View History

<x-layout>
<h1>
Coolify v4 🎉
</h1>
<h2>Projects</h2>
<ul>
@forelse ($projects as $project)
<li>
<p>Project Name: {{ $project->name }}</p>
<p>Project Settings:{{ $project->settings }}</p>
<h2>Environments</h2>
@forelse ($project->environments as $environment)
<p>Environment Name: {{ $environment->name }}</p>
2023-03-27 16:14:33 +00:00
<h2>Applications</h2>
2023-03-27 12:31:42 +00:00
@forelse ($environment->applications as $application)
2023-03-27 16:14:33 +00:00
<p>Application: {{ $application->name }}</p>
<p>Destination: {{ $application->destination }}</p>
<p>Destination Class: {{ $application->destination->getMorphClass() }}</p>
2023-03-27 12:31:42 +00:00
<livewire:temporary-check-status :application_id="$application->id" />
@empty
<li>No application found</li>
@endforelse
2023-03-27 16:14:33 +00:00
<h2>Databases</h2>
2023-03-27 12:31:42 +00:00
@forelse ($environment->databases as $database)
<p>Database: {{ $database }}</p>
@empty
2023-03-27 12:31:42 +00:00
<li>No database found</li>
@endforelse
@empty
<p>No environments found</p>
@endforelse
</li>
@empty
<li>No projects found</li>
@endforelse
</ul>
</x-layout>