43511d17d6fdf28cf508da156ba3f887c7665a34
[dcaegen2/services.git] /
1 <!--
2 ============LICENSE_START=======================================================
3 ONAP : DataLake
4 ================================================================================
5 Copyright 2019 QCT
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
21 <div class="p-1">
22   <div class="modal-header pb-0 border-0">
23     <div class="container">
24       <div class="row">
25         <div class="col-md-12">
26           <label class="dl-h3">Search engine | Elasticsearch</label>
27         </div>
28       </div>
29
30       <div class="row">
31         <div class="col-md-12">
32           <hr>
33         </div>
34       </div>
35     </div>
36   </div>
37
38   <div class="modal-body border-0 ml-4 mr-4">
39     <div class="container">
40
41       <div class="form-group">
42         <div class="row">
43           <div class="col-md-3"><label class="dl-emphasis1" for="inputHost">Host</label></div>
44           <div class="col-md-4">
45             <input [(ngModel)]="this.tempDb.host" class="form-control dl-input-text" id="inputHost" type="text"
46               placeholder="">
47           </div>
48         </div>
49       </div>
50
51       <div class="form-group">
52         <div class="row">
53           <div class="col-md-3"><label class="dl-emphasis1" for="inputPort">Port</label></div>
54           <div class="col-md-2">
55             <input [(ngModel)]="this.tempDb.port" class="form-control dl-input-text" id="inputPort" type="text"
56               placeholder="">
57           </div>
58         </div>
59       </div>
60
61       <div class="form-group">
62         <div class="row">
63           <div class="col-md-3"><label class="dl-emphasis1" for="inputUserName">Authentication</label></div>
64           <div class="col-sm-4">
65             <input [(ngModel)]="this.tempDb.login" class="form-control dl-input-text" id="inputUserName" type="text"
66               placeholder="Username">
67           </div>
68           <div class="col-sm-4">
69             <input [(ngModel)]="this.tempDb.pass" class="form-control dl-input-text" id="inputPass" type="text"
70               placeholder="Password">
71           </div>
72         </div>
73       </div>
74
75       <div class="form-group">
76         <div class="row">
77           <div class="col-md-3"><label class="dl-emphasis1" for="inputSsl">SSL</label></div>
78           <div class="col-md-3">
79             <div class="input-group">
80               <div class="input-group-prepend">
81                 <label class="input-group-text dl-input-chk-label">
82                   <input id="chkSsl" [(ngModel)]="this.tempDb.encrypt" type="checkbox" />
83                   <span class="dl-input-checkmark"></span>
84                 </label>
85               </div>
86               <label class="form-control dl-input-chk" for="chkSsl">
87                 Enable
88               </label>
89             </div>
90           </div>
91         </div>
92       </div>
93
94     </div>
95   </div>
96
97
98   <div class="modal-footer border-0 pt-0 pb-2">
99     <div class="container">
100       <div class="row">
101         <div class="col-md-6 p-0">
102
103         </div>
104         <div class="col-md-3 p-1">
105           <span>
106             <button type="button" class="btn dl-btn-dark btn-block" (click)="this.passBack()">
107               Save
108             </button>
109           </span>
110         </div>
111         <div class="col-md-3 p-1">
112           <span>
113             <button type="button" class="btn dl-btn-light btn-block" (click)="activeModal.close('Close click')">
114               Cancel
115             </button>
116           </span>
117         </div>
118       </div>
119     </div>
120   </div>
121 </div>