From 67e9e8f1e66a5921a23cdcf35938d3fc347e3aaf Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sun, 15 Jul 2018 20:08:32 +0200 Subject: [PATCH] Renamed LogsIndex -> LogsRoot, removed hardcoded bg image from LogsRoot --- rpdata-ui/src/App.js | 4 ++-- rpdata-ui/src/routes/logs/LogsIndex.js | 14 -------------- rpdata-ui/src/routes/logs/LogsMenu.js | 1 - rpdata-ui/src/routes/logs/LogsRoot.js | 14 ++++++++++++++ 4 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 rpdata-ui/src/routes/logs/LogsIndex.js create mode 100644 rpdata-ui/src/routes/logs/LogsRoot.js diff --git a/rpdata-ui/src/App.js b/rpdata-ui/src/App.js index e620b3b..24126c7 100644 --- a/rpdata-ui/src/App.js +++ b/rpdata-ui/src/App.js @@ -2,7 +2,7 @@ import React, { Component } from 'react' import { Route, Router, Redirect, Switch } from "react-router-dom"; import StoryRoot from './routes/story/StoryRoot'; -import LogsIndex from './routes/logs/LogsIndex'; +import LogsRoot from './routes/logs/LogsRoot'; export default class App extends Component { render() { @@ -11,7 +11,7 @@ export default class App extends Component { - + ); diff --git a/rpdata-ui/src/routes/logs/LogsIndex.js b/rpdata-ui/src/routes/logs/LogsIndex.js deleted file mode 100644 index c4c2bca..0000000 --- a/rpdata-ui/src/routes/logs/LogsIndex.js +++ /dev/null @@ -1,14 +0,0 @@ -import React, { Component } from 'react'; -import Background from '../../common/Background'; -import LogsMenu from './LogsMenu'; - -export default class LogsIndex extends Component { - render() { - return ( -
- - -
- ) - } -} \ No newline at end of file diff --git a/rpdata-ui/src/routes/logs/LogsMenu.js b/rpdata-ui/src/routes/logs/LogsMenu.js index 03bb277..44f6310 100644 --- a/rpdata-ui/src/routes/logs/LogsMenu.js +++ b/rpdata-ui/src/routes/logs/LogsMenu.js @@ -10,7 +10,6 @@ export default class LogsMenu extends Component { Options Create Log - Import Log ) } diff --git a/rpdata-ui/src/routes/logs/LogsRoot.js b/rpdata-ui/src/routes/logs/LogsRoot.js new file mode 100644 index 0000000..b83b685 --- /dev/null +++ b/rpdata-ui/src/routes/logs/LogsRoot.js @@ -0,0 +1,14 @@ +import React, { Component } from 'react'; +import Background from '../../common/Background'; +import LogsMenu from './LogsMenu'; + +export default class LogsRoot extends Component { + render() { + return ( +
+ + +
+ ) + } +} \ No newline at end of file