Add license to policy-engine files
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / policy-models / Editor / templates / main-icons.html
1 <!--
2   ============LICENSE_START==================================================
3   ONAP Policy Engine
4   ===========================================================================
5   Copyright (C) 2017-2018 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 <div class="iconset clearfix">
21     <div class="col-120" ng-repeat="item in policyNavigator.fileList | filter: query | orderBy: orderProp" ng-show="!policyNavigator.requesting && !policyNavigator.error">
22         <a href="" class="thumbnail text-center" ng-click="smartClick(item)" ng-right-click="touch(item)" title="{{item.model.name}} ({{item.model.sizeKb()}}kb)">
23             <div class="item-icon">
24                 <i class="glyphicon glyphicon-folder-open" ng-show="item.model.type === 'dir'"></i>
25                 <i class="glyphicon glyphicon-file" ng-show="item.model.type === 'file'"></i>
26             </div>
27             {{item.model.name | strLimit : 11 }}
28         </a>
29     </div>
30
31     <div ng-show="policyNavigator.requesting">
32         <div ng-include="config.tplPath + '/spinner.html'"></div>
33     </div>
34
35     <div class="alert alert-warning" ng-show="!policyNavigator.requesting && policyNavigator.fileList.length < 1 && !policyNavigator.error">
36         No Policy's in Scope...
37     </div>
38     
39     <div class="alert alert-danger" ng-show="!policyNavigator.requesting && policyNavigator.error">
40         {{ policyNavigator.error }}
41     </div>
42 </div>