summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.html
blob: 1c615041bf388f3f4113cf1f8b7c49cc030ca20c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!-- processor partial HTML -->
<div id="ov-processor">
    <div class="tabular-header">
        <h2>
            Packet Processors ({{tableData.length}} Processors total)
        </h2>
        <div class="ctrl-btns">
            <div class="refresh" ng-class="{active: autoRefresh}"
                 icon icon-size="36" icon-id="refresh"
                 tooltip tt-msg="autoRefreshTip"
                 ng-click="toggleRefresh()"></div>
            <!--
            <div class="separator"></div>

            <div class="current-view"
                 icon icon-id="processorTable" icon-size="36"></div>

            <div class="active"
                 icon icon-id="requestTable" icon-size="36"git sta
                 tooltip tt-msg="requestTip"
                 ng-click="nav('request')"></div>
            -->
        </div>
    </div>

    <div class="summary-list" onos-table-resize>
        <div ng-show="loading" class="loading-wheel"
             icon icon-id="loading" icon-size="75"></div>

        <div class="table-header" onos-sortable-header>
            <table>
                <tr>
                    <td class="number" colId="priority" sortable col-width="80px">Priority </td>
                    <td colId="type" sortable col-width="80px">Type </td>
                    <td colId="processor" sortable col-width="500px">Class </td>
                    <td class="number"  colId="packets" sortable col-width="100px">Packets </td>
                    <td class="number" colId="avgMillis" sortable col-width="100px">Average (ms) </td>
                </tr>
            </table>
        </div>

        <div class="table-body">
            <table onos-flash-changes id-prop="id">
                <tr ng-if="!tableData.length" class="no-data">
                    <td colspan="5">
                        No Processors found
                    </td>
                </tr>

                <tr ng-repeat="processor in tableData track by $index"
                    ng-repeat-complete row-id="{{processor.id}}">
                    <td class="number">{{processor.priority}}</td>
                    <td>{{processor.type}}</td>
                    <td>{{processor.processor}}</td>
                    <td class="number">{{processor.packets}}</td>
                    <td class="number">{{processor.avgMillis}}</td>
                </tr>
            </table>
        </div>

    </div>

</div>