Browse Source

edited nav-bar

newsletter
Esther Kleinhenz 6 years ago
parent
commit
0c34f508b8
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      application/templates/base.html

+ 2
- 4
application/templates/base.html View File

<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>

Loading…
Cancel
Save