edition/partials/shop/top.hbs

39 lines
944 B
Handlebars

<div>
<div id="configure-rose-ash-shop"></div>
<div hx-get="shop/totals/" hx-trigger="every 1s" hx-swap="outerHTML"></div>
<div id="order-form-rose-ash-shop"></div>
<div id="order-detail-rose-ash-shop"></div>
<div id="choice-all"></div>
<div id="choice-me"></div>
<div id="choice-buy"></div>
<div id="choice-configure"></div>
<div id="choice-order"></div>
<div
id="boot-rose-ash-shop"
hx-get="shop/choice/"
hx-trigger="every 1s"
hx-on::config-request= "
event.detail.path+= '?show=' + new URLSearchParams(window.location.search).get('show');
if (new URLSearchParams(window.location.search).get('orderId')) {
event.detail.path += '&orderId=' + new URLSearchParams(window.location.search).get('orderId');
}"
hx-swap="none"
>
<div class="spinner-border" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
</div>