From b239f222f553f0fc617542203d653e12ee9d1858 Mon Sep 17 00:00:00 2001 From: vapao Date: Fri, 27 Nov 2020 01:43:45 +0800 Subject: [PATCH] style migrate v3 --- spug_web/src/pages/ssh/FileManager.js | 11 +++++++++-- spug_web/src/pages/ssh/index.js | 3 ++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/spug_web/src/pages/ssh/FileManager.js b/spug_web/src/pages/ssh/FileManager.js index 878fff2..765a96d 100644 --- a/spug_web/src/pages/ssh/FileManager.js +++ b/spug_web/src/pages/ssh/FileManager.js @@ -5,7 +5,14 @@ */ import React from 'react'; import { Drawer, Breadcrumb, Table, Divider, Switch, Button, Progress, Modal, message } from 'antd'; -import { DownloadOutlined, FileOutlined, FolderOutlined, DeleteOutlined, HomeOutlined } from '@ant-design/icons'; +import { + DeleteOutlined, + DownloadOutlined, + FileOutlined, + FolderOutlined, + HomeOutlined, + UploadOutlined +} from '@ant-design/icons'; import { http, uniqueId, X_TOKEN } from 'libs'; import lds from 'lodash'; import styles from './index.module.css' @@ -204,7 +211,7 @@ class FileManager extends React.Component { checkedChildren="开启" unCheckedChildren="关闭" onChange={v => this.setState({showDot: v})}/> - diff --git a/spug_web/src/pages/ssh/index.js b/spug_web/src/pages/ssh/index.js index 57df441..85188d1 100644 --- a/spug_web/src/pages/ssh/index.js +++ b/spug_web/src/pages/ssh/index.js @@ -4,6 +4,7 @@ * Released under the AGPL-3.0 License. */ import React from 'react'; +import { FolderOpenOutlined } from '@ant-design/icons'; import { Button } from 'antd'; import { AuthDiv } from 'components'; import { Terminal } from 'xterm'; @@ -83,7 +84,7 @@ class WebSSH extends React.Component {
{host.name} | {host.username}@{host.hostname}:{host.port}
-