i18n and style of share dialog
This commit is contained in:
Liang Ding 2015-02-17 10:29:30 +08:00
parent a0fefc5db8
commit 8fd9ae1315
6 changed files with 25 additions and 7 deletions

View File

@ -168,5 +168,8 @@
"vet-succ": "[go vet] SUCCESS", "vet-succ": "[go vet] SUCCESS",
"vet-error": "[go vet] ERROR", "vet-error": "[go vet] ERROR",
"restore_outline": "Restore Outline", "restore_outline": "Restore Outline",
"share": "Share" "share": "Share",
"url": "URL",
"short_url": "Short URL",
"embeded": "Embeded"
} }

View File

@ -168,5 +168,8 @@
"vet-succ": "[go vet] SUCCESS", "vet-succ": "[go vet] SUCCESS",
"vet-error": "[go vet] ERROR", "vet-error": "[go vet] ERROR",
"restore_outline": "アウトラインを復元", "restore_outline": "アウトラインを復元",
"share": "シェア" "share": "シェア",
"url": "リンク",
"short_url": "ショートリンク",
"embeded": "埋め込む"
} }

View File

@ -168,5 +168,8 @@
"vet-succ": "[go vet] SUCCESS", "vet-succ": "[go vet] SUCCESS",
"vet-error": "[go vet] ERROR", "vet-error": "[go vet] ERROR",
"restore_outline": "恢复大纲", "restore_outline": "恢复大纲",
"share": "分享" "share": "分享",
"url": "链接",
"short_url": "短链接",
"embeded": "嵌入"
} }

View File

@ -168,5 +168,8 @@
"vet-succ": "[go vet] SUCCESS", "vet-succ": "[go vet] SUCCESS",
"vet-error": "[go vet] ERROR", "vet-error": "[go vet] ERROR",
"restore_outline": "恢復大綱", "restore_outline": "恢復大綱",
"share": "分享" "share": "分享",
"url": "鏈接",
"short_url": "短鏈接",
"embeded": "嵌入"
} }

View File

@ -67,3 +67,8 @@
border-width: 0; border-width: 0;
border-left: 1px solid #919191; border-left: 1px solid #919191;
} }
#dialogShare {
margin: 35px 100px 0 100px;
line-height: 28px;
}

View File

@ -305,9 +305,10 @@ var playground = {
return; return;
} }
var html = 'URL: <a href="' + url + '" target="_blank">' + url + "</a><br/>"; var html = '<div class="fn-clear"><label>' + config.label.url + config.label.colon + '</label><a href="' + url + '" target="_blank">' + url + "</a><br/>";
html += 'Short URL: <a href="' + data.shortURL + '" target="_blank">' + data.shortURL + '</a><br/>'; html += '<label>' + config.label.short_url + config.label.colon + '</label><a href="' + data.shortURL + '" target="_blank">' + data.shortURL + '</a><br/>';
html += 'Embeded: <br/><textarea rows="5" cols="80"><p><iframe src="' + url + '?embed=true" width="100%" height="600"></iframe></p></textarea>'; html += '<label>' + config.label.embeded + config.label.colon + '</label><br/><textarea rows="10" cols="80"><p><iframe src="' + url + '?embed=true" width="100%" height="600"></iframe></p></textarea>';
html += '</div>';
$("#dialogShare").html(html); $("#dialogShare").html(html);
$("#dialogShare").dialog("open"); $("#dialogShare").dialog("open");