blob: 85ac08511069e4b9d6bbf589257f4f3e206d6a61 [file] [log] [blame]
Bri Prebilic Cole96f26472015-03-31 13:07:05 -07001<!--
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 Cole864cdd62015-04-02 15:46:47 -070019 <h2>Intents ({{ctrl.tableData.length}} total)</h2>
Bri Prebilic Cole96f26472015-03-31 13:07:05 -070020 <table class="summary-list"
21 onos-fixed-header
22 onos-sortable-header
23 sort-callback="sortCallback(requestParams)">
24 <thead>
25 <tr>
26 <th colId="appId" sortable>Application ID </th>
27 <th colId="key" sortable>Key </th>
28 <th colId="type" sortable>Type </th>
29 <th colId="priority" sortable>Priority </th>
30 </tr>
31 </thead>
32
33 <tbody>
Simon Hunt0c2c4c52015-04-02 17:42:45 -070034 <tr ng-hide="ctrl.tableData.length">
35 <td class="nodata" colspan="4">
36 No Intents found
37 </td>
38 </tr>
39
40 <tr ng-repeat-start="intent in ctrl.tableData">
41 <td>{{intent.appId}}</td>
42 <td>{{intent.key}}</td>
43 <td>{{intent.type}}</td>
44 <td>{{intent.priority}}</td>
45 </tr>
46 <tr>
47 <td class="resources" colspan="4">{{intent.resources}}</td>
48 </tr>
49 <tr ng-repeat-end ng-repeat-done>
50 <td class="details" colspan="4">{{intent.details}}</td>
51 </tr>
Bri Prebilic Cole96f26472015-03-31 13:07:05 -070052 </tbody>
53 </table>
54
55</div>