Pages has been added.
This commit is contained in:
@@ -5,11 +5,124 @@ import Signin from '../views/member/Signin';
|
||||
|
||||
const routes = (
|
||||
<Switch>
|
||||
<Route exact path='/' />
|
||||
<Route path='/signin' component={Signin} />
|
||||
<Route path='/'>
|
||||
</Route>
|
||||
<Route component={NoMatch}/>
|
||||
</Switch>
|
||||
|
||||
);
|
||||
|
||||
export default routes;
|
||||
|
||||
const _routes = [
|
||||
{
|
||||
path: '/signin',
|
||||
component: Signin,
|
||||
},
|
||||
{
|
||||
path: '/signup',
|
||||
component: Signup,
|
||||
},
|
||||
{
|
||||
path: '/forgot_password',
|
||||
component: ForgotPassword,
|
||||
},
|
||||
{
|
||||
path: '/email_confirm',
|
||||
component: EmailConfirm,
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
component: Home,
|
||||
routes: [
|
||||
{
|
||||
path: '/monitoring',
|
||||
component: Monitoring,
|
||||
routes: [
|
||||
{
|
||||
path: '/probe',
|
||||
component: Probe,
|
||||
routes: [
|
||||
{
|
||||
path: '/list',
|
||||
component: Probe,
|
||||
},
|
||||
{
|
||||
path: '/noauth',
|
||||
component: NoAuthProbe,
|
||||
},
|
||||
{
|
||||
path: '/setup',
|
||||
component: ProbeSetup,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/sensor',
|
||||
component: Sensor,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/infrastructure',
|
||||
component: ,
|
||||
routes: [
|
||||
{
|
||||
path: '/maps',
|
||||
component: InfrastructureMaps,
|
||||
},
|
||||
{
|
||||
path: '/targets',
|
||||
component: Targets,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/dashboard',
|
||||
component: Dashboard,
|
||||
},
|
||||
{
|
||||
path: '/metrics',
|
||||
component: Metrics,
|
||||
},
|
||||
{
|
||||
path: '/alerts',
|
||||
component: Alerts,
|
||||
},
|
||||
{
|
||||
path: '/history',
|
||||
component: History,
|
||||
},
|
||||
{
|
||||
path: '/settings',
|
||||
component: Settings,
|
||||
},
|
||||
{
|
||||
path: '/notifications',
|
||||
component: Notifications,
|
||||
},
|
||||
{
|
||||
path: '/account',
|
||||
component: ,
|
||||
routes: [
|
||||
{
|
||||
path: '/signout',
|
||||
component: Signout,
|
||||
},
|
||||
{
|
||||
path: '/profile',
|
||||
component: Profile,
|
||||
},
|
||||
{
|
||||
path: '/preferences',
|
||||
component: Preferences,
|
||||
},
|
||||
{
|
||||
path: '/help',
|
||||
component: Help,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
0
src/ts/@overflow/app/views/Home.tsx
Normal file
0
src/ts/@overflow/app/views/Home.tsx
Normal file
0
src/ts/@overflow/app/views/alert/Alert.tsx
Normal file
0
src/ts/@overflow/app/views/alert/Alert.tsx
Normal file
0
src/ts/@overflow/app/views/dashboard/Dashboard.tsx
Normal file
0
src/ts/@overflow/app/views/dashboard/Dashboard.tsx
Normal file
0
src/ts/@overflow/app/views/help/Help.tsx
Normal file
0
src/ts/@overflow/app/views/help/Help.tsx
Normal file
0
src/ts/@overflow/app/views/history/History.tsx
Normal file
0
src/ts/@overflow/app/views/history/History.tsx
Normal file
0
src/ts/@overflow/app/views/member/EmailConfirm.tsx
Normal file
0
src/ts/@overflow/app/views/member/EmailConfirm.tsx
Normal file
0
src/ts/@overflow/app/views/member/Signout.tsx
Normal file
0
src/ts/@overflow/app/views/member/Signout.tsx
Normal file
0
src/ts/@overflow/app/views/member/Signup.tsx
Normal file
0
src/ts/@overflow/app/views/member/Signup.tsx
Normal file
0
src/ts/@overflow/app/views/metric/Metric.tsx
Normal file
0
src/ts/@overflow/app/views/metric/Metric.tsx
Normal file
0
src/ts/@overflow/app/views/setting/Setting.tsx
Normal file
0
src/ts/@overflow/app/views/setting/Setting.tsx
Normal file
Reference in New Issue
Block a user