-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6117 from deNBI/dev
Dev
- Loading branch information
Showing
3 changed files
with
43 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 39 additions & 48 deletions
87
src/app/projectmanagement/project-os-details/project-os-details.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,56 @@ | ||
<div *ngIf="!project?.project_application_openstack_project && !details_loaded"> | ||
<div class="spinner-border text-primary" style="display:block; margin:auto;"></div> | ||
<div class="spinner-border text-primary" style="display: block; margin: auto"></div> | ||
</div> | ||
<div *ngIf="!project?.project_application_openstack_project && details_loaded" role="alert"> | ||
<table *ngIf="selectedProjectVms.length > 0" class="table table-striped table-bordered"> | ||
|
||
<tbody> | ||
<tr> | ||
<th colspan="3">Virtual Machines</th> | ||
|
||
</tr> | ||
<tr> | ||
<th>Id</th> | ||
<th>Name</th> | ||
</tr> | ||
<tr *ngFor="let vm of selectedProjectVms"> | ||
<td>{{vm?.openstackid}}</td> | ||
<td>{{vm?.name}}</td> | ||
|
||
</tr> | ||
<tr> | ||
<th colspan="3">Virtual Machines</th> | ||
</tr> | ||
<tr> | ||
<th>Id</th> | ||
<th>Name</th> | ||
<th>Flavor</th> | ||
</tr> | ||
<tr *ngFor="let vm of selectedProjectVms"> | ||
<td>{{ vm?.openstackid }}</td> | ||
<td>{{ vm?.name }}</td> | ||
<td>{{ vm?.flavor?.name }}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<table *ngIf="selectedProjectVolumes.length > 0" class="table table-striped table-bordered"> | ||
<tbody> | ||
|
||
|
||
<tr> | ||
<th colspan="3">Volumes</th> | ||
|
||
</tr> | ||
<tr> | ||
<th>Id</th> | ||
<th>Name</th> | ||
</tr> | ||
<ng-container *ngFor="let volume of selectedProjectVolumes"> | ||
<tr *ngIf="volume?.volume_status !== 'DELETED'"> | ||
<td>{{volume?.volume_openstackid}}</td> | ||
<td>{{volume?.volume_name}}</td> | ||
<tr> | ||
<th colspan="3">Volumes</th> | ||
</tr> | ||
<tr> | ||
<th>Id</th> | ||
<th>Name</th> | ||
<th>Storage</th> | ||
</tr> | ||
</ng-container> | ||
|
||
|
||
<ng-container *ngFor="let volume of selectedProjectVolumes"> | ||
<tr *ngIf="volume?.volume_status !== 'DELETED'"> | ||
<td>{{ volume?.volume_openstackid }}</td> | ||
<td>{{ volume?.volume_name }}</td> | ||
<td>{{ volume?.volume_storage }} GiB</td> | ||
</tr> | ||
</ng-container> | ||
</tbody> | ||
</table> | ||
<table *ngIf="selectedProjectSnapshots.length > 0" class="table table-striped table-bordered"> | ||
<tbody> | ||
|
||
|
||
<tr> | ||
<th colspan="3">Snapshots</th> | ||
|
||
</tr> | ||
<tr> | ||
<th>Id</th> | ||
<th>Name</th> | ||
</tr> | ||
<tr *ngFor="let snapshot of selectedProjectSnapshots"> | ||
<td>{{snapshot?.snapshot_openstackid}}</td> | ||
<td>{{snapshot?.snapshot_name}}</td> | ||
|
||
</tr> | ||
|
||
<tr> | ||
<th colspan="3">Snapshots</th> | ||
</tr> | ||
<tr> | ||
<th>Id</th> | ||
<th>Name</th> | ||
</tr> | ||
<tr *ngFor="let snapshot of selectedProjectSnapshots"> | ||
<td>{{ snapshot?.snapshot_openstackid }}</td> | ||
<td>{{ snapshot?.snapshot_name }}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters