diff --git a/src/components/TerminalSSH/index.vue b/src/components/TerminalSSH/index.vue new file mode 100644 index 00000000..35cc4ce0 --- /dev/null +++ b/src/components/TerminalSSH/index.vue @@ -0,0 +1,225 @@ + + + + + diff --git a/src/components/TerminalTelnet/index.vue b/src/components/TerminalTelnet/index.vue new file mode 100644 index 00000000..f7520296 --- /dev/null +++ b/src/components/TerminalTelnet/index.vue @@ -0,0 +1,274 @@ + + + + + diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index a48cf019..107bd584 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -1688,7 +1688,24 @@ export default { download: "Download", pdfViewer: "In-browser preview", pdfViewerErr: "Sorry, your browser does not support PDF preview!", - } + }, + terminal: { + start: "Start Page", + new: "To Create", + more: "More", + reload: "Reload Current Tab", + reloadTip: "Are you sure you want to refresh and reconnect the current [{num}] terminal link?", + current: "Close Current Tab", + other: "Close Other Tabs", + otherTip: "Confirm that you want to close other terminal links?", + all: "Close All Tabs", + allTip: "Confirmed to close all terminal links?", + closeTip: "Confirm that you want to close the [{num}] terminal link?", + hostSelectTitle: "Select the created host to connect to", + hostSelectShow: "Open Selection", + hostSelectMore: "Load More {num}", + hostSelectHeader: "Host List", + }, }, }, }; diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index f37400c9..64c78b3a 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -1688,7 +1688,24 @@ export default { download: "下载", pdfViewer: "浏览器内预览", pdfViewerErr: "很抱歉,您的浏览器不支持 PDF 预览!", - } + }, + terminal: { + start: "开始页", + new: "去创建", + more: "更多", + reload: "断开重连", + reloadTip: "确认要刷新重连当前 【{num}】 终端链接?", + current: "关闭当前", + other: "关闭其他", + otherTip: "确认要关闭其他终端链接?", + all: "关闭全部", + allTip: "确认要关闭全部终端链接?", + closeTip: "确认要关闭 【{num}】 终端链接?", + hostSelectTitle: "选择已创建的主机进行连接", + hostSelectShow: "打开选择", + hostSelectMore: "加载更多 {num}", + hostSelectHeader: "主机列表", + }, }, }, }; diff --git a/src/views/tool/terminal/index.vue b/src/views/tool/terminal/index.vue new file mode 100644 index 00000000..e5769c19 --- /dev/null +++ b/src/views/tool/terminal/index.vue @@ -0,0 +1,385 @@ + + + + +