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