plan7 selector - добавлена админка для сохранения api данных
This commit is contained in:
parent
5bd002cb2c
commit
71e9b17389
@ -76,6 +76,7 @@ public function setHouse($id)
|
|||||||
|
|
||||||
public function setRoom($id)
|
public function setRoom($id)
|
||||||
{
|
{
|
||||||
|
|
||||||
$this->room = $this->allObjects['data'][$id];
|
$this->room = $this->allObjects['data'][$id];
|
||||||
}
|
}
|
||||||
public function unsetRoom() {
|
public function unsetRoom() {
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<div class="">
|
<div class="">
|
||||||
<div id="{{ $containerId }}">
|
<div id="{{ $containerId }}">
|
||||||
|
<input type="hidden" name="plan7_apa" value="">
|
||||||
<!-- Button trigger modal -->
|
<!-- Button trigger modal -->
|
||||||
<div class="d-flex flex-wrap justify-content-between align-self-start gap-2">
|
<div class="d-flex flex-wrap justify-content-between align-self-start gap-2">
|
||||||
@if($room)
|
@if($room)
|
||||||
@ -15,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<div>
|
<div>
|
||||||
<button type="button" wire:click="start()" wire:loading.attr="disabled" class="btn btn-primary"
|
<button type="button" wire:click="start()" wire:loading.class="opacity-50" wire:target="load" class="btn btn-primary"
|
||||||
onclick="plan7SelectorModal = new bootstrap.Modal(document.getElementById('plan7_selector_modal'), {});plan7SelectorModal.show()">
|
onclick="plan7SelectorModal = new bootstrap.Modal(document.getElementById('plan7_selector_modal'), {});plan7SelectorModal.show()">
|
||||||
@if($room)
|
@if($room)
|
||||||
Изменить
|
Изменить
|
||||||
|
|||||||
@ -147,7 +147,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div id="catalogFrame" data-multicat="1" style="position:relative; width:100%; height:240px;">
|
<div id="catalogFrame" data-multicat="1" style="position:relative; width:100%; height:240px;">
|
||||||
<iframe src="https://plan7.ru/catalog/exp/?module=52" style="position:absolute; left:0px; top:0px; width:100%; height:100%; border:none;"></iframe>
|
<iframe src="https://plan7.ru/catalog/exp/?module=52&name=asdsasd" style="position:absolute; left:0px; top:0px; width:100%; height:100%; border:none;"></iframe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user