blob: 06494ed9dc3f79201bf2859674eb62a2b016d950 [file] [log] [blame]
chengfanc5a99dc2017-01-08 19:28:29 +08001<!-- Partition partial HTML -->
2<div id="ov-partition">
3 <div class="tabular-header">
4 <h2>Partitions ({{tableData.length}} total)</h2>
5 <div class="ctrl-btns">
6 <div class="refresh" ng-class="{active: autoRefresh}"
7 icon icon-id="refresh" icon-size="42"
8 tooltip tt-msg="autoRefreshTip"
9 ng-click="toggleRefresh()"></div>
10 </div>
11 </div>
12
13 <div class="summary-list" onos-table-resize>
14 <div class="table-header" onos-sortable-header>
15 <table>
16 <tr>
17 <td colId="name" col-width="100px" sortable>Name </td>
18 <td colId="term" col-width="100px" sortable>Term </td>
19 <td colId="leader" col-width="200px" sortable>Leader </td>
20 <td colId="members" >Members </td>
21 </tr>
22 </table>
23 </div>
24
25 <div class="table-body">
26 <table onos-flash-changes id-prop="name">
27 <tr ng-if="!tableData.length" class="no-data">
28 <td colspan="4">
29 {{annots.no_rows_msg}}
30 </td>
31 </tr>
32
33 <tr ng-repeat="partition in tableData track by $index"
34 ng-class="{selected: partition.name === selId}"
35 ng-repeat-complete row-id="{{partition.name}}">
36 <td>{{partition.name}}</td>
37 <td>{{partition.term}}</td>
38 <td>{{partition.leader}}</td>
39 <td>{{partition.members}}</td>
40 </tr>
41 </table>
42 </div>
43 </div>
44</div>