blob: 1286116af73dddcf115f580cd978e8a3611ee594 [file] [log] [blame]
kumaran.m3b4814a2020-05-01 19:48:54 +05301<!--
2Copyright 2020 TATA ELXSI
3
4Licensed under the Apache License, Version 2.0 (the 'License');
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15
16Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in)
17-->
18<div class="btn-group list action" role="group">
19 <ng-template #popTitle>
20 <span class="text-primary"><strong>{{'PAGE.DASHBOARD.RUNNINGINSTANCES' | translate}}</strong></span>
21 <button class="button-xs close" type="button" (click)="p.close()">
22 <i class="fas fa-times-circle text-danger"></i>
23 </button>
24 </ng-template>
25 <ng-template #popContent>
26 <ul class="list-group">
27 <li class="list-group-item text-left p-1 border-0" *ngFor="let instanceDetails of showInstanceDetails">
Barath Kumar R1245fc82021-04-16 13:34:06 +053028 <a class="d-block text-truncate" target="_parent" routerLink="/instances/ns/{{instanceDetails._id}}">
29 <i class="fa-sitemap fas icons"></i> {{instanceDetails.name}}
30 </a>
kumaran.m3b4814a2020-05-01 19:48:54 +053031 </li>
32 </ul>
33 </ng-template>
SANDHYA.JS4a7a5422021-05-15 15:35:22 +053034 <ng-template #graphTitle>
35 <span class="text-primary"><strong>{{'PAGE.VIMDETAILS.VIMRESOURCES' | translate}}</strong></span>
36 <button class="button-xs close" type="button" (click)="chart.close()">
37 <i class="fas fa-times-circle text-danger"></i>
38 </button>
39 </ng-template>
40 <ng-template #graphContent>
41 <app-resources-overview [resourcesData]="value"></app-resources-overview>
42 </ng-template>
SANDHYA.JSeb9c4822023-10-11 16:29:27 +053043 <button type="button" class="btn btn-primary" (click)="editVIM()" placement="top" container="body" ngbTooltip="{{'EDIT' | translate}}">
44 <i class="fa fa-edit icons"></i>
45 </button>
SANDHYA.JS4a7a5422021-05-15 15:35:22 +053046 <button type="button" class="btn btn-primary" placement="left" container="body"
47 [ngbPopover]="graphContent" triggers="manual" #chart="ngbPopover"
48 (click)="chart.open()" [autoClose]="'outside'" [popoverTitle]="graphTitle" popoverClass="resources-chart-popover"
49 [disabled]="value.resources === null">
SANDHYA.JS0e9c0a42022-04-04 18:44:53 +053050 <i ngbTooltip="{{'PAGE.VIMDETAILS.VIMRESOURCES' | translate}}" class="fas fa-chart-pie"></i>
SANDHYA.JS4a7a5422021-05-15 15:35:22 +053051 </button>
kumaran.m3b4814a2020-05-01 19:48:54 +053052 <button type="button" class="btn btn-primary" (click)="vimInfo()" placement="top" container="body"
53 ngbTooltip="{{'INFO' | translate}}">
54 <i class="fas fa-info icons"></i>
55 </button>
56 <button type="button" class="btn btn-primary" (click)="deleteVIMAccount()" placement="top" container="body"
57 ngbTooltip="{{'DELETE' | translate}}">
58 <i class="far fa-trash-alt icons"></i>
59 </button>
60 <button type="button" placement="left" container="body" [ngbPopover]="popContent" triggers="manual" #p="ngbPopover"
61 (click)="p.open()" [autoClose]="'outside'" [popoverTitle]="popTitle" class="btn btn-primary"
62 popoverClass="runninginstances" [disabled]="!showMapIcon">
SANDHYA.JS0e9c0a42022-04-04 18:44:53 +053063 <i ngbTooltip="{{'PAGE.DASHBOARD.RUNNINGINSTANCES' | translate}}" class="fas fa-layer-group"></i>
kumaran.m3b4814a2020-05-01 19:48:54 +053064 </button>
65</div>