This commit is contained in:
Van 2014-12-14 16:40:45 +08:00
parent efcbeb5b1a
commit b791847ca0
4 changed files with 11 additions and 2 deletions

View File

@ -110,4 +110,9 @@
#dialogPreference .preference {
margin-bottom: 10px;
}
#dialogPreference img.gravatar {
width: 48px;
height: 48px;
}

View File

@ -282,6 +282,8 @@
.menu img.gravatar {
float: left;
margin: 2px 8px;
height: 17px;
width: 17px;
}
#buildRun {

View File

@ -347,6 +347,7 @@
<div class="fn-right">
<img class="gravatar"
onerror="this.src='http://symphony.b3log.org/images/user-thumbnail.png'"
src="http://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=17&d=http://symphony.b3log.org/images/user-thumbnail.png"
title="{{.user.Name}}"/>
<span class="font-ico ico-share"></span> &nbsp;

View File

@ -91,8 +91,9 @@
<input data-value="{{.user.Password}}" value="{{.user.Password}}" name="password" type="password"/>
</label>
<label class="fn-clear">
<img src="http://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=48&d=http://symphony.b3log.org/images/user-thumbnail.png"
title="{{.user.Name}}"/>
<img onerror="this.src='http://symphony.b3log.org/images/user-thumbnail.png'"
src="http://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=48&d=http://symphony.b3log.org/images/user-thumbnail.png"
title="{{.user.Name}}" class='gravatar'/>
<a href="http://gravatar.com/" target="_blank">{{.i18n.change_avatar}} Gravatar.com</a>
</label>
</div>