mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Implement Flask-Breadcrumbs
This commit is contained in:
		@@ -1,14 +0,0 @@
 | 
			
		||||
{% set breadcrumbs %}
 | 
			
		||||
{% if not (request.path == url_for('.index')) %}
 | 
			
		||||
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if request.path == url_for('.faq') %}
 | 
			
		||||
<li class="tab"><a class="active" href="{{ url_for('.faq') }}" target="_self">Frequently Asked Questions</a></li>
 | 
			
		||||
{% elif request.path == url_for('.dashboard') %}
 | 
			
		||||
<li class="tab"><a class="active" href="{{ url_for('.dashboard') }}" target="_self">Dashboard</a></li>
 | 
			
		||||
{% elif request.path == url_for('.news') %}
 | 
			
		||||
<li class="tab"><a class="active" href="{{ url_for('.news') }}" target="_self">News</a></li>
 | 
			
		||||
{% elif request.path == url_for('.terms_of_use') %}
 | 
			
		||||
<li class="tab"><a class="active" href="{{ url_for('.terms_of_use') }}" target="_self">Terms of use</a></li>
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% endset %}
 | 
			
		||||
@@ -1,5 +1,4 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
{% from "main/_breadcrumbs.html.j2" import breadcrumbs with context %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,4 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
{% from "main/_breadcrumbs.html.j2" import breadcrumbs with context %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,4 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
{% from "main/_breadcrumbs.html.j2" import breadcrumbs with context %}
 | 
			
		||||
{% import "materialize/wtf.html.j2" as wtf %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,4 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
{% from "main/_breadcrumbs.html.j2" import breadcrumbs with context %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,4 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
{% from "main/_breadcrumbs.html.j2" import breadcrumbs with context %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,4 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
{% from "main/_breadcrumbs.html.j2" import breadcrumbs with context %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,4 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
{% from "main/_breadcrumbs.html.j2" import breadcrumbs with context %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,4 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
{% from "main/_breadcrumbs.html.j2" import breadcrumbs with context %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user