summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/gui/src/main/webapp/app/view/settings/settings.html
blob: 610810176e4cc85e83ad6acfc94b361666534eb5 (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
<!-- settings partial HTML -->
<div id="ov-settings">
    <div class="tabular-header">
        <h2>Component Settings ({{tableData.length}} 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>
    </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 colId="component" sortable col-width="300px">Component </td>
                    <td colId="id" sortable>Property </td>
                    <td colId="type" sortable col-width="70px">Type </td>
                    <td colId="value" sortable>Value </td>
                    <td colId="defValue" sortable>Default </td>
                    <td colId="desc" col-width="400px">Description </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="6">
                        No Settings found
                    </td>
                </tr>

                <tr ng-repeat="prop in tableData track by $index"
                    ng-repeat-complete row-id="{{prop.id}}">
                    <td>{{prop.component}}</td>
                    <td>{{prop.id}}</td>
                    <td>{{prop.type}}</td>
                    <td>{{prop.value}}</td>
                    <td>{{prop.defValue}}</td>
                    <td>{{prop.desc}}</td>
                </tr>
            </table>
        </div>

    </div>

</div>