account.component.html 957 Bytes
Newer Older
1
<div *ngIf="(userService.subscribeUser() | async) as user" class="mat-typography" style="margin-bottom: 50px;">
2 3 4 5
	<h2>User Info</h2>
	<p>
	You can inspect the user information we received about you.
	</p>
Lukas Burgey's avatar
Lukas Burgey committed
6
	<button mat-raised-button mat-dialog-close color="primary" (click)="profileDialog.open(user)">
7 8 9 10
	  Show User Info
	</button>
</div>

Lukas Burgey's avatar
Lukas Burgey committed
11
<app-sshkeys></app-sshkeys>
Lukas Burgey's avatar
Lukas Burgey committed
12

Lukas Burgey's avatar
Lukas Burgey committed
13 14
<app-preferences></app-preferences>

15
<div class="mat-typography">
Lukas Burgey's avatar
Lukas Burgey committed
16
	<h2>Account Management</h2>
17
	<p class="mat-body-1">
Lukas Burgey's avatar
Lukas Burgey committed
18
	You can delete your account. All deployments will be removed if you choose to do so. You will not be able to use the deployed credentials.
19 20 21
	</p>
	<p class="mat-body-2">
	<mat-checkbox [(ngModel)]="sure" style="margin-right: 8px" [checked]="sure">
Lukas Burgey's avatar
Lukas Burgey committed
22
	  I'm sure I want to delete my data from the server.
23 24
	</mat-checkbox>
	<p>
Lukas Burgey's avatar
Lukas Burgey committed
25
	<button mat-raised-button mat-dialog-close color="primary" (click)="userService.deleteUser()" [disabled]="!sure">
26 27 28 29
		Delete
	</button>
	</p>
</div>