| Barath Kumar R | f2ae546 | 2021-03-01 12:52:33 +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: BARATH KUMAR R (barath.r@tataelxsi.co.in) |
| 17 | --> |
| 18 | <div class="modal-header"> |
| 19 | <h4 class="modal-title" id="modal-basic-title">{{ 'CONFIG' | translate }}</h4> |
| 20 | <button class="button-xs" type="button" class="close" aria-label="Close" (click)="activeModal.close()"> |
| 21 | <i class="fas fa-times-circle text-danger"></i> |
| 22 | </button> |
| 23 | </div> |
| 24 | <div class="modal-body modal-body-custom-height"> |
| 25 | <table class="table table-sm"> |
| 26 | <thead class="thead-dark"> |
| 27 | <tr> |
| 28 | <th scope="col">{{ 'NAME' | translate }}</th> |
| 29 | <th scope="col">{{ 'DEFAULT' | translate }}</th> |
| 30 | <th scope="col">{{ 'DESCRIPTION' | translate }}</th> |
| 31 | <th scope="col">{{ 'SOURCE' | translate }}</th> |
| 32 | <th scope="col">{{ 'TYPE' | translate }}</th> |
| 33 | <th scope="col">{{ 'VALUE' | translate }}</th> |
| 34 | </tr> |
| 35 | </thead> |
| 36 | <tbody> |
| 37 | <tr *ngFor="let configs of configData"> |
| 38 | <th scope="row">{{configs.name}}</th> |
| 39 | <td>{{configs.default ? configs.default : '-'}}</td> |
| 40 | <td>{{configs.description ? configs.description : '-'}}</td> |
| 41 | <td>{{configs.source ? configs.source : '-'}}</td> |
| 42 | <td>{{configs.type ? configs.type : '-'}}</td> |
| 43 | <td>{{configs.value ? configs.value : '-'}}</td> |
| 44 | </tr> |
| 45 | </tbody> |
| 46 | </table> |
| 47 | </div> |
| 48 | <div class="modal-footer"> |
| 49 | <button type="button" class="btn btn-danger" (click)="activeModal.close()">{{'CLOSE' | translate}}</button> |
| 50 | </div> |