aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/System/Options.js13
-rw-r--r--src/web/src/components/System/System.js2
2 files changed, 15 insertions, 0 deletions
diff --git a/src/web/src/components/System/Options.js b/src/web/src/components/System/Options.js
new file mode 100644
index 00000000..e822b11d
--- /dev/null
+++ b/src/web/src/components/System/Options.js
@@ -0,0 +1,13 @@
+import React, { Component } from 'react';
+
+class Options extends Component {
+ render = () => {
+ return (
+ <div>
+ <pre>{JSON.stringify(this.props.options, null, 2)}</pre>
+ </div>
+ );
+ }
+}
+
+export default Options; \ 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 e1e61c5c..bbba292d 100644
--- a/src/web/src/components/System/System.js
+++ b/src/web/src/components/System/System.js
@@ -3,6 +3,7 @@ import { Segment, Tab } from 'semantic-ui-react';
import './System.css';
import Info from './Info';
import Logs from './Logs';
+import Options from './Options';
class System extends Component {
componentDidMount = () => {
@@ -18,6 +19,7 @@ class System extends Component {
<Segment raised>
<Tab panes={[
{ menuItem: 'Info', render: () => <Tab.Pane><Info state={this.props.state}/></Tab.Pane> },
+ { menuItem: 'Options', render: () => <Tab.Pane><Options options={this.props.options}/></Tab.Pane> },
{ menuItem: 'Logs', render: () => <Tab.Pane><Logs/></Tab.Pane> },
]}/>
</Segment>