Bri Prebilic Cole | 96f2647 | 2015-03-31 13:07:05 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2015 Open Networking Laboratory |
| 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <!-- Intent partial HTML --> |
| 18 | <div id="ov-intent"> |
Bri Prebilic Cole | 4506938 | 2015-04-14 15:21:38 -0700 | [diff] [blame] | 19 | <div class="tabular-header"> |
| 20 | <h2>Intents ({{ctrl.tableData.length}} total)</h2> |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 21 | <div class="ctrl-btns"> |
| 22 | <div class="refresh active" |
Bri Prebilic Cole | 43f17c0 | 2015-05-01 10:43:38 -0700 | [diff] [blame^] | 23 | icon icon-size="36" icon-id="refresh" |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 24 | ng-click="refresh()"></div> |
| 25 | </div> |
Bri Prebilic Cole | 4506938 | 2015-04-14 15:21:38 -0700 | [diff] [blame] | 26 | </div> |
Bri Prebilic Cole | 96f2647 | 2015-03-31 13:07:05 -0700 | [diff] [blame] | 27 | <table class="summary-list" |
| 28 | onos-fixed-header |
| 29 | onos-sortable-header |
| 30 | sort-callback="sortCallback(requestParams)"> |
| 31 | <thead> |
| 32 | <tr> |
| 33 | <th colId="appId" sortable>Application ID </th> |
| 34 | <th colId="key" sortable>Key </th> |
| 35 | <th colId="type" sortable>Type </th> |
| 36 | <th colId="priority" sortable>Priority </th> |
| 37 | </tr> |
| 38 | </thead> |
| 39 | |
| 40 | <tbody> |
Simon Hunt | 0c2c4c5 | 2015-04-02 17:42:45 -0700 | [diff] [blame] | 41 | <tr ng-hide="ctrl.tableData.length"> |
| 42 | <td class="nodata" colspan="4"> |
| 43 | No Intents found |
| 44 | </td> |
| 45 | </tr> |
| 46 | |
| 47 | <tr ng-repeat-start="intent in ctrl.tableData"> |
| 48 | <td>{{intent.appId}}</td> |
| 49 | <td>{{intent.key}}</td> |
| 50 | <td>{{intent.type}}</td> |
| 51 | <td>{{intent.priority}}</td> |
| 52 | </tr> |
| 53 | <tr> |
| 54 | <td class="resources" colspan="4">{{intent.resources}}</td> |
| 55 | </tr> |
| 56 | <tr ng-repeat-end ng-repeat-done> |
| 57 | <td class="details" colspan="4">{{intent.details}}</td> |
| 58 | </tr> |
Bri Prebilic Cole | 96f2647 | 2015-03-31 13:07:05 -0700 | [diff] [blame] | 59 | </tbody> |
| 60 | </table> |
Bri Prebilic Cole | 96f2647 | 2015-03-31 13:07:05 -0700 | [diff] [blame] | 61 | </div> |