blob: 8e2361735b69170b5bdade5f543291a881385040 [file] [log] [blame]
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -07001<!-- settings partial HTML -->
2<div id="ov-settings">
3 <div class="tabular-header">
4 <h2>Component Settings ({{tableData.length}} total)</h2>
5 <div class="ctrl-btns">
Bri Prebilic Cole41d67652015-06-02 10:23:04 -07006 <div class="refresh" ng-class="{active: autoRefresh}"
Simon Hunt5487ce72016-06-06 15:31:10 -07007 icon icon-size="42" icon-id="refresh"
Bri Prebilic Coleeef67ae2015-07-01 16:26:59 -07008 tooltip tt-msg="autoRefreshTip"
Bri Prebilic Cole41d67652015-06-02 10:23:04 -07009 ng-click="toggleRefresh()"></div>
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -070010 </div>
11 </div>
12
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070013 <div class="summary-list" onos-table-resize>
Bri Prebilic Cole0c41ba22015-07-06 15:09:48 -070014 <div class="table-header" onos-sortable-header>
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -070015 <table>
16 <tr>
Simon Huntd721f292016-06-22 21:42:23 -070017 <td colId="component" sortable col-width="260px">Component </td>
Simon Hunt50e80ea2016-06-23 01:40:30 -070018 <td colId="prop" sortable col-width="260px">Property </td>
Simon Huntf3fd4ed2016-05-31 17:16:18 -070019 <td colId="type" sortable col-width="100px">Type </td>
20 <td colId="value" sortable col-width="100px">Value </td>
Simon Huntf3fd4ed2016-05-31 17:16:18 -070021 <td colId="desc">Description </td>
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -070022 </tr>
23 </table>
24 </div>
25
26 <div class="table-body">
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070027 <table onos-flash-changes id-prop="id">
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070028 <tr ng-if="!tableData.length" class="no-data">
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -070029 <td colspan="6">
Jian Li8baf4472016-01-15 15:08:09 -080030 {{annots.no_rows_msg}}
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -070031 </td>
32 </tr>
33
Bri Prebilic Cole0bc4de22015-07-20 17:07:55 -070034 <tr ng-repeat="prop in tableData track by $index"
Simon Huntd721f292016-06-22 21:42:23 -070035 ng-click="selectCallback($event, prop)"
36 ng-class="{selected: prop.id === selId}"
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070037 ng-repeat-complete row-id="{{prop.id}}">
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -070038 <td>{{prop.component}}</td>
Simon Hunt50e80ea2016-06-23 01:40:30 -070039 <td>{{prop.prop}}</td>
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -070040 <td>{{prop.type}}</td>
Simon Huntd721f292016-06-22 21:42:23 -070041 <td ng-class="{notdef: prop.value !== prop.defValue}">
42 {{prop.value}}
43 </td>
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -070044 <td>{{prop.desc}}</td>
45 </tr>
46 </table>
47 </div>
48
49 </div>
Simon Huntd721f292016-06-22 21:42:23 -070050 <settings-details-panel></settings-details-panel>
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -070051
52</div>