Light theme on a light site
Lokl: https://lokl-web.basharatusman-a.workers.dev · organization lokl-test-account
Light is the default, so Lokl's generated code leaves data-theme out; these snippets are the same as the Button styles page.
Expected on this host (an allowed website)
A white page with the default filled buttons in the location's brand colour (maroon for Toronto), readable. The fifth, gift, slot is empty while gift sales are off.
If you see the plain "Book now" link instead, embed-lab.allegco.com is not on the organization's allowed websites yet: that is the blocked result, and a mismatch for this host.
Expected on this host (not an allowed website)
Lokl refuses to show its booking embeds on this website, so there is no booking panel, no empty box and no error frame. Where each embed would be, you see:
- A plain black Book now button that opens
https://lokl-web.basharatusman-a.workers.dev/book/lokl-test-account/dinner-shared/torontoin the same tab. - A plain black Give a gift certificate button that opens
https://lokl-web.basharatusman-a.workers.dev/book/lokl-test-account/giftin the same tab.
Lokl also makes a blocked-website record: the owner sees "A browser reported that embed-blocked.allegco.com tried to show your embed…" in Settings › Embed, with an Add it button. It is saved at most once an hour per website, so reloading does not add entries.
1. theme=light (default), style=solid
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed:
2. theme=light (default), style=price
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-style="price"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed:
3. theme=light (default), style=next
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-style="next"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed:
4. theme=light (default), style=outline
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-style="outline"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed:
5. theme=light (default), style=gift
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-style="gift"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed: