26 lines
743 B
Common Lisp
26 lines
743 B
Common Lisp
|
(text "{% extends \"auth/base.html\" %} {% block head %}")
|
||
|
(title
|
||
|
(text "Connection"))
|
||
|
|
||
|
(text "{% endblock %} {% block title %}Connection{% endblock %} {% block content %}")
|
||
|
(div
|
||
|
("class" "w-full flex-col gap-2")
|
||
|
("id" "status")
|
||
|
(b
|
||
|
(text "Working...")))
|
||
|
|
||
|
(text "{% if connection_type == \"refresh\" %}")
|
||
|
(script
|
||
|
("defer" "true")
|
||
|
(text "setTimeout(async () => {
|
||
|
trigger(\"seller::onboarding\");
|
||
|
}, 1000);"))
|
||
|
(text "{% elif connection_type == \"return\" %}")
|
||
|
(script
|
||
|
("defer" "true")
|
||
|
(text "setTimeout(async () => {
|
||
|
document.getElementById(\"status\").innerHTML =
|
||
|
`<b>Account updated.</b> You can now close this tab.`;
|
||
|
}, 1000);"))
|
||
|
(text "{%- endif %} {% endblock %}")
|