Re-commit flow, port statistics per code review
[dlux.git] / src / app / node / index.tpl.html
1 <!--<ctrl-reload service="svc"></ctrl-reload>
2 <span>Selected: {{numberSelectedItems}}</span>-->
3 <!--<div class="indexGrid" ng-grid="gridOptions"></div>-->
4
5 <!--<a class="btn btn-info add-row" href="index.html#/node/create">
6     Add New Node
7 </a>-->
8 <div class="form-group searchDiv">
9     <input class="form-control" ng-model="nodeSearch.id" placeholder="{{'SEARCH_NODES' | translate}}">
10 </div>
11 <table class="footable table" data-page-size="5">
12         <thead>
13
14       <tr>
15         <th>{{ 'NODE_ID' | translate }}</th>
16         <th data-hide="phone">{{ 'NODE_NAME' | translate }}</th>
17         <th>{{ 'NODE_CONNECTORS' | translate }}</th>
18         <th>{{ 'STATISTICS' | translate }}</th>
19       </tr>
20         </thead>
21         <tbody>
22             <tr ng-hide="data.length"><td colspan="3" class="centerAlign">{{ 'NO_DATA_FOUND' | translate }}</td></tr>
23                 <tr ng-repeat="item in data | filter:{id:'!config'} | filter:nodeSearch" node-table>
24         <td tooltip="{{item['flow-node-inventory:description']}}">{{item.id}}</td>
25         <td>{{item['flow-node-inventory:description']}}</td>
26         <td><a href="index.html#/node/{{item.id}}/detail">{{item['node-connector'].length}}</a></td>
27         <td>
28           <span ng-show="item.id!='controller-config'">
29             <a href="index.html#/node/{{item.id}}/flow-stat">{{ 'FLOWS' | translate }}</a>
30             <a href="index.html#/node/{{item.id}}/port-stat">{{ 'NODE_CONNECTORS' | translate }}</a>
31           </span>
32         </td>
33         <!--<td>
34                 <a class="row-delete" href="#">
35                         <i class="icon-remove"></i>
36                         </a>
37                 </td>-->
38       </tr>
39         </tbody>
40     <tfoot class="hide-if-no-paging">
41       <tr>
42         <td colspan="3">
43           <div class="pagination pagination-centered"></div>
44         </td>
45       </tr>
46     </tfoot>
47 </table>