Update links
This commit is contained in:
parent
a3679d4f99
commit
fb7faddd15
1 changed files with 9 additions and 6 deletions
|
@ -40,13 +40,16 @@
|
||||||
<ul class="navbar-nav ml-auto">
|
<ul class="navbar-nav ml-auto">
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="/devices">Devices</a>
|
<a class="nav-link" href="/devices/">Devices</a>
|
||||||
</li>
|
</li>
|
||||||
{% if user.is_superuser %}
|
<li class="nav-item">
|
||||||
<li class="nav-item">
|
<a class="nav-link" href="/wifi/">WiFi</a>
|
||||||
<a class="nav-link" href="/admin">Backend</a>
|
</li>
|
||||||
</li>
|
{% if user.is_staff %}
|
||||||
{% endif %}
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="/users/">Users</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="/accounts/logout">Logout</a>
|
<a class="nav-link" href="/accounts/logout">Logout</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue