Compare commits

..

2 Commits

3 changed files with 6 additions and 3 deletions

View File

@ -13,8 +13,7 @@
</div>
</div>
@endif
<button type="button" wire:click="start()" class="btn btn-primary" data-bs-toggle="modal"
data-bs-target="#plan7_selector_modal">
<button type="button" wire:click="start()" class="btn btn-primary" onclick="plan7SelectorModal = new bootstrap.Modal(document.getElementById('plan7_selector_modal'), {});plan7SelectorModal.show()">
@if($room)
Изменить
@else
@ -23,6 +22,7 @@
</button>
</div>
<!-- Modal -->
<div class="modal fade" wire:ignore.self id="plan7_selector_modal" tabindex="-1" aria-labelledby="exampleModalLabel"

View File

@ -25,7 +25,7 @@
if($json['total_commits'] > 0)
{
//$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && npm run build");
$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && php artisan optimize:clear");
$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && npm run build && php artisan optimize:clear");
echo "<p>$result</p>" ;
}

View File

@ -1,5 +1,8 @@
import 'bootstrap';
import * as bootstrap from 'bootstrap';
window.bootstrap = bootstrap;
/**
* We'll load the axios HTTP library which allows us to easily issue requests
* to our Laravel back-end. This library automatically handles sending the