| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame^] | 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 align-items-center justify-content-between"> |
| 19 | <div class="col-sm-4"> |
| 20 | <div class="d-flex align-items-center header-style">{{'VIMACCOUNTS' | translate}}</div> |
| 21 | </div> |
| 22 | <div class="col-sm-8 text-right"> |
| 23 | <div class="btn-group list mr-2" role="group"> |
| 24 | <button class="btn btn-primary" type="button" (click)="mapView()" placement="top" container="body" |
| 25 | ngbTooltip="{{'MAPVIEW' | translate}}" [hidden]="showList" [disabled]="vimData.length == 0"> |
| 26 | <i class="fas fa-map-marker-alt"></i> |
| 27 | {{'MAPVIEW' | translate}} |
| 28 | </button> |
| 29 | <button class="btn btn-primary" type="button" (click)="listView()" placement="top" container="body" |
| 30 | ngbTooltip="{{'LISTVIEW' | translate}}" [hidden]="showMap"> |
| 31 | <i class="fas fa-list"></i> |
| 32 | {{'LISTVIEW' | translate}} |
| 33 | </button> |
| 34 | </div> |
| 35 | <span class="button"> |
| 36 | <button class="btn btn-primary" type="button" placement="top" container="body" |
| 37 | ngbTooltip="{{'PAGE.VIMDETAILS.NEWVIM' | translate}}" (click)="composeVIM()"> |
| 38 | <i class="fas fa-plus-circle" aria-hidden="true"></i> |
| 39 | {{'PAGE.VIMDETAILS.NEWVIM' | translate}} |
| 40 | </button> |
| 41 | </span> |
| 42 | </div> |
| 43 | </div> |
| 44 | <div class="row mt-2 mb-0 list-utilites-actions" [hidden]="showList"> |
| 45 | <div class="col-auto mr-auto"> |
| 46 | <nav class="custom-items-config"> |
| 47 | <span><i class="fas fa-clock text-warning"></i>{{operationalStateFirstStep}}</span> |
| 48 | <span><i class="fas fa-check-circle text-success"></i>{{operationalStateSecondStep}}</span> |
| 49 | <span><i class="fas fa-times-circle text-danger"></i>{{operationalStateThirdStep}}</span> |
| 50 | </nav> |
| 51 | </div> |
| 52 | <page-per-row class="mr-2" (pagePerRow)="onChange($event)"></page-per-row> |
| 53 | <page-reload></page-reload> |
| 54 | </div> |
| 55 | <div class="smarttable-style bg-white mt-1" [hidden]="showList"> |
| 56 | <ng2-smart-table [ngClass]="checkDataClass" [settings]="settings" [source]="dataSource" (userRowSelect)="onUserRowSelect($event)"> |
| 57 | </ng2-smart-table> |
| 58 | </div> |
| 59 | <br> |
| 60 | <div id="map" class="row map" [hidden]="showMap"></div> |
| 61 | <div id="popup" class="ol-popup" [hidden]="!popupShow"> |
| 62 | <button id="popup-closer" class="button-xs close m-1" type="button" aria-label="Close"> |
| 63 | <i class="fas fa-times-circle text-danger"></i> |
| 64 | </button> |
| 65 | <div id="popup-content" [innerHTML]="popupData"></div> |
| 66 | </div> |
| 67 | <app-loader [waitingMessage]="message" *ngIf="isLoadingResults"></app-loader> |