2 ========================LICENSE_START=================================
5 Copyright (C) 2019 AT&T Intellectual Property and Nokia
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
11 http://www.apache.org/licenses/LICENSE-2.0
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===================================
21 <div mat-dialog-title>
22 Edit Neighbor Cell Relation
25 <form [formGroup]="ncrDialogForm" novalidate autocomplete="off" (ngSubmit)="modifyNcr(ncrDialogForm.value)">
26 <div mat-dialog-content>
27 <mat-form-field class="input-display-block">
28 <input matInput readonly type="text" placeholder="Serving cell NRCGI" formControlName="servingCellNrcgi">
30 <mat-form-field class="input-display-block">
31 <input matInput readonly type="text" placeholder="Neighbor cell NRPCI" formControlName="neighborCellNrpci">
33 <mat-form-field class="input-display-block">
34 <input matInput type="text" placeholder="Neighbor cell NRCGI" formControlName="neighborCellNrcgi">
35 <mat-hint align="end">Example: A12345</mat-hint>
36 <mat-error *ngIf="validateControl('neighborCellNrcgi') && hasError('neighborCellNrcgi', 'required')">Neighbor cell identifier is required</mat-error>
37 <mat-error *ngIf="hasError('neighborCellNrcgi', 'pattern')">Valid NRCGI is required</mat-error>
40 <mat-checkbox formControlName="flagNoHo">Flag No Handover</mat-checkbox>
43 <mat-checkbox formControlName="flagNoXn">Flag No Xn</mat-checkbox>
45 <div name="flagNoRemove">
46 <mat-checkbox formControlName="flagNoRemove">Flag No Remove</mat-checkbox>
49 <div mat-dialog-actions class="modal-footer justify-content-center">
50 <button class="mat-raised-button" (click)="onCancel()">Cancel</button>
51 <button class="mat-raised-button mat-primary" [disabled]="!ncrDialogForm.valid">Save</button>