credentials.component.html 1.11 KB
Newer Older
1
2
3
<div class="mat-typography">
	<h2>Credentials</h2>
	<p>
Lukas Burgey's avatar
Lukas Burgey committed
4
	For access to the service {{ service.name }} at {{ service.site.name }} additional credentials are needed.
5
	The additional credentials are listed below.
6
	</p>
7
	<div *ngIf="credentialCount > 0" style="margin-bottom: 50px;">
8
9
10
11
12
13
14
15
16
17
18
19
20
		<mat-table [dataSource]="table">
			<ng-container matColumnDef="name">
				<mat-header-cell *matHeaderCellDef>Name</mat-header-cell>
				<mat-cell *matCellDef="let element">{{ element.name}}</mat-cell>
			</ng-container>
			<ng-container matColumnDef="value">
				<mat-header-cell *matHeaderCellDef>Value</mat-header-cell>
				<mat-cell *matCellDef="let element">{{ element.value }}</mat-cell>
			</ng-container>
			<mat-header-row *matHeaderRowDef="columns"></mat-header-row>
			<mat-row *matRowDef="let row; columns: columns;"></mat-row>
		</mat-table>
	</div>
21
22
23
24
25
26
27
28
29
30
31
	<h2>Key Information</h2>
	<p>
	The following ssh keys of yours can be used for accessing this service:
	</p>
	<div>
	  <ng-container *ngFor="let state of stateItem.credential_states">
		<p *ngIf="state.state == 'deployed'">
		{{ state.credential.name }}
		</p>
	  </ng-container>
	</div>
32
</div>