Commit ad3297ff authored by q4speed's avatar q4speed

显示个人头像

parent ab27d1c1
......@@ -318,4 +318,8 @@ div.dataTables_wrapper div.dataTables_filter {
.logo-element {
padding: 10px 0;
}
.welcome-message img {
margin: -12px 0;
}
\ No newline at end of file
......@@ -22,7 +22,11 @@
{% if user.is_authenticated %}
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<span class="m-r-sm text-muted welcome-message">
<strong class="font-bold"> {{ request.user.name }}<span style="color: #8095a8"></span></strong><b class="caret"></b>
<img alt="image" class="img-circle" width="48" height="48" src="{{ request.user.avatar_url }}"/>
<strong class="font-bold"> {{ request.user.name }}
<span style="color: #8095a8"></span>
<b class="caret"></b>
</strong>
</span>
</a>
<ul class="dropdown-menu animated fadeInRight m-t-xs">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment