53a305b4529fda913534a29c113f9e88df371ab7
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / policy-models / Editor / templates / main-icons.html
1 <div class="iconset clearfix">
2     <div class="col-120" ng-repeat="item in policyNavigator.fileList | filter: query | orderBy: orderProp" ng-show="!policyNavigator.requesting && !policyNavigator.error">
3         <a href="" class="thumbnail text-center" ng-click="smartClick(item)" ng-right-click="touch(item)" title="{{item.model.name}} ({{item.model.sizeKb()}}kb)">
4             <div class="item-icon">
5                 <i class="glyphicon glyphicon-folder-open" ng-show="item.model.type === 'dir'"></i>
6                 <i class="glyphicon glyphicon-file" ng-show="item.model.type === 'file'"></i>
7             </div>
8             {{item.model.name | strLimit : 11 }}
9         </a>
10     </div>
11
12     <div ng-show="policyNavigator.requesting">
13         <div ng-include="config.tplPath + '/spinner.html'"></div>
14     </div>
15
16     <div class="alert alert-warning" ng-show="!policyNavigator.requesting && policyNavigator.fileList.length < 1 && !policyNavigator.error">
17         No Policy's in Scope...
18     </div>
19     
20     <div class="alert alert-danger" ng-show="!policyNavigator.requesting && policyNavigator.error">
21         {{ policyNavigator.error }}
22     </div>
23 </div>