app.module.ts
6.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { RouterModule, Routes } from '@angular/router';
import {HttpModule} from '@angular/http';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import {SiteMenuComponent} from './shared/site-menu.component';
import {SiteFooterComponent} from './shared/site-footer.component';
import {LoginComponent} from './pages/login.component';
import {UpdatePasswordComponent} from './pages/update-password.component';
import { DashboardComponent } from './pages/dashboard.component';
import { AdminUpdateProfileComponent } from './pages/admin-update-profile.component';
import { AdminChangePasswordComponent } from './pages/admin-change-password.component';
import { AdminChangeUserIdComponent } from './pages/admin-change-user-id.component';
import { AdminSearchLicenseComponent } from './pages/admin-search-license.component';
import { AdminAddNewLicenseComponent } from './pages/admin-add-new-license.component';
import { AdminSetupTestAccountComponent } from './pages/admin-setup-test-account.component';
import { AdminManageDiscountCodeComponent } from './pages/admin-manage-discount-code.component';
import { AdminSubscriptionPriceComponent } from './pages/admin-subscription-price.component';
import { AdminListUserComponent } from './pages/admin-list-user.component';
import { AdminAddUserComponent } from './pages/admin-add-user.component';
import { AdminUnblockUserComponent } from './pages/admin-unblock-user.component';
import { AdminUserGroupComponent } from './pages/admin-user-group.component';
import { AdminUsageReportComponent } from './pages/admin-usage-report.component';
import { CustomerSummaryReportComponent } from './pages/customer-summary-report.component';
import { AdminExpiringSubscriptionReportComponent } from './pages/admin-expiring-subscription-report.component';
import { AdminNewSubscriptionReportComponent } from './pages/admin-new-subscription-report.component';
import { AdminSubscriptionCancellationReportComponent } from './pages/admin-subscription-cancellation-report.component';
import { AdminNetAdSubscriptionReportComponent } from './pages/admin-net-ad-subscription-report.component';
import { AdminSiteLicenseUsageReportComponent } from './pages/admin-site-license-usage-report.component';
import { AdminDiscountCodeReportComponent } from './pages/admin-discount-code-report.component';
import { AdminImageExportReportComponent } from './pages/admin-image-export-report.component';
import { AdminAddBuildingLevelAccountComponent } from './pages/admin-add-building-level-account.component';
import { AdminAddBuildingLevelAccount1Component } from './pages/admin-add-building-level-account1.component';
import { AdminViewUpdateProfileComponent } from './pages/admin-view-update-profile.component';
import { AdminManageModestySettingsComponent } from './pages/admin-manage-modesty-settings.component';
import { AdminManageModuleComponent } from './pages/admin-manage-module.component';
const appRoutes: Routes = [
{ path: '', component: DashboardComponent },
{ path: 'dashboard', redirectTo: '', pathMatch: 'full' },
//{ path: 'login', component: LoginComponent },
//{ path: 'login/:slug', component: LoginComponent }
{ path: 'admin-update-profile', component: AdminUpdateProfileComponent },
{ path: 'admin-change-password', component: AdminChangePasswordComponent },
{ path: 'admin-change-user-id', component: AdminChangeUserIdComponent },
{ path: 'admin-search-license', component: AdminSearchLicenseComponent },
{ path: 'admin-add-new-license', component: AdminAddNewLicenseComponent },
{ path: 'admin-setup-test-account', component: AdminSetupTestAccountComponent },
{ path: 'admin-manage-discount-code', component: AdminManageDiscountCodeComponent },
{ path: 'admin-subscription-price', component: AdminSubscriptionPriceComponent },
{ path: 'admin-list-user', component: AdminListUserComponent },
{ path: 'admin-add-user', component: AdminAddUserComponent },
{ path: 'admin-unblock-user', component: AdminUnblockUserComponent },
{ path: 'admin-user-group', component: AdminUserGroupComponent },
{ path: 'admin-usage-report', component: AdminUsageReportComponent },
{ path: 'customer-summary-report', component: CustomerSummaryReportComponent },
{ path: 'admin-expiring-subscription-report', component: AdminExpiringSubscriptionReportComponent },
{ path: 'admin-new-subscription-report', component: AdminNewSubscriptionReportComponent },
{ path: 'admin-subscription-cancellation-report', component: AdminSubscriptionCancellationReportComponent },
{ path: 'admin-net-ad-subscription-report', component: AdminNetAdSubscriptionReportComponent },
{ path: 'admin-site-license-usage-report', component: AdminSiteLicenseUsageReportComponent },
{ path: 'admin-discount-code-report', component: AdminDiscountCodeReportComponent },
{ path: 'admin-image-export-report', component: AdminImageExportReportComponent },
{ path: 'admin-add-building-level-account', component: AdminAddBuildingLevelAccountComponent },
{ path: 'admin-add-building-level-account1', component: AdminAddBuildingLevelAccount1Component },
{ path: 'admin-view-update-profile', component: AdminViewUpdateProfileComponent },
{ path: 'admin-manage-modesty-settings', component: AdminManageModestySettingsComponent },
{ path: 'admin-manage-module', component: AdminManageModuleComponent }
];
@NgModule({
imports: [
BrowserModule,
HttpModule,
RouterModule.forRoot(appRoutes),
FormsModule
],
declarations: [
AppComponent,
SiteMenuComponent,
SiteFooterComponent,
DashboardComponent,
//LoginComponent,
UpdatePasswordComponent,
AdminUpdateProfileComponent,
AdminChangePasswordComponent,
AdminChangeUserIdComponent,
AdminSearchLicenseComponent,
AdminAddNewLicenseComponent,
AdminSetupTestAccountComponent,
AdminManageDiscountCodeComponent,
AdminSubscriptionPriceComponent,
AdminListUserComponent,
AdminAddUserComponent,
AdminUnblockUserComponent,
AdminUserGroupComponent,
AdminUsageReportComponent,
CustomerSummaryReportComponent,
AdminExpiringSubscriptionReportComponent,
AdminNewSubscriptionReportComponent,
AdminSubscriptionCancellationReportComponent,
AdminNetAdSubscriptionReportComponent,
AdminSiteLicenseUsageReportComponent,
AdminDiscountCodeReportComponent,
AdminImageExportReportComponent,
AdminAddBuildingLevelAccountComponent,
AdminAddBuildingLevelAccount1Component,
AdminViewUpdateProfileComponent,
AdminManageModestySettingsComponent,
AdminManageModuleComponent
],
bootstrap: [ AppComponent ]
})
export class AppModule { }