lasthourcloud/resources/views/home.blade.php

46 lines
1.8 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-28 06:28:03 +00:00
<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 }}</p>
<p>Destination Class: {{ $application->destination->getMorphClass() }}</p>
2023-03-28 10:09:34 +00:00
<p>Source Class: {{ $application->source->getMorphClass() }}</p>
2023-03-28 06:28:03 +00:00
@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
2023-03-28 06:28:03 +00:00
<li>No projects found</li>
@endforelse
</ul>
</x-layout>