|
|
|
|
|
|
|
|
<title> {% block title %}Seitenname{% endblock %}</title> |
|
|
<title> {% block title %}Seitenname{% endblock %}</title> |
|
|
<link href="{% static 'css/application.css' %}" rel="stylesheet"> |
|
|
<link href="{% static 'css/application.css' %}" rel="stylesheet"> |
|
|
<link href="{% static 'bootstrap/css/bootstrap.css' %}" rel="stylesheet"> |
|
|
<link href="{% static 'bootstrap/css/bootstrap.css' %}" rel="stylesheet"> |
|
|
<link href="{% static 'css/signin.css' %}" rel="stylesheet"> |
|
|
|
|
|
|
|
|
|
|
|
</head> |
|
|
</head> |
|
|
|
|
|
|
|
|
<body> |
|
|
<body> |
|
|
|
|
|
|
|
|
</li> |
|
|
</li> |
|
|
{% else %} |
|
|
{% else %} |
|
|
<li class="nav-item"> |
|
|
<li class="nav-item"> |
|
|
<a class="nav-link" href="{% url 'student_page' %}">My Page</a> |
|
|
|
|
|
|
|
|
<a class="nav-link" href="{% url 'student_page' %}">{{user.get_username}}'s Dashboard</a> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
</ul> |
|
|
</ul> |
|
|
|
|
|
|
|
|
<ul class="nav navbar-nav navbar-right"> |
|
|
<ul class="nav navbar-nav navbar-right"> |
|
|
{% if user.is_authenticated %} |
|
|
{% if user.is_authenticated %} |
|
|
<li class="nav-item"> |
|
|
<li class="nav-item"> |
|
|
<a class="nav-link disabled" href="#">{{ user.first_name }} {{ user.last_name }}</a> |
|
|
|
|
|
|
|
|
<a class="nav-link disabled" href="#"></a> |
|
|
</li> |
|
|
</li> |
|
|
<li class="nav-item"> |
|
|
<li class="nav-item"> |
|
|
<a class="nav-link" href="{% url 'logout' %}?next={{ LOGOUT_REDIRECT_URL }}">Abmelden</a> |
|
|
<a class="nav-link" href="{% url 'logout' %}?next={{ LOGOUT_REDIRECT_URL }}">Abmelden</a> |