<aclass="navbar-brand m-b-0"href="{% url 'home' %}">{% trans 'OpenID Provider Example' %}</a>
<formclass="form-inline pull-xs-right">
<ulclass="nav navbar-nav">
{% if user.is_authenticated %}
{% if user.is_superuser %}
<liclass="nav-item"><aclass="nav-link"href="{% url 'admin:index' %}"><iclass="fa fa-external-link"aria-hidden="true"></i> {% trans 'Admin' %}</a></li>
{% endif %}
<liclass="nav-item"><aclass="nav-link"href="{% url 'logout' %}"><iclass="fa fa-times"aria-hidden="true"></i> {% trans 'Logout' %}</a></li>
{% else %}
<liclass="nav-item"><aclass="nav-link"href="{% url 'login' %}"><iclass="fa fa-sign-in"aria-hidden="true"></i> {% trans 'Login' %}</a></li>
<liclass="nav-item"><aclass="nav-link"href="https://github.com/juanifioren/django-oidc-provider"target="_blank"><iclass="fa fa-github-alt"></i> {% trans 'View on Github' %}</a></li>