service.component.html 932 Bytes
Newer Older
Lukas Burgey's avatar
Lukas Burgey committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<mat-expansion-panel>
	<mat-expansion-panel-header>
		<mat-panel-title>{{ serviceData.name }}</mat-panel-title>
		<mat-panel-description>{{ serviceData.description }}</mat-panel-description>
	</mat-expansion-panel-header>
	<p>
	<mat-icon style="vertical-align: middle; padding-right: 35px;">storage</mat-icon>
	Provided by: {{ serviceData.site.name }}
	</p>

	<span>
	<mat-icon style="vertical-align: middle; padding-right: 35px;">lock outline</mat-icon>
	</span>
	Needs membership of one of the following groups:
	<ul>
		<li *ngFor="let group of serviceData.groups">
			{{ group.name }}
		</li>
	</ul>

	<mat-action-row>
22 23 24 25 26 27 28 29 30
		<span style="margin-right: 15px">
			Deployed keys:
		</span><br/>
		<mat-checkbox *ngFor="let key of userService.user.ssh_keys"
				style="margin-right: 10px"
				[checked]="isDeployed(key)"
				(change)="deploymentChange(key)">
			{{ key.name }}
		</mat-checkbox>
Lukas Burgey's avatar
Lukas Burgey committed
31 32
	</mat-action-row>
</mat-expansion-panel>