diff options
author | Martin Schitter <ms+git@mur.at> | 2021-11-06 12:52:51 +0100 |
---|---|---|
committer | Martin Schitter <ms+git@mur.at> | 2021-11-06 12:52:51 +0100 |
commit | d91702cb22f36226da9aa6bfbe88e86d1b6ac1f6 (patch) | |
tree | 5aa533facccb2a756881aa9687252723b4018332 /applications/luci-app-statistics/htdocs/luci-static | |
parent | b0279f474e983e6e46e5b58df1332bf697d32a87 (diff) |
luci-app-statistics: protect nested formating litteral
Signed-off-by: Martin Schitter <ms+git@mur.at>
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static')
-rw-r--r-- | applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/olsrd.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/olsrd.js b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/olsrd.js index 19e217ab95..cafe2ac70e 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/olsrd.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/olsrd.js @@ -89,7 +89,8 @@ return baseclass.extend({ opts[dsn2] = { color: "0000ff", title: "NLQ (%s)".format(host), flip: true }; g.push({ - title: "%H: Signal Quality (%s)".format(host), vlabel: "ETX", + title: "%%H: Signal Quality (%s)".format(host), + vlabel: "ETX", number_format: "%5.2lf", detail: true, data: { types: [ "signal_quality" ], |