mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-10-14 02:31:58 +00:00
Add first implementation of loading modal
This commit is contained in:
@@ -158,9 +158,7 @@
|
||||
</header>
|
||||
|
||||
<main class="grey lighten-5">
|
||||
{% block main_block %}
|
||||
{% endblock %}
|
||||
|
||||
{% block main_block %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer class="page-footer">
|
||||
@@ -188,6 +186,10 @@
|
||||
document.getElementById("new-job"),
|
||||
{"coverTrigger": false}
|
||||
);
|
||||
var loadingModal = document.getElementById("loading-modal");
|
||||
console.log(loadingModal);
|
||||
M.Modal.init(loadingModal, {"dismissible": false});
|
||||
M.Modal.getInstance(loadingModal).open();
|
||||
var entry;
|
||||
for (entry of document.querySelectorAll("#slide-out a:not(.subheader)")) {
|
||||
if (entry.href === window.location.href) {
|
||||
|
Reference in New Issue
Block a user