edition/partials/shop/top.hbs

76 lines
1.5 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"
>
</div>
2024-09-27 22:38:08 +00:00
<div
id="choice-all"
2024-09-27 22:41:14 +00:00
></div>
2024-09-27 22:38:08 +00:00
<div
id="choice-me"
></div>
<div
id="choice-buy"
></div>
<div
id="choice-configure"
></div>
2024-09-28 00:36:27 +00:00
<div id="configure-rose-ash-shop"></div>
<div hx-get="totals/" hx-trigger="load delay:1ms" 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>
2024-09-27 22:38:08 +00:00
<div
2024-09-27 23:21:27 +00:00
id="boot-rose-ash-shop"
2024-09-27 22:41:14 +00:00
hx-get="shop/choice/"
2024-09-27 22:38:08 +00:00
hx-trigger="every 1s"
2024-09-28 00:36:27 +00:00
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"
2024-09-27 22:38:08 +00:00
>
<div class="spinner-border" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
2024-09-26 18:44:56 +00:00
</div>