aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-06-27 09:07:24 -0500
committerJP Dillingham <jp@dillingham.me>2023-06-27 09:07:24 -0500
commite629106b6ff136910422e857466714ceb420f841 (patch)
treec4db7a2b02da7849b891690a7006b7cd113bd4b2 /src
parent695eefdf9a505007b6afdfab48a961b3b83e9526 (diff)
downloadslskd-e629106b6ff136910422e857466714ceb420f841.tar.gz
stub files tab
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/System/Files/index.js12
-rw-r--r--src/web/src/components/System/System.css4
-rw-r--r--src/web/src/components/System/System.js12
3 files changed, 27 insertions, 1 deletions
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 (
+ <div>
+ <Header as='h3' className='file-management-header'>Files</Header>
+ </div>
+ );
+};
+
+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 = {} }) => {
@@ -52,6 +53,15 @@ const System = ({ state = {}, theme, options = {} }) => {
render: () => <Tab.Pane><Shares state={state.shares} theme={theme}/></Tab.Pane>,
},
{
+ route: 'files',
+ menuItem: {
+ key: 'files',
+ icon: 'folder open',
+ content: 'Files'
+ },
+ render: () => <Tab.Pane className='full-height'><Files theme={theme}/></Tab.Pane>
+ },
+ {
route: 'data',
menuItem: {
key: 'data',