14a0b66680448eb5232c74630e4030cd63238acf
[ccsdk/cds.git] /
1 <!--/*
2 * ============LICENSE_START=======================================================
3 * ONAP : CDS
4 * ================================================================================
5 * Copyright (C) 2020 TechMahindra
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="row">
21   <!--Sources Options-->
22   <div class="col-3">
23     <div class="card sourceOptions">
24       <h5>Sources Options</h5>
25       <div class="searchBox">
26         <input class="searchText" [(ngModel)]="searchText" type="input" placeholder="Search">
27       </div>
28       <div class="row sourceOtionsScroll">
29         <div class="col">
30           <div class="sourceOption" *ngFor="let item of option| search :searchText">
31             <!-- <input type="checkbox" class="checkbox" [(ngModel)]="checked"
32               (change)="onChange(item, $event.target.checked)">
33             {{item.name}} -->
34             <div class="custom-control custom-checkbox">
35               <input type="checkbox" class="custom-control-input" id="customControlValidation1" required>
36               <label class="custom-control-label" for="customControlValidation1">{{item.name}}</label>
37             </div>
38           </div>
39         </div>
40       </div>
41       <div class="row sourceOptionActions">
42         <div class="col">
43           <a>Select all</a>
44         </div>
45         <div class="col">
46           <button class="btn">Add to list</button>
47         </div>
48       </div>
49     </div>
50   </div>
51   <!--Sources List-->
52   <div class="col-9">
53     <div class="card sourceList">
54       <h5>Sources List</h5>
55
56       <div class="accordion sourceListItems" id="accordionExample">
57         <div class="card">
58           <div class="card-header" id="headingOne">
59             <h2 class="mb-0">
60               <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseOne"
61                 aria-expanded="true" aria-controls="collapseOne">
62                 <div class="custom-control custom-checkbox">
63                   <input type="checkbox" class="custom-control-input" id="customControlValidation1" required>
64                   <label class="custom-control-label" for="customControlValidation1"></label>
65                 </div>
66                 Collapsible Group Item #1
67               </button>
68             </h2>
69           </div>
70
71           <div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordionExample">
72             <div class="card-body">
73               Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf
74               moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.
75               Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda
76               shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea
77               proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim
78               aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
79             </div>
80           </div>
81         </div>
82         <div class="card">
83           <div class="card-header" id="headingTwo">
84             <h2 class="mb-0">
85               <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo"
86                 aria-expanded="false" aria-controls="collapseTwo">
87                 Collapsible Group Item #2
88               </button>
89             </h2>
90           </div>
91           <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionExample">
92             <div class="card-body">
93               Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf
94               moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.
95               Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda
96               shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea
97               proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim
98               aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
99             </div>
100           </div>
101         </div>
102         <div class="card">
103           <div class="card-header" id="headingThree">
104             <h2 class="mb-0">
105               <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseThree"
106                 aria-expanded="false" aria-controls="collapseThree">
107                 Collapsible Group Item #3
108               </button>
109             </h2>
110           </div>
111           <div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
112             <div class="card-body">
113               Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf
114               moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.
115               Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda
116               shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea
117               proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim
118               aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
119             </div>
120           </div>
121         </div>
122       </div>
123
124       <!-- <div cdkDropList #doneList="cdkDropList" [cdkDropListData]="sourcesOptions" [cdkDropListConnectedTo]="[todoList]"
125         class="example-list1 sourceListScroll" (cdkDropListDropped)="drop($event)">
126         <div class="example-box1" *ngFor="let item of sourcesOptions" cdkDrag>
127           <input type="checkbox" value="item.name">
128           <mat-expansion-panel class="expansion-panel">
129             <mat-expansion-panel-header [collapsedHeight]="'23px'" [expandedHeight]="'23px'">
130               <mat-panel-title>
131                 {{item.name}}
132               </mat-panel-title>
133             </mat-expansion-panel-header>
134             <br>
135             <ace-editor [(text)]=item.value [mode]="'javascript'" [autoUpdateContent]="true"
136               [durationBeforeCallback]="1000" (textChanged)="textChanged($event,item)" [theme]="'tomorrow_night_bright'"
137               #editor style="height:300px;">
138             </ace-editor>
139           </mat-expansion-panel>
140         </div>
141       </div> -->
142       <div class="row deleteSource">
143         <div class="col">
144           <a type="submit" class="">Delete Source</a>
145         </div>
146       </div>
147     </div>
148   </div>
149 </div>