var full = shrt = "";
if (smtp) {
full = "[" + item.rcpt_smtp.join(", ") + "] ";
- shrt = "[" + item.rcpt_smtp.slice(0,rcpt_lim).join(",​") + more("rcpt_smtp") + "]";
+ shrt = "[" + item.rcpt_smtp.slice(0, rcpt_lim).join(",​") + more("rcpt_smtp") + "]";
if (mime) {
full += " ";
shrt += " ";
}
if (mime) {
full += item.rcpt_mime.join(", ");
- shrt += item.rcpt_mime.slice(0,rcpt_lim).join(",​") + more("rcpt_mime");
+ shrt += item.rcpt_mime.slice(0, rcpt_lim).join(",​") + more("rcpt_mime");
}
return {full: full, shrt: shrt};
}
});
ft.errors = FooTable.init("#errorsLog", {
"columns": [
- {"sorted": true,"direction": "DESC","name":"ts","title":"Time","style":{"font-size":"11px","width":300,"maxWidth":300}},
- {"name":"type","title":"Worker type","breakpoints":"xs sm","style":{"font-size":"11px","width":150,"maxWidth":150}},
- {"name":"pid","title":"PID","breakpoints":"xs sm","style":{"font-size":"11px","width":110,"maxWidth":110}},
- {"name":"module","title":"Module","style":{"font-size":"11px"}},
- {"name":"id","title":"Internal ID","style":{"font-size":"11px"}},
- {"name":"message","title":"Message","breakpoints":"xs sm","style":{"font-size":"11px"}},
+ {"sorted": true, "direction": "DESC", "name":"ts", "title":"Time", "style":{"font-size":"11px", "width":300, "maxWidth":300}},
+ {"name":"type", "title":"Worker type", "breakpoints":"xs sm", "style":{"font-size":"11px", "width":150, "maxWidth":150}},
+ {"name":"pid", "title":"PID", "breakpoints":"xs sm", "style":{"font-size":"11px", "width":110, "maxWidth":110}},
+ {"name":"module", "title":"Module", "style":{"font-size":"11px"}},
+ {"name":"id", "title":"Internal ID", "style":{"font-size":"11px"}},
+ {"name":"message", "title":"Message", "breakpoints":"xs sm", "style":{"font-size":"11px"}},
],
"rows": data,
"paging": {
});
ft.symbols = FooTable.init("#symbolsTable", {
"columns": [
- {"sorted": true,"direction": "ASC", "name":"group","title":"Group","style":{"font-size":"11px"}},
- {"name":"symbol","title":"Symbol","style":{"font-size":"11px"}},
- {"name":"description","title":"Description","breakpoints":"xs sm","style":{"font-size":"11px"}},
- {"name":"weight","title":"Score","style":{"font-size":"11px"}},
- {"name":"frequency","title":"Frequency","breakpoints":"xs sm","style":{"font-size":"11px"},"sortValue": function(value){return Number(value).toFixed(2);}},
- {"name":"time","title":"Avg. time","breakpoints":"xs sm","style":{"font-size":"11px"}},
- {"name":"save","title":"Save","style":{"font-size":"11px"}},
+ {"sorted": true, "direction": "ASC", "name":"group", "title":"Group", "style":{"font-size":"11px"}},
+ {"name":"symbol", "title":"Symbol", "style":{"font-size":"11px"}},
+ {"name":"description", "title":"Description", "breakpoints":"xs sm", "style":{"font-size":"11px"}},
+ {"name":"weight", "title":"Score", "style":{"font-size":"11px"}},
+ {"name":"frequency", "title":"Frequency", "breakpoints":"xs sm", "style":{"font-size":"11px"}, "sortValue": function(value){return Number(value).toFixed(2);}},
+ {"name":"time", "title":"Avg. time", "breakpoints":"xs sm", "style":{"font-size":"11px"}},
+ {"name":"save", "title":"Save", "style":{"font-size":"11px"}},
],
"rows": items[0],
"paging": {