Merge pull request #2690 from lemoer/pr_batman_respondd_addition_1_ui
gluon-status-page: show gateway_tq
This commit is contained in:
commit
8ad1d7a2b4
@ -214,7 +214,7 @@
|
||||
<tr><th><%:Load average%></th><td><%= statistics('loadavg', 'decimal') %></td></tr>
|
||||
<tr><th><%:RAM%></th><td><%= statistics('memory', 'memory') %></td></tr>
|
||||
<tr><th><%:Filesystem%></th><td><%= statistics('rootfs_usage', 'percent') %></td></tr>
|
||||
<tr><th><%:Gateway%></th><td><%= statistics('gateway') %><br><%= statistics('gateway_nexthop', 'neighbour') %></td></tr>
|
||||
<tr><th><%:Gateway%></th><td><%= statistics('gateway') %> (TQ: <%= statistics('gateway_tq', 'tq') %>)<br><%= statistics('gateway_nexthop', 'neighbour') %></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -133,6 +133,9 @@
|
||||
}
|
||||
|
||||
return 'via ' + addr + ' (unknown iface)';
|
||||
},
|
||||
'tq': function(value) {
|
||||
return formatNumber(100/255 * value, 1) + '%';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user