| .. | .. |
|---|
| 3 | 3 | import { HomeComponent } from './home.component'; |
|---|
| 4 | 4 | import { MenuComponent } from './menu.component'; |
|---|
| 5 | 5 | import { NoMenuComponent } from './nomenu.component'; |
|---|
| 6 | | -import { PackListComponent } from './listing/pack.list.component'; |
|---|
| 7 | | -import { LicenseListComponent } from './listing/license.list.component'; |
|---|
| 8 | 6 | import { LicenseFormComponent } from './forms/license.form.component'; |
|---|
| 9 | 7 | import { PackFormComponent } from './forms/pack.form.component'; |
|---|
| 10 | 8 | import { LoginFormComponent } from './forms/login.form.component'; |
|---|
| 11 | 9 | import { ApplicationFormComponent } from './forms/application.form.component'; |
|---|
| 10 | +import { LicenseTypeFormComponent } from './forms/licensetype.form.component'; |
|---|
| 11 | +import { OrganizationFormComponent } from './forms/organization.form.component'; |
|---|
| 12 | +import { UserFormComponent } from './forms/user.form.component'; |
|---|
| 13 | + |
|---|
| 14 | +import { PackListComponent } from './listing/pack.list.component'; |
|---|
| 15 | +import { LicenseListComponent } from './listing/license.list.component'; |
|---|
| 12 | 16 | import { ApplicationListComponent } from './listing/application.list.component'; |
|---|
| 17 | +import { LicenseTypeListComponent } from './listing/licensetype.list.component'; |
|---|
| 18 | +import { OrganizationListComponent } from './listing/organization.list.component'; |
|---|
| 19 | +import { UserListComponent } from './listing/user.list.component'; |
|---|
| 13 | 20 | |
|---|
| 14 | 21 | const routes: Routes = [ |
|---|
| 15 | 22 | {path: 'public', component: NoMenuComponent, children: [ |
|---|
| .. | .. |
|---|
| 30 | 37 | ]}, |
|---|
| 31 | 38 | {path: 'applications', component: ApplicationListComponent}, |
|---|
| 32 | 39 | {path: 'applications/create', component: ApplicationFormComponent}, |
|---|
| 33 | | - {path: 'applications/edit/:applicationId', component: ApplicationFormComponent} |
|---|
| 40 | + {path: 'applications/edit/:applicationId', component: ApplicationFormComponent}, |
|---|
| 41 | + |
|---|
| 42 | + {path: 'licensetypes', component: LicenseTypeListComponent}, |
|---|
| 43 | + {path: 'licensetypes/create', component: LicenseTypeFormComponent}, |
|---|
| 44 | + {path: 'licensetypes/edit/:applicationId', component: LicenseTypeFormComponent}, |
|---|
| 45 | + |
|---|
| 46 | + {path: 'organizations', component: OrganizationListComponent}, |
|---|
| 47 | + {path: 'organizations/create', component: OrganizationFormComponent}, |
|---|
| 48 | + {path: 'organizations/edit/:applicationId', component: OrganizationFormComponent}, |
|---|
| 49 | + |
|---|
| 50 | + {path: 'users', component: UserListComponent}, |
|---|
| 51 | + {path: 'users/create', component: UserFormComponent}, |
|---|
| 52 | + {path: 'users/edit/:applicationId', component: UserFormComponent} |
|---|
| 53 | + |
|---|
| 34 | 54 | ] |
|---|
| 35 | 55 | }, |
|---|
| 36 | 56 | |
|---|