mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
add blank php site (#94)
* add blank php site * fix frontend * fix source control check
This commit is contained in:
@ -1,15 +1,11 @@
|
||||
<x-site-layout :site="$site">
|
||||
<x-slot name="pageTitle">{{ __("Application") }}</x-slot>
|
||||
@if($site->type == \App\Enums\SiteType::LARAVEL)
|
||||
<livewire:application.laravel-app :site="$site" />
|
||||
@endif
|
||||
|
||||
@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::PHP)
|
||||
<livewire:application.php-app :site="$site" />
|
||||
@endif
|
||||
|
||||
@if($site->type == \App\Enums\SiteType::WORDPRESS)
|
||||
<livewire:application.wordpress-app :site="$site" />
|
||||
@endif
|
||||
</x-site-layout>
|
||||
@if($site->type == \App\Enums\SiteType::WORDPRESS)
|
||||
<livewire:application.wordpress-app :site="$site" />
|
||||
@endif
|
||||
|
@ -1,18 +1,20 @@
|
||||
<x-site-layout :site="$site">
|
||||
<x-slot name="pageTitle">{{ __("Settings") }}</x-slot>
|
||||
<x-slot name="pageTitle">{{ __('Settings') }}</x-slot>
|
||||
|
||||
<livewire:sites.change-php-version :site="$site"/>
|
||||
<livewire:sites.change-php-version :site="$site" />
|
||||
|
||||
<livewire:sites.update-source-control-provider :site="$site"/>
|
||||
@if ($site->source_control_id)
|
||||
<livewire:sites.update-source-control-provider :site="$site" />
|
||||
@endif
|
||||
|
||||
<livewire:sites.update-v-host :site="$site"/>
|
||||
<livewire:sites.update-v-host :site="$site" />
|
||||
|
||||
<x-card>
|
||||
<x-slot name="title">{{ __("Delete Site") }}</x-slot>
|
||||
<x-slot name="description">{{ __("Permanently delete the site from server") }}</x-slot>
|
||||
<p>{{ __("Once your site is deleted, all of its files will be deleted from the server.") }}</p>
|
||||
<x-slot name="title">{{ __('Delete Site') }}</x-slot>
|
||||
<x-slot name="description">{{ __('Permanently delete the site from server') }}</x-slot>
|
||||
<p>{{ __('Once your site is deleted, all of its files will be deleted from the server.') }}</p>
|
||||
<div class="mt-5">
|
||||
<livewire:sites.delete-site :site="$site"/>
|
||||
<livewire:sites.delete-site :site="$site" />
|
||||
</div>
|
||||
</x-card>
|
||||
</x-site-layout>
|
||||
|
Reference in New Issue
Block a user