Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / policyApp / Windows / Dictionary / CLPepOptionsDictionary.html
1 <!--
2   ============LICENSE_START=======================================================
3   ECOMP Policy Engine
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
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 <script type="text/ng-template" id="add_PEPOptions_popup.html">
22     <div class="modal__informative font-showcase" style="width:800px;">
23         <div class="modal__header">
24             <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2>
25         </div>
26         <div class="divider-container"><hr> </div>
27         <div class="modal__content">
28             <div>
29                 <label>PEP Name:<sup><b>*</b></sup></label><br>
30                 <input type="text" ng-model="editPEPOptions.pepName" style="width:500px;"/>
31             </div>
32             <br/>
33             <div>
34                 <label>Description:</label><br>
35                 <input type="text"  ng-model="editPEPOptions.description" style="width:500px;"/>
36             </div>
37            <br/>
38           <div>
39             <label>Actions:</label><br>
40              <form  method="post" class="form-horizontal" >
41                         <div class="form-group">
42                                 <div class="col-xs-1">
43                                 <button type="button" class="btn btn-default"  ng-click="addNewChoice()"><i class="fa fa-plus"></i></button>
44                                 </div>
45                         </div>
46                         <div  data-ng-repeat="choice in choices" class="form-horizontal" >              
47                                 <div  class="fn-ebz-container">
48                                 <input type="text" class="form-field"  ng-model= "choice.option" />
49                                 </div>
50                                 <div  class="fn-ebz-container">
51                                 <input type="text" class="form-field"  ng-model= "choice.number" />
52                                 </div>
53                                 <div  class="fn-ebz-container">
54                                 <button type="button" class="btn btn-default"  ng-show="$last" ng-click="removeChoice()"><i class="fa fa-minus"></i></button>
55                                 </div>
56                         </div>
57                 </form> 
58                 </div> 
59         </div>
60         <div class="modal__footer">
61             <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveCLPepOptions(editPEPOptions);">Save</button>
62             <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button>
63         </div>
64     </div>
65 </script>