mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.0 KiB
28 lines
1.0 KiB
{% load static %}
|
|
{% load i18n %}
|
|
<li class="nav-header">
|
|
<div class="dropdown profile-element">
|
|
<span>
|
|
<img alt="image" class="img-circle" width="48" height="48" src="{% static "img/root.png" %}"/>
|
|
</span>
|
|
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
|
|
<span class="clear">
|
|
<span class="block m-t-xs">
|
|
<strong class="font-bold"> {{ request.user.name }}<span style="color: #8095a8"></span></strong>
|
|
</span>
|
|
<span class="text-muted text-xs block">
|
|
{{ request.user.get_role_display | default:"{% trans 'User' %}" }}<b class="caret"></b>
|
|
</span>
|
|
</span>
|
|
</a>
|
|
<ul class="dropdown-menu animated fadeInRight m-t-xs">
|
|
<li><a value="">{% trans 'Profile' %}</a></li>
|
|
<li class="divider"></li>
|
|
<li><a href="">{% trans 'Logout' %}</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="logo-element">
|
|
JMS
|
|
</div>
|
|
</li>
|