mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	highlight active items in top navbar
This commit is contained in:
		@@ -13,7 +13,7 @@
 | 
			
		||||
{# shown for large devices #}
 | 
			
		||||
<ul class="hide-on-med-and-down" style="margin-left: calc(57px + 1.5rem);">
 | 
			
		||||
  {# dashboard #}
 | 
			
		||||
  <li>
 | 
			
		||||
  <li {% if request.path == url_for('main.dashboard') %}class="active"{% endif %}>
 | 
			
		||||
    <a href="{{ url_for('main.dashboard') }}">
 | 
			
		||||
      <i class="material-icons left">dashboard</i>
 | 
			
		||||
      Dashboard
 | 
			
		||||
@@ -29,7 +29,7 @@
 | 
			
		||||
  </li>
 | 
			
		||||
 | 
			
		||||
  {# contributions #}
 | 
			
		||||
  <li>
 | 
			
		||||
  <li {% if request.path == url_for('contributions.index') %}class="active"{% endif %}>
 | 
			
		||||
    <a href="{{ url_for('contributions.index') }}">
 | 
			
		||||
      <i class="material-icons left">new_label</i>
 | 
			
		||||
      Contributions
 | 
			
		||||
@@ -37,7 +37,7 @@
 | 
			
		||||
  </li>
 | 
			
		||||
 | 
			
		||||
  {# social #}
 | 
			
		||||
  <li>
 | 
			
		||||
  <li {% if request.path == url_for('main.social') %}class="active"{% endif %}>
 | 
			
		||||
    <a href="{{ url_for('main.social') }}">
 | 
			
		||||
      <i class="material-icons left">groups</i>
 | 
			
		||||
      Social
 | 
			
		||||
@@ -62,14 +62,14 @@
 | 
			
		||||
{# large devices #}
 | 
			
		||||
<ul class="right hide-on-med-and-down" style="height: 64px;">
 | 
			
		||||
  {# manual #}
 | 
			
		||||
  <li class="tooltipped" data-position="bottom" data-tooltip="Manual">
 | 
			
		||||
  <li class="tooltipped {% if request.path == url_for('main.manual') %}active{% endif %}" data-position="bottom" data-tooltip="Manual">
 | 
			
		||||
    <a href="{{ url_for('main.manual') }}">
 | 
			
		||||
      <i class="material-icons">help_outline</i>
 | 
			
		||||
    </a>
 | 
			
		||||
  </li>
 | 
			
		||||
 | 
			
		||||
  {# news #}
 | 
			
		||||
  <li class="tooltipped" data-position="bottom" data-tooltip="News">
 | 
			
		||||
  <li class="tooltipped {% if request.path == url_for('main.news') %}active{% endif %}" data-position="bottom" data-tooltip="News">
 | 
			
		||||
    <a href="{{ url_for('main.news') }}">
 | 
			
		||||
      <i class="material-icons">email</i>
 | 
			
		||||
    </a>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user