lasthourcloud/resources/views/home.blade.php

36 lines
1.2 KiB
PHP
Raw Normal View History

<x-layout>
<h1>
Coolify v4 🎉
</h1>
2023-03-27 18:45:32 +00:00
<h1>Projects</h1>
<ul>
@forelse ($projects as $project)
2023-03-27 18:45:32 +00:00
<h2>{{ $project->name }}</h2>
<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 18:45:32 +00:00
<h3>{{ $application->name }}</h3>
<p>Application: {{ $application }}</p>
2023-03-27 16:14:33 +00:00
<p>Destination Class: {{ $application->destination->getMorphClass() }}</p>
2023-03-27 12:31:42 +00:00
@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)
2023-03-27 18:45:32 +00:00
<h3>{{ $database->name }}</h3>
2023-03-27 12:31:42 +00:00
<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
@empty
<li>No projects found</li>
@endforelse
</ul>
</x-layout>