头像大小导致 nav颜色中间差

pull/6/head
guanghongwei 2015-03-01 22:46:19 +08:00
parent fb1c17dc51
commit a50d3ba692
5 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@ -1,8 +1,8 @@
{% load mytags %}
<li class="nav-header">
<div class="dropdown profile-element"> <span>
{# <img alt="image" class="img-circle" width="64" height="64" src="/static/img/{{ role_id | to_avatar }}.png" />#}
<img alt="image" class="img-circle" src="/static/img/profile_small.jpg">
<img alt="image" class="img-circle" width="48" height="48" src="/static/img/{{ role_id | to_avatar }}.png" />
{# <img alt="image" class="img-circle" src="/static/img/profile_small.jpg">#}
</span>
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">{{ user_id | to_name}}</strong>