2 ============LICENSE_START==================================================
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
11 http://www.apache.org/licenses/LICENSE-2.0
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====================================================
20 <table class="table mb0 table-files">
24 <a href="" ng-click="order('model.name')">
26 <span class="sortorder" ng-show="predicate[1] === 'model.name'" ng-class="{reverse:reverse}"></span>
29 <th class="hidden-sm hidden-xs">
30 <a href="" ng-click="order('model.version')">
32 <span class="sortorder" ng-show="predicate[1] === 'model.version'" ng-class="{reverse:reverse}"></span>
35 <th class="hidden-sm hidden-xs">
36 <a href="" ng-click="order('model.date')">
38 <span class="sortorder" ng-show="predicate[1] === 'model.date'" ng-class="{reverse:reverse}"></span>
41 <th class="hidden-sm hidden-xs">
42 <a href="" ng-click="order('model.createdBy')">
44 <span class="sortorder" ng-show="predicate[1] === 'model.createdBy'" ng-class="{reverse:reverse}"></span>
47 <th class="hidden-sm hidden-xs">
48 <a href="" ng-click="order('model.modifiedBy')">
50 <span class="sortorder" ng-show="predicate[1] === 'model.modifiedBy'" ng-class="{reverse:reverse}"></span>
53 <th class="hidden-sm hidden-xs">
56 <span ng-class="{reverse:reverse}"></span>
59 <!-- <th class="text-right">
60 <a>Watch Policy</a></th> -->
63 <tbody class="file-item">
64 <tr ng-show="policyNavigator.requesting">
66 <div ng-include="config.tplPath + '/spinner.html'"></div>
69 <tr ng-show="!policyNavigator.requesting && policyNavigator.fileList.length < 1 && !policyNavigator.error">
71 No Policy's in Scope...
74 <tr ng-show="!policyNavigator.requesting && policyNavigator.error">
76 {{ policyNavigator.error }}
79 <tr ng-repeat="item in policyNavigator.fileList | filter: {model:{name: query}} | orderBy:predicate:reverse" ng-show="!policyNavigator.requesting">
80 <td ng-right-click="touch(item)">
81 <a href="" ng-click="smartClick(item)" title="{{item.model.name}} ({{item.model.sizeKb()}}kb)">
82 <i class="glyphicon glyphicon-folder-close" ng-show="item.model.type === 'dir'"></i>
83 <i class="glyphicon glyphicon-file" ng-show="item.model.type === 'file'"></i>
84 {{item.model.name | strLimit : 64}}
87 <td class="hidden-xs">
88 {{item.model.version}}
90 <td class="hidden-sm hidden-xs">
91 {{item.model.date | formatDate }}
93 <td class="hidden-sm hidden-xs">
94 {{item.model.createdBy}}
96 <td class="hidden-sm hidden-xs">
97 {{item.model.modifiedBy}}
99 <td class="text-right">
100 <div ng-include="config.tplPath + '/item-toolbar.html'"></div>