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