Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 1 | <!-- app partial HTML --> |
| 2 | <div id="ov-app"> |
Bri Prebilic Cole | 4506938 | 2015-04-14 15:21:38 -0700 | [diff] [blame^] | 3 | <div class="tabular-header"> |
Thomas Vachuska | 619c538 | 2015-04-02 13:41:47 -0700 | [diff] [blame] | 4 | <h2>Applications ({{ctrl.tableData.length}} total)</h2> |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 5 | <div class="ctrl-btns"> |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 6 | <div icon icon-size="36" icon-id="plus"></div> |
| 7 | <div icon icon-size="36" icon-id="minus" class="disabled"></div> |
| 8 | <div icon icon-size="36" icon-id="play" class="disabled"></div> |
| 9 | <div icon icon-size="36" icon-id="stop" class="disabled"></div> |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 10 | </div> |
| 11 | </div> |
Bri Prebilic Cole | 4506938 | 2015-04-14 15:21:38 -0700 | [diff] [blame^] | 12 | |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 13 | <table class="summary-list" |
| 14 | onos-fixed-header |
| 15 | onos-sortable-header |
| 16 | sort-callback="sortCallback(requestParams)"> |
| 17 | <thead> |
| 18 | <tr> |
| 19 | <th colId="state" class="table-icon" sortable></th> |
| 20 | <th colId="id" sortable>App ID </th> |
Bri Prebilic Cole | 864cdd6 | 2015-04-02 15:46:47 -0700 | [diff] [blame] | 21 | <th colId="version" sortable>Version </th> |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 22 | <th colId="origin" sortable>Origin </th> |
Bri Prebilic Cole | 864cdd6 | 2015-04-02 15:46:47 -0700 | [diff] [blame] | 23 | <th colId="desc" col-width="400px">Description </th> |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 24 | </tr> |
| 25 | </thead> |
| 26 | |
| 27 | <tbody> |
Simon Hunt | 35d1888 | 2015-04-02 20:16:26 -0700 | [diff] [blame] | 28 | <tr ng-hide="ctrl.tableData.length"> |
| 29 | <td class="nodata" colspan="5"> |
| 30 | No Applications found |
| 31 | </td> |
| 32 | </tr> |
| 33 | |
| 34 | <tr ng-repeat="app in ctrl.tableData" |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 35 | ng-click="selectCallback($event, app)" |
Simon Hunt | 35d1888 | 2015-04-02 20:16:26 -0700 | [diff] [blame] | 36 | ng-class="{selected: app === sel}" |
| 37 | ng-repeat-done> |
| 38 | <td class="table-icon"> |
| 39 | <div icon icon-id="{{app._iconid_state}}"></div> |
| 40 | </td> |
| 41 | <td>{{app.id}}</td> |
| 42 | <td>{{app.version}}</td> |
| 43 | <td>{{app.origin}}</td> |
| 44 | <td>{{app.desc}}</td> |
| 45 | </tr> |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 46 | </tbody> |
| 47 | </table> |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 48 | </div> |