From 4e5cab89998610c6143c37da26c89f94eade4eee Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 29 Sep 2024 15:12:04 -0500 Subject: add Events to system tab --- src/web/src/components/System/Events/index.jsx | 7 +++++++ src/web/src/components/System/System.jsx | 14 ++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/web/src/components/System/Events/index.jsx (limited to 'src') 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
hello world!
; +}; + +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'; @@ -120,6 +121,19 @@ const System = ({ options = {}, state = {}, theme }) => { ), route: 'data', }, + { + menuItem: { + content: 'Events', + icon: 'history', + key: 'events', + }, + render: () => ( + + + + ), + route: 'events', + }, { menuItem: { content: 'Logs', -- cgit v1.2.3