This commit is contained in:
Liang Ding 2019-05-16 21:28:55 +08:00
parent 44aee6b548
commit cc928edb4a
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
10 changed files with 4 additions and 33 deletions

View File

@ -137,7 +137,6 @@
"clearOutput": "Clear Output",
"export": "Export",
"refresh": "Refresh",
"import": "Import",
"theme": "Theme",
"tab_size": "Tab Size",
"copy_file_path": "Copy File Path",

View File

@ -137,7 +137,6 @@
"clearOutput": "空の出力",
"export": "輸出",
"refresh": "リフレッシュ",
"import": "インポート",
"theme": "テーマ",
"tab_size": "Tab サイズ",
"copy_file_path": "ファイルパスをコピー",

View File

@ -137,7 +137,6 @@
"clearOutput": "ouput 클리어",
"export": "내보내기",
"refresh": "새로고침",
"import": "가져오기",
"theme": "주제",
"tab_size": "Tab 크기",
"copy_file_path": "경로복사",

View File

@ -137,7 +137,6 @@
"clearOutput": "清空输出",
"export": "导出",
"refresh": "刷新",
"import": "导入",
"theme": "主题",
"tab_size": "Tab 大小",
"copy_file_path": "复制文件路径",

View File

@ -137,7 +137,6 @@
"clearOutput": "清空輸出",
"export": "導出",
"refresh": "刷新",
"import": "導入",
"theme": "主題",
"tab_size": "Tab 大小",
"copy_file_path": "複製檔案位置",

View File

@ -229,22 +229,6 @@ var tree = {
tree.fileTree.reAsyncChildNodes(wide.curNode, "refresh", true);
},
import: function () {
var request = newWideRequest();
request.path = wide.curNode.path;
$('#importFileupload').fileupload({
url: "/file/upload?path=" + request.path,
dataType: 'json',
formData: request,
done: function (e, result) {
tree.fileTree.reAsyncChildNodes(wide.curNode, "refresh");
},
fail: function () {
console.log(arguments);
}
});
},
init: function () {
$("#file").click(function () {
$(this).focus();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -50,9 +50,6 @@
<span>{{.i18n.close_all_files}}</span>
</li>
<li class="hr"></li>
<li class="disabled import" onclick="if (!$(this).hasClass('disabled')){$('#importFileupload').click(); }">
<span class="ico-import font-ico"></span> {{.i18n.import}}
</li>
<li class="disabled export" onclick="if (!$(this).hasClass('disabled')){tree.export(this); }">
<span class="ico-export font-ico"></span> {{.i18n.export}}
</li>
@ -381,8 +378,6 @@
<div class="tabs-panel">
<div data-index="fileTree">
<ul id="files" class="ztree" tabindex="-1"></ul>
<input id="importFileupload" class="fn-none" type="file"
name="files[]" onclick="tree.import();" multiple>
<!-- directory context menu -->
<div id="dirRMenu" class="frame">
<ul>
@ -407,9 +402,6 @@
<span class="ico-refresh font-ico"></span> {{.i18n.refresh}}
</li>
<li class="hr"></li>
<li onclick="$('#importFileupload').click();">
<span class="ico-import font-ico"></span> {{.i18n.import}}
</li>
<li onclick="tree.export();">
<span class="ico-export font-ico"></span> {{.i18n.export}}
</li>

View File

@ -14,8 +14,8 @@
<span>{{.workspace}}</span>
</li>
<li class="border">
<label><a href="https://www.gitbook.com/book/88250/wide-user-guide" target="_blank">{{.i18n.user_guide}}</a></label>&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;&nbsp;
<label><a href="https://www.gitbook.com/book/88250/wide-dev-guide" target="_blank">{{.i18n.dev_guide}}</a></label>
<label><a href="https://hacpai.com/article/1538873544275" target="_blank">{{.i18n.user_guide}}</a></label>&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;&nbsp;
<label><a href="https://hacpai.com/article/1538876422995" target="_blank">{{.i18n.dev_guide}}</a></label>
</li>
<li>
<label>{{.i18n.current_ver}}{{.i18n.colon}}</label>