From 216f53dc7de379956f884cd68ed7fcf33adf6c65 Mon Sep 17 00:00:00 2001 From: Emiliano Ciavatta Date: Thu, 17 Dec 2020 10:55:28 +0100 Subject: Add empty config pane --- frontend/src/components/pages/MainPage.js | 2 ++ frontend/src/components/panels/ConfigPane.js | 39 ++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 frontend/src/components/panels/ConfigPane.js (limited to 'frontend/src/components') 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 { }/> }/> }/> + }/> }/> }/> 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 . + */ + +import React, {Component} from "react"; +import "./common.scss"; + +class ConfigPane extends Component { + + state = {}; + + render() { + return ( +
+
+
+ Not implemented +
+
+
+ ); + } + +} + +export default ConfigPane; -- cgit v1.2.3-70-g09d2