CSIT Fix for SDC-2585
[sdc.git] / catalog-ui / src / app / ng2 / pages / service-path-creator / service-path-creator.component.html
1 <!--
2   ~ Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
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  
17 <div class="service-path-creator">
18         <form class="w-sdc-form">
19                 <div class="i-sdc-form-item" >
20                         <label class="i-sdc-form-label required">Flow Name</label>
21                         <input type="text" data-tests-id="pathName" name="pathName" [(ngModel)]="forwardingPath.name" [attr.maxLength]="200" />
22                 </div>
23
24                 <div class="side-by-side">
25                         <div class="i-sdc-form-item" >
26                                 <label class="i-sdc-form-label">Protocol</label>
27                                 <input type="text" data-tests-id="pathProtocol" name="protocol" [(ngModel)]="forwardingPath.protocol" [attr.maxLength]="200" />
28                         </div>
29                         <div class="i-sdc-form-item" >
30                                 <label class="i-sdc-form-label">Destination Port Numbers</label>
31                                 <input type="text" data-tests-id="pathPortNumbers" name="portNumbers" [(ngModel)]="forwardingPath.destinationPortNumber" pattern="[0-9,]*" />
32                         </div>
33                 </div>
34
35                 <div class="separator-buttons">
36                         <span class="based-on-title">Based On</span>
37                         <a (click)="addRow()" [ngClass]="{'disabled':!isExtendAllowed()}" data-tests-id="extendPathlnk">Extend Flow</a>
38                 </div>
39
40                 <div class="generic-table">
41                         <div class="header-row">
42                                 <div class="cell header-cell" *ngFor="let header of headers">
43                                         {{header}}
44                                 </div>
45                         </div>
46                         <div *ngIf="links && links.length === 0" class="no-row-text" >
47                                 There is no data to display
48                         </div>
49                         <div>
50                                 <link-row *ngFor="let link of links" [data]="linksMap" [link]="link" [removeRow]="removeRow" class="data-row" ></link-row>
51                         </div>
52                 </div>
53
54
55         </form>
56 </div>