aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/src/components/pages/MainPage.js2
-rw-r--r--frontend/src/components/panels/ConfigPane.js39
2 files changed, 41 insertions, 0 deletions
diff --git a/frontend/src/components/pages/MainPage.js b/frontend/src/components/pages/MainPage.js
index 3bf8065..6058edc 100644
--- a/frontend/src/components/pages/MainPage.js
+++ b/frontend/src/components/pages/MainPage.js
@@ -21,6 +21,7 @@ import "react-reflex/styles.css"
import {Route, Switch} from "react-router-dom";
import Filters from "../dialogs/Filters";
import Header from "../Header";
+import ConfigPane from "../panels/ConfigPane";
import Connections from "../panels/ConnectionsPane";
import MainPane from "../panels/MainPane";
import PcapsPane from "../panels/PcapsPane";
@@ -75,6 +76,7 @@ class MainPage extends Component {
<Route path="/pcaps" children={<PcapsPane/>}/>
<Route path="/rules" children={<RulesPane/>}/>
<Route path="/services" children={<ServicesPane/>}/>
+ <Route path="/config" children={<ConfigPane/>}/>
<Route exact path="/connections/:id"
children={<StreamsPane connection={this.state.selectedConnection}/>}/>
<Route children={<MainPane version={this.props.version}/>}/>
diff --git a/frontend/src/components/panels/ConfigPane.js b/frontend/src/components/panels/ConfigPane.js
new file mode 100644
index 0000000..9710abd
--- /dev/null
+++ b/frontend/src/components/panels/ConfigPane.js
@@ -0,0 +1,39 @@
+/*
+ * This file is part of caronte (https://github.com/eciavatta/caronte).
+ * Copyright (c) 2020 Emiliano Ciavatta.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+import React, {Component} from "react";
+import "./common.scss";
+
+class ConfigPane extends Component {
+
+ state = {};
+
+ render() {
+ return (
+ <div className="pane-container">
+ <div className="main-pane">
+ <div className="pane-section">
+ Not implemented
+ </div>
+ </div>
+ </div>
+ );
+ }
+
+}
+
+export default ConfigPane;