diff --git a/web/angular/.angular-cli.json b/web/angular/.angular-cli.json
index 605f9ab..50b6e38 100644
--- a/web/angular/.angular-cli.json
+++ b/web/angular/.angular-cli.json
@@ -21,7 +21,8 @@
"styles": [
"../node_modules/font-awesome/css/font-awesome.css",
"../node_modules/simple-line-icons/css/simple-line-icons.css",
- "../src/scss/style.scss"
+ "../src/scss/style.scss",
+ "../node_modules/ngx-toastr/toastr.css"
],
"scripts": [
"../node_modules/chart.js/dist/Chart.bundle.min.js",
diff --git a/web/angular/package.json b/web/angular/package.json
index ffc87cc..c8cecbd 100644
--- a/web/angular/package.json
+++ b/web/angular/package.json
@@ -14,6 +14,7 @@
},
"private": true,
"dependencies": {
+ "@angular/animations": "^5.1.2",
"@angular/common": "5.0.1",
"@angular/compiler": "5.0.1",
"@angular/core": "5.0.1",
@@ -32,6 +33,7 @@
"moment": "2.19.1",
"ng2-charts": "1.6.0",
"ngx-bootstrap": "1.9.3",
+ "ngx-toastr": "^8.0.0",
"rxjs": "5.5.2",
"simple-line-icons": "^2.4.1",
"ts-helpers": "1.1.2",
diff --git a/web/angular/src/app/app.module.ts b/web/angular/src/app/app.module.ts
index 84338da..e626a6d 100755
--- a/web/angular/src/app/app.module.ts
+++ b/web/angular/src/app/app.module.ts
@@ -2,6 +2,7 @@ import { BrowserModule } from '@angular/platform-browser';
import {FormsModule} from "@angular/forms";
import { NgModule } from '@angular/core';
import {LocationStrategy, HashLocationStrategy, PathLocationStrategy} from '@angular/common';
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppComponent } from './app.component';
@@ -116,19 +117,23 @@ import { TabsModule } from 'ngx-bootstrap/tabs';
import { PaginationModule } from 'ngx-bootstrap/pagination';
import { ModalModule } from 'ngx-bootstrap/modal';
import { ChartsModule } from 'ng2-charts/ng2-charts';
-
+import { ToastrModule } from 'ngx-toastr';
@NgModule({
imports: [
BrowserModule,
FormsModule,
HttpClientModule,
+ BrowserAnimationsModule,
AppRoutingModule,
BsDropdownModule.forRoot(),
TabsModule.forRoot(),
PaginationModule.forRoot(),
ModalModule.forRoot(),
- ChartsModule
+ ChartsModule,
+ ToastrModule.forRoot({
+ newestOnTop: true
+ })
],
declarations: [
AppComponent,
diff --git a/web/angular/src/app/views/components/user-management/user-management.component.html b/web/angular/src/app/views/components/user-management/user-management.component.html
index 6122d16..e769782 100644
--- a/web/angular/src/app/views/components/user-management/user-management.component.html
+++ b/web/angular/src/app/views/components/user-management/user-management.component.html
@@ -22,8 +22,8 @@
{{user.email}} |
- {{role}}
- {{role}}
+ {{role}}
+ {{role}}
|
@@ -31,14 +31,11 @@
Inactive
|
-
- |