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"> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 4 | <h2>Applications ({{tableData.length}} total)</h2> |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 5 | <div class="ctrl-btns"> |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 6 | <div class="refresh active" |
Bri Prebilic Cole | 43f17c0 | 2015-05-01 10:43:38 -0700 | [diff] [blame] | 7 | icon icon-size="36" icon-id="refresh" |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 8 | ng-click="refresh()"></div> |
| 9 | <div class="separator"></div> |
Thomas Vachuska | a7a0f56 | 2015-04-14 23:27:44 -0700 | [diff] [blame] | 10 | <div id="app-install" icon icon-size="36" icon-id="plus" class="active"></div> |
| 11 | <div id="app-activate" icon icon-size="36" icon-id="play"></div> |
| 12 | <div id="app-deactivate" icon icon-size="36" icon-id="stop"></div> |
| 13 | <div id="app-uninstall" icon icon-size="36" icon-id="minus"></div> |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 14 | </div> |
Thomas Vachuska | a7a0f56 | 2015-04-14 23:27:44 -0700 | [diff] [blame] | 15 | |
Thomas Vachuska | 530e52a | 2015-05-06 19:51:32 -0700 | [diff] [blame^] | 16 | <form id="app-form" method="POST" action="rs/applications/upload" |
| 17 | target="app-form-response" enctype="multipart/form-data" style="display:none"> |
| 18 | <input type="file" name="file" id="file" size="50" accept=".oar"> |
Thomas Vachuska | a7a0f56 | 2015-04-14 23:27:44 -0700 | [diff] [blame] | 19 | <button type="submit" id="app-upload">Upload</button> |
| 20 | </form> |
Thomas Vachuska | 530e52a | 2015-05-06 19:51:32 -0700 | [diff] [blame^] | 21 | <iframe id="app-form-response" name="app-form-response" |
| 22 | src="" width="0" height="0" style="visibility:hidden;display:none"></iframe> |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 23 | </div> |
Bri Prebilic Cole | 4506938 | 2015-04-14 15:21:38 -0700 | [diff] [blame] | 24 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 25 | <div class="summary-list" onos-fixed-header> |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 26 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 27 | <div class="table-header" |
| 28 | onos-sortable-header sort-callback="sortCallback(requestParams)"> |
| 29 | <table> |
| 30 | <tr> |
| 31 | <td colId="state" class="table-icon" sortable></td> |
| 32 | <td colId="id" sortable>App ID </td> |
| 33 | <td colId="version" sortable>Version </td> |
| 34 | <td colId="origin" sortable>Origin </td> |
| 35 | <td colId="desc" col-width="475px">Description </td> |
| 36 | </tr> |
| 37 | </table> |
| 38 | </div> |
Simon Hunt | 35d1888 | 2015-04-02 20:16:26 -0700 | [diff] [blame] | 39 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 40 | <div class="table-body"> |
| 41 | <table> |
| 42 | <tr ng-hide="tableData.length" class="no-data ignore-width"> |
| 43 | <td colspan="5"> |
| 44 | No Applications found |
| 45 | </td> |
| 46 | </tr> |
| 47 | |
| 48 | <tr ng-repeat="app in tableData" |
| 49 | ng-click="selectCallback($event, app)" |
| 50 | ng-class="{selected: app === sel}" |
| 51 | ng-repeat-done> |
| 52 | <td class="table-icon"> |
| 53 | <div icon icon-id="{{app._iconid_state}}"></div> |
| 54 | </td> |
| 55 | <td>{{app.id}}</td> |
| 56 | <td>{{app.version}}</td> |
| 57 | <td>{{app.origin}}</td> |
| 58 | <td>{{app.desc}}</td> |
| 59 | </tr> |
| 60 | </table> |
| 61 | </div> |
| 62 | |
| 63 | </div> |
| 64 | |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 65 | </div> |