From 2cfe1947ae7d29b934bc7c621e4d50904d28cd14 Mon Sep 17 00:00:00 2001 From: hanyuxia Date: Wed, 11 Mar 2020 19:16:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=96=B0=E5=8A=9F=E8=83=BD=20webshell?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=201.=E4=B8=8A=E4=BC=A0=E5=8A=9F=E8=83=BD=202?= =?UTF-8?q?.=E4=B8=8B=E8=BD=BD=E5=8A=9F=E8=83=BD=EF=BC=88=E8=BF=98?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E6=B5=8B=E8=AF=95=EF=BC=8C=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E4=B8=AD=EF=BC=89=203.header=E9=A1=B6=E9=83=A8=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=88=86=E5=89=B2=E7=BA=BF=E5=8F=8Axshell=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E8=A7=92=E6=A0=87=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/cli/webSSH.scss | 15 +- nezha-fronted/src/components/cli/webSSH.vue | 205 ++++++++++++++---- .../src/components/common/header.vue | 7 +- .../src/components/common/language/cn.js | 8 + .../src/components/common/language/en.js | 8 + 5 files changed, 196 insertions(+), 47 deletions(-) diff --git a/nezha-fronted/src/components/cli/webSSH.scss b/nezha-fronted/src/components/cli/webSSH.scss index 76c4b893f..e87291ad2 100644 --- a/nezha-fronted/src/components/cli/webSSH.scss +++ b/nezha-fronted/src/components/cli/webSSH.scss @@ -5,7 +5,7 @@ position: fixed; bottom: 0; background: #fff; - z-index: 9050; + z-index: 2000; height: 300px; #shell-service-resize-mask { position: fixed; @@ -58,11 +58,10 @@ .el-dialog { .el-dialog__body{ - padding: 0px !important; overflow-x:hidden !important;/*防止console窗口x轴出现滚动条*/ } .el-dialog__header{ - padding: 0px !important; + } } .el-tabs--border-card>.el-tabs__content { @@ -114,6 +113,16 @@ .el-submenu__title:hover{ background-color:#FFF !important; } + + .upload-body{ + text-align: center; + } + .footer:before{ + /*content: '';*/ + /*clear:both;*/ + /*display: block;*/ + /*height: 40px;*/ + } } .shell-service-max { height: 100% !important; diff --git a/nezha-fronted/src/components/cli/webSSH.vue b/nezha-fronted/src/components/cli/webSSH.vue index a76cdbcb7..c21648d56 100644 --- a/nezha-fronted/src/components/cli/webSSH.vue +++ b/nezha-fronted/src/components/cli/webSSH.vue @@ -24,8 +24,12 @@ - 下载 - 上传 + +
{{$t('webshell.upload')}}
+
+ +
{{$t('webshell.download')}}
+
@@ -62,12 +66,79 @@ --> + +
+ +
+
+ + + + + + + + + + + + + + + + +
+ +
+
+ +
+
+ + + + + + + + +
+ +
+
+