Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 1 | <!-- app partial HTML --> |
| 2 | <div id="ov-app"> |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 3 | <div> |
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"> |
| 6 | <div icon icon-size="36" icon-id="appPlus"></div> |
Thomas Vachuska | 619c538 | 2015-04-02 13:41:47 -0700 | [diff] [blame^] | 7 | <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 Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 10 | </div> |
| 11 | </div> |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 12 | <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 Cole | 864cdd6 | 2015-04-02 15:46:47 -0700 | [diff] [blame] | 20 | <th colId="version" sortable>Version </th> |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 21 | <th colId="origin" sortable>Origin </th> |
Bri Prebilic Cole | 864cdd6 | 2015-04-02 15:46:47 -0700 | [diff] [blame] | 22 | <th colId="desc" col-width="400px">Description </th> |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 23 | </tr> |
| 24 | </thead> |
| 25 | |
| 26 | <tbody> |
Thomas Vachuska | 619c538 | 2015-04-02 13:41:47 -0700 | [diff] [blame^] | 27 | <tr ng-repeat="app in ctrl.tableData" |
| 28 | ng-click="selectCallback(app)" |
| 29 | ng-class="{selected: app === sel}" |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 30 | ng-repeat-done> |
| 31 | <td class="table-icon"> |
| 32 | <div icon icon-id="{{app._iconid_state}}"></div> |
| 33 | </td> |
| 34 | <td>{{app.id}}</td> |
| 35 | <td>{{app.version}}</td> |
| 36 | <td>{{app.origin}}</td> |
| 37 | <td>{{app.desc}}</td> |
| 38 | </tr> |
| 39 | </tbody> |
| 40 | </table> |
| 41 | |
| 42 | </div> |