nav-top.html 727 Bytes
Newer Older
1
{% load static i18n compress%}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<nav class="navbar fixed-top flex-md-nowrap p-0 border-bottom" id="navbar-top">
    <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#"><img src="{% static 'images/logo-primary.svg' %}" height="40" /></a>
    <input class="w-25 form-control" type="text" placeholder="Search" aria-label="Search">
    <ul class="navbar-nav px-3">
        {% if request.user.is_authenticated %}            
        <li class="nav-item">
            <a class="nav-link" href="#">{% trans "Sign Out" %}</a>
        </li>
        {% else %}
        <li class="nav-item">
            <a id="sign-up-link" class="nav-link" href="#">{% trans "Sign Up" %}</a>
        </li>        
        {% endif %}
    </ul>
</nav>