mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Add navigation highlighting.
This commit is contained in:
parent
51d2623e2e
commit
15a418cf7c
@ -193,6 +193,12 @@
|
||||
document.getElementById("new-job"),
|
||||
{"coverTrigger": false}
|
||||
);
|
||||
var entry;
|
||||
for (entry of document.querySelectorAll("#slide-out a:not(.subheader)")) {
|
||||
if (entry.href === window.location.href) {
|
||||
entry.parentNode.classList.add("active");
|
||||
}
|
||||
}
|
||||
{% for message in get_flashed_messages() %}
|
||||
M.toast({html: '{{ message }}'})
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user