mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
修改头像
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
{% load mytags %}
|
||||
<li class="nav-header">
|
||||
<div class="dropdown profile-element"> <span>
|
||||
<img alt="image" class="img-circle" src="/static/img/profile_small.jpg" />
|
||||
<img alt="image" class="img-circle" width="64" height="64" src="/static/img/{{ role_id | to_avatar }}.png" />
|
||||
</span>
|
||||
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
|
||||
<span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">{{ user_id }}</strong>
|
||||
</span> <span class="text-muted text-xs block">{{ role }} <b class="caret"></b></span> </span> </a>
|
||||
<span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">{{ user_id | to_name}}</strong>
|
||||
</span> <span class="text-muted text-xs block">{{ role_id | to_role_name }} <b class="caret"></b></span> </span> </a>
|
||||
<ul class="dropdown-menu animated fadeInRight m-t-xs">
|
||||
<li><a href="profile.html">Profile</a></li>
|
||||
<li><a href="contacts.html">Contacts</a></li>
|
||||
<li><a href="mailbox.html">Mailbox</a></li>
|
||||
<li><a href="/juser/profile/">个人信息</a></li>
|
||||
<li><a href="/juser/chg_pass/">修改密码</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="/logout/">Logout</a></li>
|
||||
<li><a href="/logout/">注销</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="logo-element">
|
||||
|
||||
Reference in New Issue
Block a user