body.component.html 1 KB
Newer Older
Lukas Burgey's avatar
Lukas Burgey committed
1
<div *ngIf="userService.loggedIn()" class="mat-typography" style="margin: 30px 20px 0px 20px;">
Lukas Burgey's avatar
Lukas Burgey committed
2
	<div style="padding-bottom: 30px;">
Lukas Burgey's avatar
Lukas Burgey committed
3
		<h2>Services</h2>
4
5
		<mat-accordion *ngIf="userService.services.length > 0">
			<app-service *ngFor="let service of userService.services" [deployment]="userService.getDeployment(service)" [service]="service"></app-service>
Lukas Burgey's avatar
Lukas Burgey committed
6
		</mat-accordion>
7
		<p *ngIf="userService.services.length === 0">
Lukas Burgey's avatar
Lukas Burgey committed
8
9
10
11
		You have no available services.<br/>
		This is due services requiring users to be member of a certain group.
		</p>
	</div>
Lukas Burgey's avatar
wip    
Lukas Burgey committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
	<div *ngIf="userService.groupsParsed" style="padding-bottom: 30px;">
		<h2>Virtual Organisations</h2>
		<mat-accordion *ngIf="userService.groupMap.size > 0">
			<div *ngFor="let group of userService.groupMap.keys()">
				<h3>{{ group.name }}</h3>
				<p *ngFor="let service of userService.groupMap.get(key)">
				{{ service | json }}
				</p>
			</div>
		</mat-accordion>
		<p *ngIf="userService.groupMap.size == 0">
		You are not a member in any groups.
		</p>
	</div>
Lukas Burgey's avatar
Lukas Burgey committed
26
</div>