diff --git a/src/ts/@overflow/app/views/history/History.tsx b/src/ts/@overflow/app/views/history/History.tsx deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/@overflow/app/views/history/List.tsx b/src/ts/@overflow/app/views/history/List.tsx new file mode 100644 index 0000000..639123c --- /dev/null +++ b/src/ts/@overflow/app/views/history/List.tsx @@ -0,0 +1,21 @@ +import * as React from 'react'; +import { RouteComponentProps } from 'react-router'; +import HistoryListContainer from '@overflow/history/react/HistoryList'; + +class HistoryList extends React.Component, object> { + + public constructor(props?: RouteComponentProps, context?: object) { + super(props, context); + } + + public render(): JSX.Element { + return ( +
+ +
+ ); + } +} + + +export default HistoryList; diff --git a/src/ts/@overflow/app/views/layout/AppLayout.tsx b/src/ts/@overflow/app/views/layout/AppLayout.tsx index d618d4d..bcad8c7 100644 --- a/src/ts/@overflow/app/views/layout/AppLayout.tsx +++ b/src/ts/@overflow/app/views/layout/AppLayout.tsx @@ -11,6 +11,7 @@ import TargetList from '../../views/infrastructure/target/List'; import SensorList from '../monitoring/sensor/List'; import NoauthList from '../../views/monitoring/probe/NoAuth'; import ProbeSetup from '../../views/monitoring/probe/Setup'; +import HistoryList from '../../views/history/List'; import TitleBarContainer from '@overflow/app/views/layout/TitleBarContainer'; export interface Props extends RouteComponentProps { @@ -42,6 +43,7 @@ export class AppLayout extends React.Component { + diff --git a/src/ts/@overflow/app/views/layout/LeftMenu.tsx b/src/ts/@overflow/app/views/layout/LeftMenu.tsx index d5e6316..8bed6d1 100644 --- a/src/ts/@overflow/app/views/layout/LeftMenu.tsx +++ b/src/ts/@overflow/app/views/layout/LeftMenu.tsx @@ -85,7 +85,7 @@ class LeftMenu extends React.Component {
- + this.props.onChangeUrl('/histories')} >
diff --git a/src/ts/@overflow/app/views/layout/TempLayout.tsx b/src/ts/@overflow/app/views/layout/TempLayout.tsx index d8981d8..6596e17 100644 --- a/src/ts/@overflow/app/views/layout/TempLayout.tsx +++ b/src/ts/@overflow/app/views/layout/TempLayout.tsx @@ -7,6 +7,7 @@ import LeftMenu from './LeftMenu'; import TableSortView from '../../../temp/react/components/TableSortView'; import DiscoveryTreeContainer from '@overflow/discovery/react/DiscoveryTree'; +import HistoryListContainer from '@overflow/history/react/HistoryList'; export interface Props extends RouteComponentProps { } @@ -38,6 +39,7 @@ export class AppLayout extends React.Component {
+