This commit is contained in:
Liang Ding 2014-10-24 09:56:44 +08:00
parent f410641a6e
commit 842b591d2d
5 changed files with 67 additions and 124 deletions

View File

@ -4,8 +4,6 @@
<meta charset="UTF-8">
<title>
{{.i18n.wide}}
</title>
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/codemirror.css">
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/hint/show-hint.css">
@ -27,23 +25,17 @@
<li>
<span>
{{.i18n.file}}
</span>
<div class="frame">
<ul>
<li class="save-all disabled" onclick="wide.saveAllFiles()">
<span>
{{.i18n.save_all_files}}
</span>
</li>
<li class="close-all disabled" onclick="wide.closeAllFiles()">
<span>
{{.i18n.close_all_files}}
</span>
</li>
<li class="hr">
@ -51,8 +43,6 @@
<li onclick="wide.exit()">
<span>
{{.i18n.exit}}
</span>
</li>
</ul>
@ -61,16 +51,12 @@
<li>
<span>
{{.i18n.run}}
</span>
<div class="frame">
<ul>
<li class="run disabled" onclick="wide.run()">
<span>
{{.i18n.build_n_run}}
</span>
</li>
<li class="hr">
@ -78,15 +64,11 @@
<li class="go-get disabled" onclick="wide.goget()">
<span>
{{.i18n.goget}}
</span>
</li>
<li class="go-install disabled" onclick="wide.goinstall()">
<span>
{{.i18n.goinstall}}
</span>
</li>
</ul>
@ -107,38 +89,27 @@
<li>
<span>
{{.i18n.help}}
</span>
<div class="frame">
<ul>
<li onclick="window.open('https://www.gitbook.io/book/88250/wide-user-guide')">
<span>
{{.i18n.wide_doc}}
</span>
</li>
<li onclick="window.open('https://github.com/b3log/wide/issues/new')">
{{.i18n.report_issues}}
</li>
<li class="hr">
</li>
<li onclick="editors.openStartPage()">
<span>
{{.i18n.start_page}}
</span>
</li>
<li onclick="wide.openAbout()">
<span>
{{.i18n.about}}
</span>
</li>
</ul>
@ -154,8 +125,6 @@
<div class="current" data-index="filreTree">
<span title="{{.i18n.file}}">
{{.i18n.file}}
</span>
</div>
</div>
@ -168,18 +137,12 @@
<ul>
<li onclick="tree.newFile();">
{{.i18n.create_file}}
</li>
<li onclick="tree.newDir();">
{{.i18n.create_dir}}
</li>
<li onclick="tree.removeIt();">
{{.i18n.delete}}
</li>
</ul>
</div>
@ -188,8 +151,6 @@
<ul>
<li onclick="tree.removeIt();">
{{.i18n.delete}}
</li>
</ul>
</div>
@ -219,22 +180,16 @@
<div class="current" data-index="output">
<span title="{{.i18n.output}}">
{{.i18n.output}}
</span>
</div>
<div data-index="search">
<span title="{{.i18n.search}}">
{{.i18n.search}}
</span>
</div>
<div data-index="notification">
<span title="{{.i18n.notification}}">
{{.i18n.notification}}
</span>
</div>
</div>
@ -280,21 +235,14 @@
</span>
<span class="notification-count" title="{{.i18n.unread_notification}}">
{{.i18n.notification}}!
</span>
</div>
</div>
<div id="dialogRemoveConfirm" class="fn-none">
{{.i18n.isDelete}}
<b>
</b>
?
</div>
<div id="dialogAlert" class="fn-none">
</div>
@ -350,10 +298,6 @@
}
return ret;
}
</script>
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/jquery-2.1.1.min.js">
</script>

View File

@ -60,7 +60,6 @@
"ver": "Version",
"current_ver": "Current Version",
"dev_team": "Dev Team",
"donate": "Donate",
"donate_us": "Donate Us",
"confirm_save": "Confirm Save",
"workspace": "Workspace",
@ -101,5 +100,6 @@
"project": "Project",
"license": "License",
"credits": "Credits",
"uptodate": "it is up to date",
"colon": ": "
}

View File

@ -60,7 +60,6 @@
"ver": "版本",
"current_ver": "当前版本",
"dev_team": "开发团队",
"donate": "捐赠",
"donate_us": "捐赠我们",
"confirm_save": "请确认所有文件已保存",
"workspace": "工作空间",
@ -101,6 +100,6 @@
"project": "项目",
"license": "许可协议",
"credits": "致谢",
"uptodate": "当前已是最新版本",
"uptodate": "已是最新版本",
"colon": ""
}

View File

@ -24,7 +24,7 @@ import (
)
const (
Ver = "1.0.0-dev" // 当前 Wide 版本
Ver = "1.0.0" // 当前 Wide 版本
)
// Wide 中唯一一个 init 函数.

View File

@ -22,7 +22,7 @@
<label>{{.i18n.dev_team}}{{.i18n.colon}}</label>
<a href="https://github.com/b3log/b3log-solo/wiki/About_us" target="_blank">B3log</a><br/>
<label>{{.i18n.donate}}{{.i18n.colon}}</label>
<label>{{.i18n.donate_us}}{{.i18n.colon}}</label>
<a href="http://b3log.org/donate.html" target="_blank">b3log.org/donate.html</a>
</div>
<div class="fn-left thx">