1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-20 17:44:51 +00:00

Add Settings page: Move theme & lang changer to settings page

This commit is contained in:
catborise 2020-05-24 19:20:43 +03:00
parent 18ed90fb7e
commit 729f9e0039
17 changed files with 265 additions and 44 deletions

View file

@ -27,6 +27,11 @@
{% endif %}
</ul>
<ul class="navbar-nav navbar-right">
{% if request.user.is_superuser %}
<li class="nav-item">
<a class="nav-link" href="{% url 'appsettings' %}"><i class="fa fa-wrench"></i></a>
</li>
{% endif %}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarUserDropdown" data-toggle="dropdown" role="button" aria-expanded="false">
<i class="fa fa-fw fa-user"></i> {{ request.user.username }}