diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 8f0fda8a..9b2b3650 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -54,6 +54,7 @@ import { ConsoleGuard } from './guards/console-guard'; import { LoginGuard } from './guards/login-guard'; import { DefaultLayoutComponent } from './layouts/default-layout/default-layout.component'; import { ServerResolve } from './resolvers/server-resolve'; +import { UserManagementComponent } from './components/user-management/user-management.component'; import { LoggedUserComponent } from './components/users/logged-user/logged-user.component'; const routes: Routes = [ @@ -207,10 +208,15 @@ const routes: Routes = [ component: WebConsoleFullWindowComponent, canActivate: [LoginGuard] }, + { + path: 'user_management', + component: UserManagementComponent + }, { path: '**', component: PageNotFoundComponent, - }, + } + ]; @NgModule({ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index e1d28fdb..9d2d369b 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -267,6 +267,7 @@ import { MarkedDirective } from './directives/marked.directive'; import { LoginComponent } from './components/login/login.component'; import { LoginService } from './services/login.service'; import { HttpRequestsInterceptor } from './interceptors/http.interceptor'; +import { UserManagementComponent } from './components/user-management/user-management.component' import { UserService } from './services/user.service'; import { LoggedUserComponent } from './components/users/logged-user/logged-user.component'; @@ -453,6 +454,7 @@ import { LoggedUserComponent } from './components/users/logged-user/logged-user. TemplateNameDialogComponent, ConfigureCustomAdaptersDialogComponent, EditNetworkConfigurationDialogComponent, + UserManagementComponent, ProjectReadmeComponent ], imports: [ diff --git a/src/app/components/user-management/user-management.component.html b/src/app/components/user-management/user-management.component.html new file mode 100644 index 00000000..e453d528 --- /dev/null +++ b/src/app/components/user-management/user-management.component.html @@ -0,0 +1,3 @@ +
+ user-management works! +
diff --git a/src/app/components/user-management/user-management.component.scss b/src/app/components/user-management/user-management.component.scss new file mode 100644 index 00000000..e69de29b diff --git a/src/app/components/user-management/user-management.component.spec.ts b/src/app/components/user-management/user-management.component.spec.ts new file mode 100644 index 00000000..0d5f413b --- /dev/null +++ b/src/app/components/user-management/user-management.component.spec.ts @@ -0,0 +1,28 @@ +/* tslint:disable:no-unused-variable */ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { By } from '@angular/platform-browser'; +import { DebugElement } from '@angular/core'; + +import { UserManagementComponent } from './user-management.component'; + +describe('UserManagementComponent', () => { + let component: UserManagementComponent; + let fixture: ComponentFixture