New VIM Design with the config implemented.
[osm/NG-UI.git] / src / app / vim-accounts / info-vim / InfoVimComponent.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">{{'PAGE.VIMDETAILS.VIMACCOUNTDETAILS' | translate}}</div>
20 </div>
21 <div class="context-style bg-white mt-2 vim-details">
22 <div class="row">
23 <div class="col-sm-6 text-dark mb-2 font-weight-bold" *ngFor="let details of vimDetails">
24 <label class="col-sm-5 col-form-label">{{ details.title | translate}}</label>
25 <span class="col-sm-5">{{details.value}}</span>
26 </div>
27 </div>
28 </div>
29 <div class="col-12">
30 <button type="button" class="btn btn-block border-0 bg-light text-dark" (click)="isCollapsed = !isCollapsed"
31 [attr.aria-expanded]="!isCollapsed">
32 {{'PAGE.VIMDETAILS.CONFIGPARAMETERS' | translate}}
33 </button>
34 </div>
35 <div id="demo" class="collapse context-style p-2" [ngbCollapse]="isCollapsed">
36 <div class="row">
37 <div class="col-sm-6 text-dark mb-2 font-weight-bold" *ngFor="let details of configParams | keyvalue">
38 <label class="col-sm-5 col-form-label text-captilize">{{ details.key}}:</label>
39 <span class="col-sm-5">{{(details.value !== null && details.value !== '' && details.value !== undefined)?details.value : '--'}}</span>
40 </div>
41 </div>
42 </div>
43 <div class="modal-footer list border-0">
44 <button (click)="onVimAccountBack()"
45 class="btn btn-danger pull-right">{{'PAGE.VIMDETAILS.BACKTOVIMACCOUNTS' | translate}}</button>
46 </div>
47 <app-loader [waitingMessage]="message" *ngIf="isLoadingResults"></app-loader>