移除 http

This commit is contained in:
Van 2014-12-14 17:33:18 +08:00
parent b791847ca0
commit 9967b88291
5 changed files with 8 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

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

View File

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

View File

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

View File

@ -91,8 +91,8 @@
<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 onerror="this.src='http://symphony.b3log.org/images/user-thumbnail.png'" <img onerror="this.src='/images/user-thumbnail.png'"
src="http://secure.gravatar.com/avatar/{{.user.Gravatar}}?s=48&d=http://symphony.b3log.org/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'/> 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>