Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / policyApp / Windows / Dictionary / SafePolicyWarningDictionary.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_SafePolicyWarning_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>Enter Safe Policy Warning Name:<sup><b>*</b></sup></label><br>
30                 <input type="text" ng-model="editSafePolicyWarning.name" style="width:500px;"/>
31             </div>
32                         </br>
33             <div>
34                 <label>Message:</label><br>
35                 <input type="text" ng-model="editSafePolicyWarning.message" style="width:500px;"/>
36             </div>
37                         </br>
38                         <div class="fn-ebz-container" >
39                          <label>Policy Scope Type:<sup><b>*</b></sup></label><br>
40                  <select class="form-field" style="width:400px;"  ng-model="editSafePolicyWarning.riskType"  ng-options="option for option in riskTypeDictionaryDatas track by option"></select>
41                 </div>
42                         </br>
43         </div>
44         <div class="modal__footer">
45             <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveSafePolicyWarning(editSafePolicyWarning);">Save</button>
46             <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button>
47         </div>
48     </div>
49 </script>