credentials.component.html 877 Bytes
Newer Older
1 2 3
<div class="mat-typography">
	<h2>Credentials</h2>
	<p>
4
	You can access the service {{ service.name }} at {{ service.site[0].name }} using your SSH Key {{ stateItem.key.name }}.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
	</p>
	<div *ngIf="credentialCount > 0">
		<p>
		Additional information about accessing the service is displayed below.
		</p>
		<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>
</div>