mirror of https://github.com/aredn/aredn.git
Display Charts button even when no RF links (#593)
* display charts button even if no RF links * adjust spacing
This commit is contained in:
parent
cc58fd8a2e
commit
909e4fb765
|
@ -443,6 +443,7 @@ if config == "mesh" and not wifi_disabled then
|
|||
local s, n = get_wifi_signal(wifi_iface)
|
||||
if s == "none" then
|
||||
col2[#col2] = col2[#col2] .. "no RF links"
|
||||
col2[#col2] = col2[#col2] .. " <button type=button onClick='window.location=\"signal?realtime=1\"' title='Display continuous or archived signal strength on a chart'>Charts</button></nobr></td>"
|
||||
else
|
||||
col2[#col2] = col2[#col2] .. "<b>" .. s .. " | " .. n .. " | " .. math.abs(s - n) .. " dB</b>"
|
||||
col2[#col2] = col2[#col2] .. " <button type=button onClick='window.location=\"signal?realtime=1\"' title='Display continuous or archived signal strength on a chart'>Charts</button></nobr></td>"
|
||||
|
|
Loading…
Reference in New Issue