Drop Nokia from file header copyright line, part 2
[portal/ric-dashboard.git] / webapp-frontend / src / app / anr-xapp / anr-xapp.component.html
1 <!--
2   ========================LICENSE_START=================================
3   O-RAN-SC
4   %%
5   Copyright (C) 2019 AT&T Intellectual Property
6   %%
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12  
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ========================LICENSE_END===================================
19 -->
20 <div class="anr__section">
21   <h3 class="anr__header">ANR xApp Neighbor Cell Relation Table</h3>
22
23   <mat-form-field class="input-width">
24     <mat-label>GgNodeB</mat-label>
25     <!-- use a native selection widget -->
26     <select matNativeControl #ggNodeB (change)="loadNcrtPage()">
27       <option value="" selected>Select..</option>
28       <option *ngFor="let g of gNodeBIds" [value]="g">{{g}}</option>
29     </select>
30   </mat-form-field>
31   <mat-form-field class="input-width input-pad-left">
32     <input matInput placeholder="Serving Cell NRCGI" #servingCellNrcgi>
33   </mat-form-field>
34   <mat-form-field class="input-width input-pad-left">
35       <input matInput placeholder="Neighbor Cell NRPCI" #neighborCellNrpci>
36   </mat-form-field>
37
38   <table mat-table class="ncr-table mat-elevation-z8" [dataSource]="dataSource" matSort>
39
40     <ng-container matColumnDef="cellIdentifierNrcgi">
41         <mat-header-cell *matHeaderCellDef mat-sort-header>Serving Cell NRCGI</mat-header-cell>
42         <mat-cell *matCellDef="let ncr">{{ncr.servingCellNrcgi}}</mat-cell>
43     </ng-container>
44
45     <ng-container matColumnDef="neighborCellNrpci">
46         <mat-header-cell *matHeaderCellDef mat-sort-header>Neighbor Cell NRPCI</mat-header-cell>
47         <mat-cell *matCellDef="let ncr">{{ncr.neighborCellNrpci}}</mat-cell>
48     </ng-container>
49  
50     <ng-container matColumnDef="neighborCellNrcgi">
51         <mat-header-cell *matHeaderCellDef mat-sort-header>Neighbor Cell NRCGI</mat-header-cell>
52         <mat-cell *matCellDef="let ncr">{{ncr.neighborCellNrcgi}}</mat-cell>
53     </ng-container>
54
55     <ng-container matColumnDef="flagNoHo">
56         <mat-header-cell *matHeaderCellDef mat-sort-header>Flag No Handover</mat-header-cell>
57         <mat-cell *matCellDef="let ncr">{{ncr.flagNoHo}}</mat-cell>
58     </ng-container>
59
60     <ng-container matColumnDef="flagNoXn">
61         <mat-header-cell *matHeaderCellDef mat-sort-header>Flag No Xn</mat-header-cell>
62         <mat-cell *matCellDef="let ncr">{{ncr.flagNoXn}}</mat-cell>
63     </ng-container>
64
65     <ng-container matColumnDef="flagNoRemove">
66         <mat-header-cell *matHeaderCellDef mat-sort-header>Flag No Remove</mat-header-cell>
67         <mat-cell *matCellDef="let ncr">{{ncr.flagNoRemove}}</mat-cell>
68     </ng-container>
69
70     <ng-container matColumnDef="action">
71       <mat-header-cell *matHeaderCellDef>Action</mat-header-cell>
72       <mat-cell class="action-cell" *matCellDef="let ncr">
73         <button mat-icon-button (click)="modifyNcr(ncr)">
74           <mat-icon>edit</mat-icon>
75         </button>
76         <button mat-icon-button color="warn" (click)="deleteNcr(ncr)">
77           <mat-icon>delete</mat-icon>
78               </button>
79             </mat-cell>
80           </ng-container>
81
82     <ng-container matColumnDef="noRecordsFound">
83       <mat-footer-cell *matFooterCellDef>No records found.</mat-footer-cell>
84     </ng-container>
85
86     <mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
87     <mat-row *matRowDef="let row; columns: displayedColumns"></mat-row>
88     <mat-footer-row *matFooterRowDef="['noRecordsFound']" [ngClass]="{'display-none': dataSource.rowCount > 0}"></mat-footer-row>
89
90   </table>
91
92   <div class="spinner-container" *ngIf="dataSource.loading$ | async">
93     <mat-spinner></mat-spinner>
94   </div>
95
96 </div>