mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 08:58:30 +01:00
36 lines
No EOL
1.1 KiB
HTML
36 lines
No EOL
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 class="" 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 %} |