blob: c065285c9af2e834ea6e6a0968300931c89fecd0 [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">
Bri Prebilic Cole41d67652015-06-02 10:23:04 -070022 <div class="refresh" ng-class="{active: autoRefresh}"
Bri Prebilic Cole43f17c02015-05-01 10:43:38 -070023 icon icon-size="36" icon-id="refresh"
Bri Prebilic Coleeef67ae2015-07-01 16:26:59 -070024 tooltip tt-msg="autoRefreshTip"
Bri Prebilic Cole41d67652015-06-02 10:23:04 -070025 ng-click="toggleRefresh()"></div>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070026 </div>
Bri Prebilic Cole45069382015-04-14 15:21:38 -070027 </div>
Bri Prebilic Cole96f26472015-03-31 13:07:05 -070028
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070029 <div class="summary-list" onos-table-resize>
Simon Hunt0c2c4c52015-04-02 17:42:45 -070030
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070031 <div class="table-header"
Bri Prebilic Colebfab9c72015-06-01 14:33:18 -070032 onos-sortable-header
33 sort-params="sortParams"
34 sort-callback="sortCallback(sortParams)">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070035 <table>
36 <tr>
37 <td colId="appId" sortable>Application ID </td>
38 <td colId="key" sortable>Key </td>
39 <td colId="type" sortable>Type </td>
40 <td colId="priority" sortable>Priority </td>
Thomas Vachuskad8b07892015-05-27 16:56:45 -070041 <td colId="state" sortable>State </td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070042 </tr>
43 </table>
44 </div>
45
46 <div class="table-body">
47 <table>
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070048 <tr ng-if="!tableData.length" class="no-data">
Thomas Vachuskad8b07892015-05-27 16:56:45 -070049 <td colspan="5">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070050 No Intents found
51 </td>
52 </tr>
53
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070054 <tr ng-repeat-start="intent in tableData track by $index">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070055 <td>{{intent.appId}}</td>
56 <td>{{intent.key}}</td>
57 <td>{{intent.type}}</td>
58 <td>{{intent.priority}}</td>
Thomas Vachuskad8b07892015-05-27 16:56:45 -070059 <td>{{intent.state}}</td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070060 </tr>
61 <tr>
Thomas Vachuskad8b07892015-05-27 16:56:45 -070062 <td class="resources" colspan="5">{{intent.resources}}</td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070063 </tr>
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070064 <tr ng-repeat-end>
Thomas Vachuskad8b07892015-05-27 16:56:45 -070065 <td class="details" colspan="5">{{intent.details}}</td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070066 </tr>
67 </table>
68 </div>
69
70 </div>
71
Bri Prebilic Cole96f26472015-03-31 13:07:05 -070072</div>