monitoring setup, project dashboard, account page

This commit is contained in:
simon987
2019-02-09 13:16:58 -05:00
parent f577e76afa
commit 4ef4752c14
28 changed files with 629 additions and 160 deletions

View File

@@ -1,3 +1,29 @@
<pre>
{{authService.account | json}}
</pre>
<div class="container">
<mat-card class="mat-elevation-z8" *ngIf="account">
<mat-card-header>
<mat-card-title>{{"account.title" | translate}}</mat-card-title>
<mat-card-subtitle>{{"account.subtitle" | translate}}</mat-card-subtitle>
</mat-card-header>
 
<mat-card-content>
<mat-list>
<mat-list-item>
{{"account.username" | translate}}:&nbsp;
<pre>{{account.username}}</pre>
</mat-list-item>
</mat-list>
<mat-expansion-panel>
<mat-expansion-panel-header>{{"account.metadata" | translate}}</mat-expansion-panel-header>
<pre> {{account | json}}</pre>
</mat-expansion-panel>
</mat-card-content>
<mat-card-actions>
</mat-card-actions>
</mat-card>
</div>

View File

@@ -8,10 +8,13 @@ import {AuthService} from "../auth.service";
})
export class AccountDetailsComponent implements OnInit {
account: Manager;
constructor(private authService: AuthService) {
}
ngOnInit() {
this.account = this.authService.account;
}
}