Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / policyApp / policy-models / Editor / PolicyTemplates / DescribePolicyTemplate.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 <div class="modal animated fadeIn" id="describePolicy" ng-app = "abs"  style="margin-bottom: 20px; width: 100%" ng-class="{'modal-fullscreen': fullscreen}" data-toggle="modal" data-backdrop="static" data-keyboard="false">
22   <div class="modal__informative font-showcase" style="width:80%;">
23     <div class="modal-content">   
24         <form>
25             <div class="modal-header">
26               <button type="button" class="close" data-dismiss="modal">
27                   <span aria-hidden="true">&times;</span>
28                   <span class="sr-only">{{"close" | translate}}</span>
29               </button>
30               <button type="button" class="close mr5" ng-click="fullscreen=!fullscreen">
31                   <span>&loz;</span>
32                   <span class="sr-only">{{'toggle_fullscreen' | translate}}</span>
33               </button>
34               <h4 class="modal-title">Describe Policy</h4>
35             </div>
36             <div class="modal-body">
37             <div ng-bind-html="temp.tempModel.content"></div>
38             <div>
39              <span class="label label-warning" ng-show="temp.inprocess">{{'loading' | translate}} ...</span>
40                 <div ng-show="!temp.inprocess" autofocus="autofocus"></div>
41                 <div ng-include data-src="'error-bar'" class="clearfix"></div>
42             </div>    
43             </div>
44             <div class="modal-footer">
45               <button type="button" class="btn btn-default" data-dismiss="modal" ng-disabled="temp.inprocess">{{'close' | translate}}</button>
46             </div>
47         </form>
48     </div>
49   </div>
50 </div>