nav-top.html 710 Bytes
Newer Older
1
{% load static i18n compress%}
2
<nav class="navbar-top navbar fixed-top flex-md-nowrap p-0 border-bottom">
hynek's avatar
hynek committed
3
    <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#"><img class="navbar-logo" src="{% static 'images/logo-primary.svg' %}" /></a>
4
5
    <input class="w-25 form-control" type="text" placeholder="Search" aria-label="Search">
    <ul class="navbar-nav px-3">
hynek's avatar
hynek committed
6
        {% if request.user.is_authenticated %}
7
8
9
10
11
12
        <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>
hynek's avatar
hynek committed
13
        </li>
14
15
16
        {% endif %}
    </ul>
</nav>