jumpserver/apps/templates/_user_profile.html

28 lines
1021 B
HTML
Raw Normal View History

{% load static %}
2016-09-03 16:51:36 +00:00
{% 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"> {{ user.name }}<span style="color: #8095a8"></span></strong>
</span>
<span class="text-muted text-xs block">
2016-09-06 07:03:37 +00:00
{{ user.get_role_display | default:_('User') }}<b class="caret"></b>
</span>
</span>
</a>
<ul class="dropdown-menu animated fadeInRight m-t-xs">
2016-09-03 16:51:36 +00:00
<li><a value="">{% trans 'Profile' %}</a></li>
<li class="divider"></li>
2016-09-03 16:51:36 +00:00
<li><a href="">{% trans 'Logout' %}</a></li>
</ul>
</div>
<div class="logo-element">
JMS
</div>
</li>