Commit e28d0f8c authored by Lukas Burgey's avatar Lukas Burgey

Change the look of the vo component

parent d30be74b
...@@ -2,16 +2,6 @@ ...@@ -2,16 +2,6 @@
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title style="min-width: 100px;">{{ group.name }}</mat-panel-title> <mat-panel-title style="min-width: 100px;">{{ group.name }}</mat-panel-title>
</mat-expansion-panel-header> </mat-expansion-panel-header>
<div *ngIf="deploymentMapped()">
<div [ngSwitch]="deployment?.state_target">
<span *ngSwitchCase="'not_deployed'">
You currently did not request access to services of this VO.
</span>
<span *ngSwitchCase="'deployed'">
You requested access to services of this VO.
</span>
</div>
</div>
<p *ngIf="!deploymentMapped()"> <p *ngIf="!deploymentMapped()">
No deployment is currently mapped to this VO. No deployment is currently mapped to this VO.
</p> </p>
...@@ -79,9 +69,15 @@ ...@@ -79,9 +69,15 @@
membership of this VO. membership of this VO.
</p> </p>
</ng-template> </ng-template>
{{ deployment?.state_items | json }}
<mat-action-row> <mat-action-row>
<div [ngSwitch]="deployment?.state_target">
<span *ngSwitchCase="'not_deployed'" style="margin-right: 15px;">
You did not request access to the services of this VO.
</span>
<span *ngSwitchCase="'deployed'" style="margin-right: 15px;">
You requested access to the services of this VO.
</span>
</div>
<div [ngSwitch]="deployment?.state_target"> <div [ngSwitch]="deployment?.state_target">
<button *ngSwitchCase="'not_deployed'" (click)="changeDeployment('add')" mat-raised-button color="primary" matTooltip="Deploy credentials to services of VO {{ group.name }}"> <button *ngSwitchCase="'not_deployed'" (click)="changeDeployment('add')" mat-raised-button color="primary" matTooltip="Deploy credentials to services of VO {{ group.name }}">
Deploy credentials Deploy credentials
...@@ -89,7 +85,7 @@ ...@@ -89,7 +85,7 @@
<button *ngSwitchCase="'deployed'" (click)="changeDeployment('remove')" mat-raised-button color="primary" matTooltip="Remove credentials from services of VO {{ group.name }}"> <button *ngSwitchCase="'deployed'" (click)="changeDeployment('remove')" mat-raised-button color="primary" matTooltip="Remove credentials from services of VO {{ group.name }}">
Remove credentials Remove credentials
</button> </button>
<button *ngSwitchDefault (click)="changeDeployment('add')" mat-raised-button color="primary" matTooltip="Deploy credentials to services of VO {{ group.name }}"> <button *ngSwitchDefault (click)="changeDeployment('add')" mat-raised-button color="primary" matTooltip="Deploy credentials to services of VO {{ group.name }} the first time">
Deploy credentials Deploy credentials
</button> </button>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment