nopaque/web/app/templates/auth/_breadcrumbs.html.j2
2020-11-02 16:29:22 +01:00

16 lines
1.1 KiB
Django/Jinja

<ul class="tabs tabs-transparent">
<li class="tab"><a href="{{ url_for('main.index') }}" target="_self"><i class="material-icons">home</i></a></li>
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
{% if request.path == url_for('.login') %}
<li class="tab"><a class="active" href="{{ url_for('.login') }}" target="_self">{{ title }}</a></li>
{% elif request.path == url_for('.register') %}
<li class="tab"><a class="active" href="{{ url_for('.register') }}" target="_self">{{ title }}</a></li>
{% elif request.path == url_for('.reset_password', token=token) %}
<li class="tab"><a class="active" href="{{ url_for('.reset_password', token=token) }}" target="_self">{{ title }}</a></li>
{% elif request.path == url_for('.reset_password_request') %}
<li class="tab"><a class="active" href="{{ url_for('.reset_password_request') }}" target="_self">{{ title }}</a></li>
{% elif request.path == url_for('.unconfirmed') %}
<li class="tab"><a class="active" href="{{ url_for('.unconfirmed') }}" target="_self">{{ title }}</a></li>
{% endif %}
</ul>