mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 09:00:40 +00:00
Add navigation highlighting.
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user