summaryrefslogtreecommitdiffstats
path: root/interface/js/app/stats.js
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2023-11-19 18:31:57 +0300
committermoisseev <moiseev@mezonplus.ru>2023-11-19 18:31:57 +0300
commita592c2a341db27cfac0a894b49eb922e56138004 (patch)
treeb806ee53e1d96917f5068ee8a0432f51730a3652 /interface/js/app/stats.js
parentab1b0baf1f63b57ae1e04093235d1e7c5603bd57 (diff)
downloadrspamd-a592c2a341db27cfac0a894b49eb922e56138004.tar.gz
rspamd-a592c2a341db27cfac0a894b49eb922e56138004.zip
[Test] Enforce maximum line length
Diffstat (limited to 'interface/js/app/stats.js')
-rw-r--r--interface/js/app/stats.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js
index 86386fe56..e6b7bc897 100644
--- a/interface/js/app/stats.js
+++ b/interface/js/app/stats.js
@@ -136,7 +136,9 @@ define(["jquery", "app/rspamd", "d3pie", "d3"],
if (max) {
const f = d3.format(".3f");
scan_times = {
- data: "<small>" + f(min) + "/</small>" + f(d3.mean(val.data.scan_times)) + "<small>/" + f(max) + "</small>",
+ data: "<small>" + f(min) + "/</small>" +
+ f(d3.mean(val.data.scan_times)) +
+ "<small>/" + f(max) + "</small>",
title: ' title="min/avg/max"'
};
} else {
@@ -150,7 +152,8 @@ define(["jquery", "app/rspamd", "d3pie", "d3"],
}
$("#clusterTable tbody").append('<tr class="' + row_class + '">' +
- '<td class="align-middle"><input type="radio" class="form-check m-auto" name="clusterName" value="' + key + '"></td>' +
+ '<td class="align-middle"><input type="radio" class="form-check m-auto" name="clusterName" value="' +
+ key + '"></td>' +
"<td>" + key + "</td>" +
"<td>" + val.host + "</td>" +
'<td class="text-center"><span class="icon"><i class="' + glyph_status + '"></i></span></td>' +