mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Add navigation highlighting.
This commit is contained in:
		@@ -193,6 +193,12 @@
 | 
				
			|||||||
          document.getElementById("new-job"),
 | 
					          document.getElementById("new-job"),
 | 
				
			||||||
          {"coverTrigger": false}
 | 
					          {"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() %}
 | 
					        {% for message in get_flashed_messages() %}
 | 
				
			||||||
        M.toast({html: '{{ message }}'})
 | 
					        M.toast({html: '{{ message }}'})
 | 
				
			||||||
        {% endfor %}
 | 
					        {% endfor %}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user