navbar.html 862 Bytes
Newer Older
Ben Waters's avatar
Ben Waters committed
1
{% load staticfiles %}
Daniel W Bond's avatar
Daniel W Bond committed
2 3 4
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  <div class="container">
    <div class="navbar-header">
Ben Waters's avatar
Ben Waters committed
5
      <a class="navbar-brand" href="{% url 'index' %}"><strong>Your School</strong>&nbsp;Advisor</a>
Daniel W Bond's avatar
Daniel W Bond committed
6 7 8
    </div>
    <div class="collapse navbar-collapse">
      <ul class="nav navbar-nav">
Ben Waters's avatar
Ben Waters committed
9
        <li><a href="{% url 'profile-detail' %}">Me</a></li>
Ben Waters's avatar
Ben Waters committed
10 11
        <li><a href="#">New</a></li>
        <li><a href="#">Compare</a></li>
Daniel W Bond's avatar
Daniel W Bond committed
12 13
      </ul>
      <ul class="nav navbar-nav navbar-right">
Daniel W Bond's avatar
Daniel W Bond committed
14
        <li><a href="#">Search</a></li>
Ben Waters's avatar
Ben Waters committed
15
	{% if user.is_authenticated %}
16 17
	    <li><a href="{% url 'django.contrib.auth.views.logout' %}">Logout</a></li>
	{% else %}
Ben Waters's avatar
Ben Waters committed
18
        <li><a href="{% url 'django.contrib.auth.views.login' %}">Log In</a></li>
19
    {% endif %}
Daniel W Bond's avatar
Daniel W Bond committed
20 21 22 23
      </ul>
    </div><!--/.nav-collapse -->
  </div>
</nav>