Compare commits

...

2 Commits

3 changed files with 6 additions and 3 deletions

View File

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

View File

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