mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
refactoring
This commit is contained in:
@ -1,11 +1,25 @@
|
||||
<div>
|
||||
@if($site->status === \App\Enums\SiteStatus::INSTALLING)
|
||||
@include('livewire.sites.partials.installing', ['site' => $site])
|
||||
|
||||
<livewire:server-logs.logs-list :server="$site->server" :site="$site" :count="10" />
|
||||
@endif
|
||||
@if($site->status === \App\Enums\SiteStatus::INSTALLATION_FAILED)
|
||||
@include('livewire.sites.partials.installation-failed', ['site' => $site])
|
||||
|
||||
<livewire:server-logs.logs-list :server="$site->server" :site="$site" :count="10" />
|
||||
@endif
|
||||
@if($site->status === \App\Enums\SiteStatus::READY)
|
||||
@include('livewire.sites.partials.site-overview', ['site' => $site])
|
||||
@if($site->type == \App\Enums\SiteType::LARAVEL)
|
||||
<livewire:application.laravel-app :site="$site" />
|
||||
@endif
|
||||
|
||||
@if($site->type == \App\Enums\SiteType::PHP)
|
||||
<livewire:application.php-app :site="$site" />
|
||||
@endif
|
||||
|
||||
@if($site->type == \App\Enums\SiteType::WORDPRESS)
|
||||
<livewire:application.wordpress-app :site="$site" />
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user