From af3af0c8e444a9bec733c8e7d9f058435e06358e Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Thu, 5 Sep 2019 10:55:19 +0100 Subject: Just say the config has been set up. --- .../webui/src/js/components/ConfigCompleted.jsx | 13 +++++++++++++ synapse_topology/webui/src/js/components/ConfigSelector.jsx | 12 ------------ synapse_topology/webui/src/js/components/UI.jsx | 4 ++-- 3 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 synapse_topology/webui/src/js/components/ConfigCompleted.jsx delete mode 100644 synapse_topology/webui/src/js/components/ConfigSelector.jsx (limited to 'synapse_topology/webui') diff --git a/synapse_topology/webui/src/js/components/ConfigCompleted.jsx b/synapse_topology/webui/src/js/components/ConfigCompleted.jsx new file mode 100644 index 0000000000..8610bbf53a --- /dev/null +++ b/synapse_topology/webui/src/js/components/ConfigCompleted.jsx @@ -0,0 +1,13 @@ +import React, { useState } from 'react'; +import ContentWrapper from '../containers/ContentWrapper'; + +export default () => { + + return +

Config selection

+

The base config has already been setup.

+

If you want to start the installation from scratch please delete the + config yaml.

+
; + +} \ No newline at end of file diff --git a/synapse_topology/webui/src/js/components/ConfigSelector.jsx b/synapse_topology/webui/src/js/components/ConfigSelector.jsx deleted file mode 100644 index 48102da83d..0000000000 --- a/synapse_topology/webui/src/js/components/ConfigSelector.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import React, { useState } from 'react'; -import ContentWrapper from '../containers/ContentWrapper'; - -export default () => { - - return -

Config selection

-

The base config has already been setup. Please select a config to edit:

-

TODO: .. well .. this.

-
; - -} \ No newline at end of file diff --git a/synapse_topology/webui/src/js/components/UI.jsx b/synapse_topology/webui/src/js/components/UI.jsx index 2decaf382b..9d036481c3 100644 --- a/synapse_topology/webui/src/js/components/UI.jsx +++ b/synapse_topology/webui/src/js/components/UI.jsx @@ -35,7 +35,7 @@ import PortSelection from '../containers/PortSelection'; import ReverseProxySampleConfig from '../containers/ReverseProxySampleConfig'; import DelegationSampleConfig from '../containers/DelegationSampleConfig'; import Database from '../containers/Database'; -import ConfigSelector from './ConfigSelector'; +import ConfigCompleted from './ConfigCompleted'; import CompleteSetup from '../containers/CompleteSetup'; import ContentWrapper from '../containers/ContentWrapper'; import Done from '../containers/Done'; @@ -88,7 +88,7 @@ export default ({ setupUI, configUI, baseConfig }) => { if (baseConfig.setupDone) { console.log(`switching to ui ${configUI}`); - return + return } -- cgit 1.5.1