lasthourcloud/resources/views/home.blade.php

34 lines
1.1 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 12:31:42 +00:00
@forelse ($environment->applications as $application)
<p>Application: {{ $application }}</p>
<livewire:temporary-check-status :application_id="$application->id" />
@empty
<li>No application found</li>
@endforelse
@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>