Commit a5f45465 authored by David Haynes's avatar David Haynes 🙆
Browse files

Slight changes to nav bar

- Log In/Log Out now on the right side as per sake of normality
- Teeny bit more spacing to make things more roomy
parent 1d9a6303
{% load go_extras %}
<div class="navbar navbar-default">
<div class="navbar-header">
<div class="navbar-header" style="margin-left:5%;">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
......@@ -9,19 +9,21 @@
<a class="navbar-brand" href="{% url 'index' %}">Go</a>
<div class="navbar-collapse collapse navbar-responsive-collapse">
<ul class="nav navbar-nav">
<ul class="nav navbar-nav navbar-left">
<li><a href="{% url 'about' %}">About</a></li>
{% if user.is_authenticated %}
<li><a href="{% url 'my_links' %}">My Links</a></li>
{% if not user|is_registered %}
<li><a href="{% url 'signup' %}">Register</a></li>
{% endif %}
{% endif %}
<ul class="nav navbar-nav navbar-right" style="margin-right:5%;">
{% if user.is_authenticated %}
<li><a href="{% url 'go_logout' %}">Log Out</a></li>
{% else %}
<li><a href="{% url 'go_login' %}">Log In</a></li>
{% endif %}
<ul class="nav navbar-nav navbar-right">
{% if user.is_staff and user|is_approved %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Administration<b class="caret"></b></a>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment