blob: c33df85a5887425b47b0dbb256114d876c350e93 [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">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070020 <h2>Intents ({{tableData.length}} total)</h2>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070021 <div class="ctrl-btns">
22 <div class="refresh active"
Bri Prebilic Cole43f17c02015-05-01 10:43:38 -070023 icon icon-size="36" icon-id="refresh"
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070024 ng-click="refresh()"></div>
25 </div>
Bri Prebilic Cole45069382015-04-14 15:21:38 -070026 </div>
Bri Prebilic Cole96f26472015-03-31 13:07:05 -070027
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070028 <div class="summary-list" onos-fixed-header>
Simon Hunt0c2c4c52015-04-02 17:42:45 -070029
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070030 <div class="table-header"
31 onos-sortable-header sort-callback="sortCallback(requestParams)">
32 <table>
33 <tr>
34 <td colId="appId" sortable>Application ID </td>
35 <td colId="key" sortable>Key </td>
36 <td colId="type" sortable>Type </td>
37 <td colId="priority" sortable>Priority </td>
38 </tr>
39 </table>
40 </div>
41
42 <div class="table-body">
43 <table>
44 <tr ng-hide="tableData.length" class="no-data ignore-width">
45 <td colspan="4">
46 No Intents found
47 </td>
48 </tr>
49
50 <tr ng-repeat-start="intent in tableData">
51 <td>{{intent.appId}}</td>
52 <td>{{intent.key}}</td>
53 <td>{{intent.type}}</td>
54 <td>{{intent.priority}}</td>
55 </tr>
56 <tr>
57 <td class="resources" colspan="4">{{intent.resources}}</td>
58 </tr>
59 <tr ng-repeat-end ng-repeat-done>
60 <td class="details" colspan="4">{{intent.details}}</td>
61 </tr>
62 </table>
63 </div>
64
65 </div>
66
Bri Prebilic Cole96f26472015-03-31 13:07:05 -070067</div>