From b6e16392e1fe51bc889bcc014139d4d282a190c6 Mon Sep 17 00:00:00 2001 From: geek Date: Fri, 28 Jul 2017 12:46:40 +0900 Subject: [PATCH] table sort file create and modify --- src/ts/@overflow/app/views/App.tsx | 4 +-- .../@overflow/app/views/layout/LeftMenu.tsx | 14 ++-------- .../@overflow/app/views/layout/TempLayout.tsx | 21 +++------------ .../temp/react/components/TableSort.tsx | 6 ++--- .../react/components/TableSortContainer.tsx | 25 ++++++++++++++++++ .../temp/react/components/TableSortView.tsx | 26 +++++++++++++++++++ 6 files changed, 61 insertions(+), 35 deletions(-) create mode 100644 src/ts/@overflow/temp/react/components/TableSortContainer.tsx create mode 100644 src/ts/@overflow/temp/react/components/TableSortView.tsx diff --git a/src/ts/@overflow/app/views/App.tsx b/src/ts/@overflow/app/views/App.tsx index 91d8160..e21ba8a 100644 --- a/src/ts/@overflow/app/views/App.tsx +++ b/src/ts/@overflow/app/views/App.tsx @@ -7,9 +7,6 @@ import SensorDetailLayout from './layout/SensorDetailLayout'; import TargetDetailLayout from './layout/TargetDetailLayout'; import AppLayout from './layout/AppLayout'; import ErrorLayout from './layout/ErrorLayout'; - - - import TempLayout from './layout/TempLayout'; export interface Props { @@ -31,6 +28,7 @@ class App extends React.Component { + ); diff --git a/src/ts/@overflow/app/views/layout/LeftMenu.tsx b/src/ts/@overflow/app/views/layout/LeftMenu.tsx index 12d0bd4..d548b40 100644 --- a/src/ts/@overflow/app/views/layout/LeftMenu.tsx +++ b/src/ts/@overflow/app/views/layout/LeftMenu.tsx @@ -2,10 +2,7 @@ import * as React from 'react'; import { connect, Dispatch } from 'react-redux'; import { push as routerPush } from 'react-router-redux'; -import { Container, Menu, Dropdown, Segment, Icon, Header, Image } from 'semantic-ui-react'; - -import { LogoBar } from './LogoBar'; -import { TitleBar } from './TitleBar'; +import { Menu, Dropdown, Icon, Header, Image } from 'semantic-ui-react'; export interface StateProps { } @@ -99,14 +96,7 @@ class LeftMenu extends React.Component { Custom - SignUp - SignIn - PWChange - ProbeDown - Insanity - Discovery - Tree - TableExampleSortable + TableSortView SensorList SensorSetup diff --git a/src/ts/@overflow/app/views/layout/TempLayout.tsx b/src/ts/@overflow/app/views/layout/TempLayout.tsx index 0f7ba37..f7cf524 100644 --- a/src/ts/@overflow/app/views/layout/TempLayout.tsx +++ b/src/ts/@overflow/app/views/layout/TempLayout.tsx @@ -1,17 +1,11 @@ import * as React from 'react'; import { RouteComponentProps, RouteProps, Route, Switch } from 'react-router-dom'; -import { Container, Menu, Sidebar, Segment, Icon, Breadcrumb, Grid, Dropdown } from 'semantic-ui-react'; +import { Container, Segment } from 'semantic-ui-react'; import { Header } from './Header'; import { Footer } from './Footer'; import LeftMenu from './LeftMenu'; -import ProbeList from '../monitoring/probe/List'; -import ProbeDetail from '../monitoring/probe/Detail'; -import SensorList from '../monitoring/sensor/List'; -import SensorSetup from '../monitoring/sensor/Setup'; -import Discovery from '../../../temp/react/components/Discovery'; -import TargetList from '../infrastructure/target/List'; -import TargetDetail from '../infrastructure/target/Detail'; +import TableSortView from '../../../temp/react/components/TableSortView'; export interface Props extends RouteComponentProps { } @@ -41,15 +35,8 @@ export class AppLayout extends React.Component {
- - - - - - - - - +
ddddddddddddd
+