trentpalmerdotorg/tp/templates/base_navbar.html

23 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2021-02-24 20:13:54 -08:00
<div class="d-flex justify-content-center bg-dark">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark" style="width: 950px; max-width: 95vw;">
<a class="navbar-brand" href="{% url 'audio:home' %}">Home</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
2021-03-28 23:27:46 -07:00
<a class="nav-item nav-link text-light" href="{% url 'audio:feeds' %}">Feeds</a>
2021-12-03 00:49:05 -08:00
<a class="nav-item nav-link text-light" href="{% url 'about:apps' %}">Apps</a>
2021-03-28 23:27:46 -07:00
<a class="nav-item nav-link text-light" href="https://github.com/TrentSPalmer/trentpalmerdotorg" target="_blank" rel="noopener noreferrer">Fork-About</a>
2021-02-24 20:13:54 -08:00
{% if user.is_authenticated %}
2021-03-28 23:27:46 -07:00
<a class="nav-item nav-link text-light" href="{% url 'accounts:logout' %}">Logout</a>
<a class="nav-item nav-link text-light" href="{% url 'accounts:edit_profile' %}">Profile</a>
<a class="nav-item nav-link text-light" href="{% url 'audio:new_feed' %}">NewFeed</a>
2021-02-24 20:13:54 -08:00
{% else %}
2021-03-28 23:27:46 -07:00
<a class="nav-item nav-link text-light" href="{% url 'accounts:login' %}">Login</a>
2021-02-24 20:13:54 -08:00
{% endif %}
</div>
</div>
</nav>
</div>