mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 21:27:10 +01:00
d49f6b88a9
* update djlint * reformat all files * update precommit version --------- Co-authored-by: Son NK <son@simplelogin.io>
34 lines
1.1 KiB
HTML
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 %}
|