body.component.html 1.64 KB
Newer Older
1
<div class="body" class="mat-typography" class="body" >
2
  <div *ngIf="(userService.subscribeUser() | async) as user" style="max-width: 800px; margin: auto;">
Lukas Burgey's avatar
Lukas Burgey committed
3
	<mat-tab-group *ngIf="(userService.subscribeSSHKeys() | async)?.length > 0; else noCredentials">
4
5
	  <mat-tab label="Your VOs">
		<div class="mat-typography" class="body">
6
		  <h3>Your Virtual Organisations</h3>
Lukas Burgey's avatar
Lukas Burgey committed
7
		  <div>
8
9
			<mat-accordion *ngIf="(userService.subscribeVOs() | async) as vos">
			  <app-vo-data *ngFor="let vo of vos" [vo]="vo"></app-vo-data>
10
			</mat-accordion>
11
			<ng-template #noVOs>
Lukas Burgey's avatar
Lukas Burgey committed
12
13
14
15
			  <p>
			  You are not member in any Virtual Organisations.
			  </p>
			</ng-template>
16
17
18
19
20
21
22
23
24
25
26
27
28
		  </div>
		</div>
	  </mat-tab>
	  <!--
	  <mat-tab label="Services">
		<div class="mat-typography" class="body">
		  <h2>Available Services</h2>
		  <mat-accordion *ngIf="userService.services$ | async as services; else noServices">
			<app-service *ngFor="let service of services" [deployment]="userService.getDeployment(service)" [service]="service"></app-service>
		  </mat-accordion>
		  <ng-template #noServices>
			<p>
			You have no available services.<br/>
29
			This is due services requiring users to be member of a certain vo.
30
31
32
33
34
			</p>
		  </ng-template>
		</div>
	  </mat-tab>
	  -->
Lukas Burgey's avatar
Lukas Burgey committed
35
	</mat-tab-group>
Lukas Burgey's avatar
Lukas Burgey committed
36
37
38
39
40
41
42
43
44
45
46
47
48
49
	<ng-template #noCredentials>
	  <div class="mat-typography">
		<div style="margin-bottom: 50px;">
		  <p>
		  Before you can start using FEUDAL you need to upload an SSH public key.
		  Please do so below.
		  </p>
		  <p>
		  Once you have uploaded a key, the SSH Key Management will be available in the toolbar above.
		  </p>
		</div>
		<app-sshkeys></app-sshkeys>
	  </div>
	</ng-template>
50
  </div>
Lukas Burgey's avatar
Lukas Burgey committed
51
</div>