edition/partials/shop/top.hbs

56 lines
1.4 KiB
Handlebars
Raw Normal View History

2024-09-26 19:17:11 +00:00
<div>
2024-09-26 18:44:56 +00:00
<div
hx-get="shop/totals/"
2024-09-27 22:38:08 +00:00
hx-trigger="every 1s"
2024-09-26 18:44:56 +00:00
hx-on::config-request="
event.detail.path = !(
new URLSearchParams(window.location.search
).get('order'))
? 'shop/totals/'
: 'shop/totals/?orderId=' + new URLSearchParams(window.location.search).get('order');
"
hx-swap="outerHTML"
></div>
<div
id="order-form-rose-ash-shop"
2024-09-27 22:38:08 +00:00
></div>
2024-09-26 19:31:58 +00:00
2024-09-26 18:44:56 +00:00
<div
id="order-detail-rose-ash-shop"
hx-get="shop/order"
2024-09-26 20:39:09 +00:00
hx-trigger="every 1s"
2024-09-26 18:44:56 +00:00
hx-on::config-request="event.detail.path = new URLSearchParams(window.location.search).get('orderId') ? 'shop/order/' + new URLSearchParams(window.location.search).get('orderId')+ '/' : null; "
hx-on::confirm=" if (!new URLSearchParams(window.location.search).get('orderId')) { event.preventDefault(); }"
2024-09-26 20:39:09 +00:00
hx-swap="outerHTML"
2024-09-26 18:44:56 +00:00
>
</div>
2024-09-27 22:38:08 +00:00
<div
id="choice-all"
>div</div>
<div
id="choice-me"
></div>
<div
id="choice-buy"
></div>
<div
id="choice-configure"
></div>
<div
id="order-detail-rose-ash-shop"
hx-get="choice/"
hx-trigger="every 1s"
hx-on::config-request=" event.detail.path+= '?show=' + new URLSearchParams(window.location.search).get('show'); //6a919002-94eb-467d-a226-5dd05b7f44a3 '"
hx-swap="outerHTML"
>
<div class="spinner-border" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
2024-09-26 18:44:56 +00:00
</div>