diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-09-29 15:12:04 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2024-09-29 15:12:04 -0500 |
| commit | 4e5cab89998610c6143c37da26c89f94eade4eee (patch) | |
| tree | a07507e6025926bfc0f918a005bfa451efe06305 /src/web | |
| parent | 2b4d56e0f4b75d0f7c261558e5dceac156084850 (diff) | |
| download | slskd-4e5cab89998610c6143c37da26c89f94eade4eee.tar.gz | |
add Events to system tab
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/src/components/System/Events/index.jsx | 7 | ||||
| -rw-r--r-- | src/web/src/components/System/System.jsx | 14 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/web/src/components/System/Events/index.jsx b/src/web/src/components/System/Events/index.jsx new file mode 100644 index 00000000..b859255d --- /dev/null +++ b/src/web/src/components/System/Events/index.jsx @@ -0,0 +1,7 @@ +import React from 'react'; + +const Events = () => { + return <div>hello world!</div>; +}; + +export default Events; diff --git a/src/web/src/components/System/System.jsx b/src/web/src/components/System/System.jsx index 8746cefe..790a4c45 100644 --- a/src/web/src/components/System/System.jsx +++ b/src/web/src/components/System/System.jsx @@ -1,6 +1,7 @@ import './System.css'; import { Switch } from '../Shared'; import Data from './Data'; +import Events from './Events'; import Files from './Files'; import Info from './Info'; import Logs from './Logs'; @@ -122,6 +123,19 @@ const System = ({ options = {}, state = {}, theme }) => { }, { menuItem: { + content: 'Events', + icon: 'history', + key: 'events', + }, + render: () => ( + <Tab.Pane className="full-height"> + <Events /> + </Tab.Pane> + ), + route: 'events', + }, + { + menuItem: { content: 'Logs', icon: 'file outline', key: 'logs', |
