avatar
This commit is contained in:
parent
efcbeb5b1a
commit
b791847ca0
|
@ -110,4 +110,9 @@
|
||||||
|
|
||||||
#dialogPreference .preference {
|
#dialogPreference .preference {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#dialogPreference img.gravatar {
|
||||||
|
width: 48px;
|
||||||
|
height: 48px;
|
||||||
}
|
}
|
|
@ -282,6 +282,8 @@
|
||||||
.menu img.gravatar {
|
.menu img.gravatar {
|
||||||
float: left;
|
float: left;
|
||||||
margin: 2px 8px;
|
margin: 2px 8px;
|
||||||
|
height: 17px;
|
||||||
|
width: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#buildRun {
|
#buildRun {
|
||||||
|
|
|
@ -347,6 +347,7 @@
|
||||||
|
|
||||||
<div class="fn-right">
|
<div class="fn-right">
|
||||||
<img class="gravatar"
|
<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"
|
src="http://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=17&d=http://symphony.b3log.org/images/user-thumbnail.png"
|
||||||
title="{{.user.Name}}"/>
|
title="{{.user.Name}}"/>
|
||||||
<span class="font-ico ico-share"></span>
|
<span class="font-ico ico-share"></span>
|
||||||
|
|
|
@ -91,8 +91,9 @@
|
||||||
<input data-value="{{.user.Password}}" value="{{.user.Password}}" name="password" type="password"/>
|
<input data-value="{{.user.Password}}" value="{{.user.Password}}" name="password" type="password"/>
|
||||||
</label>
|
</label>
|
||||||
<label class="fn-clear">
|
<label class="fn-clear">
|
||||||
<img src="http://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=48&d=http://symphony.b3log.org/images/user-thumbnail.png"
|
<img onerror="this.src='http://symphony.b3log.org/images/user-thumbnail.png'"
|
||||||
title="{{.user.Name}}"/>
|
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>
|
<a href="http://gravatar.com/" target="_blank">{{.i18n.change_avatar}} Gravatar.com</a>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue