From e629106b6ff136910422e857466714ceb420f841 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 27 Jun 2023 09:07:24 -0500 Subject: stub files tab --- src/web/src/components/System/Files/index.js | 12 ++++++++++++ src/web/src/components/System/System.css | 4 ++++ src/web/src/components/System/System.js | 12 +++++++++++- 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 src/web/src/components/System/Files/index.js (limited to 'src/web') diff --git a/src/web/src/components/System/Files/index.js b/src/web/src/components/System/Files/index.js new file mode 100644 index 00000000..b51315d1 --- /dev/null +++ b/src/web/src/components/System/Files/index.js @@ -0,0 +1,12 @@ +import React from 'react'; +import { Header } from 'semantic-ui-react'; + +const Files = () => { + return ( +
+
Files
+
+ ); +}; + +export default Files; \ No newline at end of file diff --git a/src/web/src/components/System/System.css b/src/web/src/components/System/System.css index dc32d583..80642687 100644 --- a/src/web/src/components/System/System.css +++ b/src/web/src/components/System/System.css @@ -71,4 +71,8 @@ .transfer-header { margin-bottom: -15px !important; +} + +.file-management-header { + margin-bottom: -15px !important; } \ No newline at end of file diff --git a/src/web/src/components/System/System.js b/src/web/src/components/System/System.js index df77ded2..865a5743 100644 --- a/src/web/src/components/System/System.js +++ b/src/web/src/components/System/System.js @@ -5,11 +5,12 @@ import { Segment, Tab, Menu, Icon } from 'semantic-ui-react'; import './System.css'; +import { Switch } from '../Shared'; import Info from './Info'; import Logs from './Logs'; import Options from './Options'; import Shares from './Shares'; -import { Switch } from '../Shared'; +import Files from './Files'; import Data from './Data'; const System = ({ state = {}, theme, options = {} }) => { @@ -51,6 +52,15 @@ const System = ({ state = {}, theme, options = {} }) => { ), render: () => , }, + { + route: 'files', + menuItem: { + key: 'files', + icon: 'folder open', + content: 'Files' + }, + render: () => + }, { route: 'data', menuItem: { -- cgit v1.2.3