NonRT-RIC A1 Northbound API
[nonrtric.git] / sdnc-a1-controller / oam / configbackuprestore / vnfconfigbackupservice / src / main / webapp / static / views / form-applyConfig.jsp
1 <!-- /*
2    * ============LICENSE_START=======================================================
3    * ONAP : SDNC-FEATURES
4    * ================================================================================
5    * Copyright 2018 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     -->
21 <div class="ReportMain" >
22    <div class="heading"><img src="static/images/Apply.jpg" width=50 height="40"  style="margin-left:5px;">&nbsp;&nbsp;Apply Configruation</div>
23    <form name="myForm" style="background-color: #f2f2f2;padding:20px 15px;border: 1px ridge #ddd">
24     <div growl></div>
25     
26      <div class="row">
27                         <div class="column"
28                                 style="width: 20%; background-color: #f2f2f2; height: 35px; margin-left: 35px;">
29                                 <label class="labeltext">Select Avaliable VNF</label>
30                         </div>
31                         <div class="column"
32                                 style="background-color: #f2f2f2; width: 45%; height: 55px; margin-left: 0px;">
33                                 <select class="form-control" style="width: 100%; margin-top: 0px;"
34                                         name="select" ng-model="selectedValueVnf"
35                                         ng-change=selectVnf(selectedValueVnf) required>
36                                         <option ng-repeat="vnf in objvnfList" value="{{vnf.vnfId}}">VnfId-
37                                                 {{vnf.vnfId}}&nbsp;VnfName- {{vnf.vnfName}}</option>
38                                         <option value="">Select VNF</option>
39                                 </select>
40                                 <div role="alert">
41                                         <span class="error" ng-show="myForm.select.$error.required">
42                                                 Required!</span>
43                                 </div>
44                         </div>
45                 </div>
46 <br><br>
47         <div class="row" style="background-color:#f2f2f2;width:100%;margin-left:1px;height:100px" ng-show="ShowResult">  
48         <div class="column" style="width:30%;height:55px;margin-left:35px;"> 
49         <input type="file" style="width:300px" id="myFileInput" ng-model="file" accept=".json"/>
50         </div>
51         <div class="column" style="width:50%;height:55px;margin-left:10px;"> 
52         <button type="submit" class="btnapply" ng-click="submit()">Apply Config</button>
53    </div>
54    </div>
55     </form>
56 </div>
57 </body>
58 </html>