This commit is contained in:
Liang Ding 2014-12-14 17:44:00 +08:00
commit 24dfb16d23
7 changed files with 16 additions and 7 deletions

View File

@ -111,3 +111,8 @@
#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 {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -267,7 +267,7 @@ var editors = {
content: '<div id="startPage"></div>',
after: function () {
$("#startPage").load(config.context + '/start?sid=' + config.wideSessionId);
$.ajax({
/* $.ajax({
url: "http://symphony.b3log.org/apis/articles?tags=wide,golang&p=1&size=30",
type: "GET",
dataType: "jsonp",
@ -297,7 +297,7 @@ var editors = {
$("#startPage .news").html(listHTML + "</ul>");
}
});
});*/
}
});
},

View File

@ -37,8 +37,8 @@ var menu = {
$(".share-panel .font-ico").click(function () {
var key = $(this).attr('class').split('-')[2];
var title = encodeURIComponent($('title').text() + '. \n' + $('meta[name=description]').attr('content')),
url = "http://wide.b3log.org",
pic = 'http://wide.b3log.org/static/images/wide-logo.png';
url = "https://wide.b3log.org",
pic = 'https://wide.b3log.org/static/images/wide-logo.png';
var urls = {};
urls.email = "mailto:?subject=" + $('title').text()
+ "&body=" + $('meta[name=description]').attr('content') + ' ' + url;

View File

@ -347,7 +347,8 @@
<div class="fn-right">
<img class="gravatar"
src="http://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=17&d=http://symphony.b3log.org/images/user-thumbnail.png"
onerror="this.src='/images/user-thumbnail.png'"
src="https://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;
<span onclick="window.open('https://github.com/b3log/wide')"

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='/images/user-thumbnail.png'"
src="https://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>