Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 5ffc199

Browse files
committed
gh-319 Polish table formatting + Fix button alignment
1 parent 1d63652 commit 5ffc199

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

ui/src/app/about/about-details.component.html

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,15 @@ <h2>Platform-specific Information of the App Deployer</h2>
141141

142142
<table class="table table-hover">
143143
<tbody>
144-
<tr *ngIf="!isEmpty(dataflowVersionInfo.runtimeEnvironment.appDeployer.platformSpecificInfo)">
145-
<ng-template ngFor let-item
146-
[ngForOf]="dataflowVersionInfo.runtimeEnvironment.appDeployer.platformSpecificInfo | keyvalues">
144+
<ng-template *ngIf="!isEmpty(dataflowVersionInfo.runtimeEnvironment.appDeployer.platformSpecificInfo)"
145+
ngFor let-item [ngForOf]="dataflowVersionInfo.runtimeEnvironment.appDeployer.platformSpecificInfo | keyvalues">
146+
<tr>
147147
<td class="col-xs-6">{{item.key}}</td><td>{{item.value}}</td>
148-
</ng-template>
149-
</tr>
150-
<tr *ngIf="isEmpty(dataflowVersionInfo.runtimeEnvironment.appDeployer.platformSpecificInfo)">
151-
<td class="col-xs-12 text-center" colspan="2">No platform-specific app deployer information available.</td>
152-
</tr>
148+
</tr>
149+
</ng-template>
150+
<tr *ngIf="isEmpty(dataflowVersionInfo.runtimeEnvironment.appDeployer.platformSpecificInfo)">
151+
<td class="col-xs-12 text-center" colspan="2">No platform-specific app deployer information available.</td>
152+
</tr>
153153
</tbody>
154154
</table>
155155

@@ -197,15 +197,21 @@ <h2>Platform-specific Information of the Task Launcher</h2>
197197
<!--<tr *ngIf="!isEmpty(dataflowVersionInfo.runtimeEnvironment.taskLauncher.platformSpecificInfo)" **ngFor="(key, value) in dataflowVersionInfo.runtimeEnvironment.taskLauncher.platformSpecificInfo">
198198
<td class="col-xs-6">{{key}}</td><td>{{value}}</td>
199199
</tr>-->
200+
<ng-template *ngIf="!isEmpty(dataflowVersionInfo.runtimeEnvironment.taskLauncher.platformSpecificInfo)"
201+
ngFor let-item [ngForOf]="dataflowVersionInfo.runtimeEnvironment.taskLauncher.platformSpecificInfo | keyvalues">
202+
<tr>
203+
<td class="col-xs-6">{{item.key}}</td><td>{{item.value}}</td>
204+
</tr>
205+
</ng-template>
200206
<tr *ngIf="isEmpty(dataflowVersionInfo.runtimeEnvironment.taskLauncher.platformSpecificInfo)">
201207
<td colspan="2" class="col-xs-6 text-center">No platform-specific task launcher information available.</td>
202208
</tr>
203209
</tbody>
204210
</table>
205211

206212
<div class="row">
207-
<div class="col-md-6 text-right"><button id="back-button" type="button" class="btn btn-default" (click)="goBack()"><span class="glyphicon glyphicon-arrow-left"></span> Back</button></div>
208-
<div class="col-md-6 text-left"><button id="back-button"
213+
<div class="col-md-12 text-right"><button id="back-button" type="button" class="btn btn-default" (click)="goBack()"><span class="glyphicon glyphicon-arrow-left"></span> Back</button></div>
214+
<div class="col-md-12 text-left"><button id="back-button"
209215
[ngxClipboard] [cbContent]="dataflowVersionInfo | json" (cbOnSuccess)="onCopyToClipboardSuccess($event);"
210216
type="button" class="btn btn-default"><span class="glyphicon glyphicon-copy"></span> Copy Details to Clipboard</button></div>
211217
</div>

0 commit comments

Comments
 (0)