|
|
|
@ -10,6 +10,8 @@ import { RouterModule, Routes } from '@angular/router'; |
|
|
|
import { DndModule } from 'ng2-dnd'; |
|
|
|
|
|
|
|
import { |
|
|
|
HelpComponent, |
|
|
|
HistoryComponent, |
|
|
|
SqxFrameworkModule, |
|
|
|
SqxSharedModule |
|
|
|
} from '@app/shared'; |
|
|
|
@ -38,33 +40,115 @@ const routes: Routes = [ |
|
|
|
{ |
|
|
|
path: '' |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'plans', |
|
|
|
component: PlansPageComponent |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'more', |
|
|
|
component: MorePageComponent |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'backups', |
|
|
|
component: BackupsPageComponent |
|
|
|
component: BackupsPageComponent, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: 'help', |
|
|
|
component: HelpComponent, |
|
|
|
data: { |
|
|
|
helpPage: '05-integrated/backups' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'plans', |
|
|
|
component: PlansPageComponent, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: 'history', |
|
|
|
component: HistoryComponent, |
|
|
|
data: { |
|
|
|
channel: 'settings.plans' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'patterns', |
|
|
|
component: PatternsPageComponent, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: 'history', |
|
|
|
component: HistoryComponent, |
|
|
|
data: { |
|
|
|
channel: 'settings.patterns' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'help', |
|
|
|
component: HelpComponent, |
|
|
|
data: { |
|
|
|
helpPage: '05-integrated/patterns' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'clients', |
|
|
|
component: ClientsPageComponent |
|
|
|
component: ClientsPageComponent, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: 'history', |
|
|
|
component: HistoryComponent, |
|
|
|
data: { |
|
|
|
channel: 'settings.clients' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'help', |
|
|
|
component: HelpComponent, |
|
|
|
data: { |
|
|
|
helpPage: '05-integrated/clients' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'contributors', |
|
|
|
component: ContributorsPageComponent |
|
|
|
component: ContributorsPageComponent, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: 'history', |
|
|
|
component: HistoryComponent, |
|
|
|
data: { |
|
|
|
channel: 'settings.contributors' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'help', |
|
|
|
component: HelpComponent, |
|
|
|
data: { |
|
|
|
helpPage: '05-integrated/contributors' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'languages', |
|
|
|
component: LanguagesPageComponent |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'patterns', |
|
|
|
component: PatternsPageComponent |
|
|
|
component: LanguagesPageComponent, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: 'history', |
|
|
|
component: HistoryComponent, |
|
|
|
data: { |
|
|
|
channel: 'settings.languages' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'help', |
|
|
|
component: HelpComponent, |
|
|
|
data: { |
|
|
|
helpPage: '05-integrated/languages' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|