头像大小导致 nav颜色中间差
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 17 KiB |
|
@ -1,8 +1,8 @@
|
||||||
{% load mytags %}
|
{% load mytags %}
|
||||||
<li class="nav-header">
|
<li class="nav-header">
|
||||||
<div class="dropdown profile-element"> <span>
|
<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" width="48" height="48" 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" src="/static/img/profile_small.jpg">#}
|
||||||
</span>
|
</span>
|
||||||
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
|
<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>
|
<span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">{{ user_id | to_name}}</strong>
|
||||||
|
|