25 lines
743 B
Common Lisp
25 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 %}")
|