diff options
author | saul.gill <saul.gill@est.tech> | 2021-06-17 09:11:55 +0100 |
---|---|---|
committer | saul.gill <saul.gill@est.tech> | 2021-06-17 12:14:47 +0100 |
commit | 587fb7a8b712a60def1e931e4a2480687a64f231 (patch) | |
tree | 067d5a816c301335bccec12517cfbceb7512b428 /gui-clamp/ui-react/src/LoopUI.js | |
parent | 85aa90f957d962ab68a745ba938e144ae40c7a53 (diff) |
Added Tosca File Upload Functionality
Added 2 new components
One deals with the file upload to commissioning
Other deals with display of the ui elements
Issue-ID: POLICY-3222
Change-Id: I3b20489bb9e5c499f842cc8adde8147d3e3e8de0
Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/LoopUI.js')
-rw-r--r-- | gui-clamp/ui-react/src/LoopUI.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui-clamp/ui-react/src/LoopUI.js b/gui-clamp/ui-react/src/LoopUI.js index 9461871..6904122 100644 --- a/gui-clamp/ui-react/src/LoopUI.js +++ b/gui-clamp/ui-react/src/LoopUI.js @@ -51,6 +51,7 @@ import Spinner from 'react-bootstrap/Spinner'; import { Link } from 'react-router-dom'; import ReadAndConvertYaml from "./components/dialogs/ReadAndConvertYaml"; +import GetLocalToscaFileForUpload from "./components/dialogs/GetLocalToscaFileForUpload"; const StyledMainDiv = styled.div` background-color: ${ props => props.theme.backgroundColor }; @@ -296,6 +297,7 @@ export default class LoopUI extends React.Component { return ( <React.Fragment> <Route path="/readToscaTemplate" render={ (routeProps) => (<ReadAndConvertYaml { ...routeProps } />) }/> + <Route path="/uploadToscaFile" render={ (routeProps) => (<GetLocalToscaFileForUpload { ...routeProps } />) }/> <Route path="/viewLoopTemplatesModal" render={ (routeProps) => (<ViewLoopTemplatesModal { ...routeProps } />) }/> <Route path="/manageDictionaries" render={ (routeProps) => (<ManageDictionaries { ...routeProps } />) }/> <Route path="/viewAllPolicies" render={ (routeProps) => (<ViewAllPolicies { ...routeProps } />) }/> |