Feature-9518: Scale-in/Scale-out commands triggered from the UI
[osm/NG-UI.git] / src / app / instances / ns-instances / NSInstancesComponent.html
1 <!--
2 Copyright 2020 TATA ELXSI
3
4 Licensed under the Apache License, Version 2.0 (the 'License');
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 Author: 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="row d-flex flex-row justify-content-between">
19 <div class="d-flex align-items-center header-style">{{'NSINSTANCES' | translate}}</div>
20 <span class="button">
21 <button class="btn btn-primary" type="button" placement="top" container="body" ngbTooltip="{{'PAGE.NSINSTANCE.NEWNSINSTANCE' | translate}}"
22 (click)="instantiateNS()">
23 <i class="fa fa-paper-plane" aria-hidden="true"></i>&nbsp; {{'PAGE.NSINSTANCE.NEWNSINSTANCE' | translate}}
24 </button>
25 </span>
26 </div>
27 <div class="row mt-2 mb-0 list-utilites-actions">
28 <div class="col-auto mr-auto">
29 <nav class="custom-items-config">
30 <span><i class="fas fa-clock text-warning"></i>{{operationalStateFirstStep}}</span>
31 <span><i class="fas fa-check-circle text-success"></i>{{operationalStateSecondStep}} /
32 {{configStateSecondStep}}</span>
33 <span><i class="fas fa-times-circle text-danger"></i>{{operationalStateThirdStep}}</span>
34 <span><i class="fas fa-compress-alt text-success"></i>{{operationalStateFourthStep}}</span>
35 </nav>
36 </div>
37 <page-per-row class="mr-2" (pagePerRow)="onChange($event)"></page-per-row>
38 <page-reload></page-reload>
39 </div>
40 <div class="smarttable-style bg-white mt-1">
41 <ng2-smart-table [ngClass]="checkDataClass" [settings]="settings" [source]="dataSource" (userRowSelect)="onUserRowSelect($event)">
42 </ng2-smart-table>
43 </div>
44 <app-loader [waitingMessage]="message" *ngIf="isLoadingResults"></app-loader>