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

    <div ng-show="policyNavigator.requesting">
        <div ng-include="config.tplPath + '/spinner.html'"></div>
    </div>

    <div class="alert alert-warning" ng-show="!policyNavigator.requesting && policyNavigator.fileList.length < 1 && !policyNavigator.error">
        No Policy's in Scope...
    </div>
    
    <div class="alert alert-danger" ng-show="!policyNavigator.requesting && policyNavigator.error">
        {{ policyNavigator.error }}
    </div>
</div>