blob: c484901f59ad478f530ff67d85fc847d5bc1930c [file] [log] [blame]
Thomas Vachuska0fa583c2015-03-30 23:07:41 -07001<!-- app partial HTML -->
2<div id="ov-app">
Simon Hunt3695a622015-03-31 11:52:23 -07003 <div>
Thomas Vachuska619c5382015-04-02 13:41:47 -07004 <h2>Applications ({{ctrl.tableData.length}} total)</h2>
Simon Hunt3695a622015-03-31 11:52:23 -07005 <div class="ctrl-btns">
6 <div icon icon-size="36" icon-id="appPlus"></div>
Thomas Vachuska619c5382015-04-02 13:41:47 -07007 <div icon icon-size="36" icon-id="appMinus" class="disabled"></div>
8 <div icon icon-size="36" icon-id="appPlay" class="disabled"></div>
9 <div icon icon-size="36" icon-id="appStop" class="disabled"></div>
Simon Hunt3695a622015-03-31 11:52:23 -070010 </div>
11 </div>
Thomas Vachuska0fa583c2015-03-30 23:07:41 -070012 <table class="summary-list"
13 onos-fixed-header
14 onos-sortable-header
15 sort-callback="sortCallback(requestParams)">
16 <thead>
17 <tr>
18 <th colId="state" class="table-icon" sortable></th>
19 <th colId="id" sortable>App ID </th>
Bri Prebilic Cole864cdd62015-04-02 15:46:47 -070020 <th colId="version" sortable>Version </th>
Thomas Vachuska0fa583c2015-03-30 23:07:41 -070021 <th colId="origin" sortable>Origin </th>
Bri Prebilic Cole864cdd62015-04-02 15:46:47 -070022 <th colId="desc" col-width="400px">Description </th>
Thomas Vachuska0fa583c2015-03-30 23:07:41 -070023 </tr>
24 </thead>
25
26 <tbody>
Simon Hunt35d18882015-04-02 20:16:26 -070027 <tr ng-hide="ctrl.tableData.length">
28 <td class="nodata" colspan="5">
29 No Applications found
30 </td>
31 </tr>
32
33 <tr ng-repeat="app in ctrl.tableData"
34 ng-click="selectCallback(app)"
35 ng-class="{selected: app === sel}"
36 ng-repeat-done>
37 <td class="table-icon">
38 <div icon icon-id="{{app._iconid_state}}"></div>
39 </td>
40 <td>{{app.id}}</td>
41 <td>{{app.version}}</td>
42 <td>{{app.origin}}</td>
43 <td>{{app.desc}}</td>
44 </tr>
Thomas Vachuska0fa583c2015-03-30 23:07:41 -070045 </tbody>
46 </table>
47
48</div>