app-MAIL-temp/templates/onboarding/setup_done.html
Son Nguyen Kim d49f6b88a9
Upgrade djlint and reformat all fiels (#2197)
* update djlint

* reformat all files

* update precommit version

---------

Co-authored-by: Son NK <son@simplelogin.io>
2024-08-28 13:07:34 +02:00

34 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block content %}
<div class="flex-fill align-items-center mt-8">
<!-- Image container -->
<div class="mt-4 mb-4 text-center" style="display:block;">
<a href="{{ url_for("dashboard.index") }}">
<picture>
<source media="(max-width: 650px)" srcset="/static/logo.svg">
<img src="/static/logo.svg" style="width: 24rem" alt="logo">
</picture>
</a>
</div>
<!-- Text container -->
<div class="mt-8 mb-4 text-center">
<h2 class="text-black-50" style="font-size:2rem">Performing the extension setup...</h2>
</div>
</div>
<script type="text/javascript">
let counterIterations = 5;
let extensionSetupIntervalId = setInterval(function() {
counterIterations--;
if (counterIterations === 0) {
clearInterval(extensionSetupIntervalId);
return;
}
const data = { tag: "PERFORM_EXTENSION_SETUP" };
window.postMessage(data, "/");
}, 300); // Send it many times, in case the extension had not registered the listener yet
</script>
{% endblock %}