name: "id",
title: "ID",
style: {
- "font-size": "11px",
- "minWidth": 130,
- "overflow": "hidden",
- "textOverflow": "ellipsis",
- "wordBreak": "break-all",
- "whiteSpace": "normal"
+ minWidth: 130,
+ overflow: "hidden",
+ textOverflow: "ellipsis",
+ wordBreak: "break-all",
+ whiteSpace: "normal"
}
}, {
name: "ip",
title: "IP address",
breakpoints: "xs sm md",
style: {
- "font-size": "11px",
"minWidth": "calc(7.6em + 8px)",
"word-break": "break-all"
}
title: "[Envelope From] From",
breakpoints: "xs sm md",
style: {
- "font-size": "11px",
"minWidth": 100,
"maxWidth": 200,
"word-wrap": "break-word"
filterable: false,
classes: "d-none d-xl-table-cell",
style: {
- "font-size": "11px",
"minWidth": 100,
"maxWidth": 200,
"word-wrap": "break-word"
name: "rcpt_mime",
title: "[Envelope To] To/Cc/Bcc",
breakpoints: "all",
- style: {
- "font-size": "11px",
- "word-wrap": "break-word"
- }
+ style: {"word-wrap": "break-word"}
}, {
name: "subject",
title: "Subject",
breakpoints: "xs sm md",
style: {
- "font-size": "11px",
"word-break": "break-all",
"minWidth": 150
}
}, {
name: "action",
title: "Action",
- style: {
- "font-size": "11px",
- "minwidth": 82
- }
+ style: {minwidth: 82}
}, {
name: "score",
title: "Score",
style: {
- "font-size": "11px",
"maxWidth": 110,
"text-align": "right",
"white-space": "nowrap"
"</div>" +
"</div>",
breakpoints: "all",
- style: {
- "font-size": "11px",
- "width": 550,
- "maxWidth": 550
- }
+ style: {width: 550, maxWidth: 550}
}, {
name: "size",
title: "Msg size",
breakpoints: "xs sm md",
- style: {
- "font-size": "11px",
- "minwidth": 50,
- },
+ style: {minwidth: 50},
formatter: d3.format(".3~s")
}, {
name: "time_real",
title: "Scan time",
breakpoints: "xs sm md",
- style: {
- "font-size": "11px",
- "maxWidth": 72
- },
+ style: {maxWidth: 72},
sortValue: function (val) { return Number(val); }
}, {
classes: "history-col-time",
direction: "DESC",
name: "time",
title: "Time",
- style: {
- "font-size": "11px"
- },
sortValue: function (val) { return Number(val.options.sortValue); }
}, {
name: "user",
title: "Authenticated user",
breakpoints: "xs sm md",
style: {
- "font-size": "11px",
"minWidth": 100,
"maxWidth": 130,
"word-wrap": "break-word"
name: "id",
title: "ID",
style: {
- "font-size": "11px",
- "width": 300,
- "maxWidth": 300,
- "overflow": "hidden",
- "textOverflow": "ellipsis",
- "wordBreak": "keep-all",
- "whiteSpace": "nowrap"
+ width: 300,
+ maxWidth: 300,
+ overflow: "hidden",
+ textOverflow: "ellipsis",
+ wordBreak: "keep-all",
+ whiteSpace: "nowrap"
}
}, {
name: "ip",
title: "IP address",
breakpoints: "xs sm",
- style: {
- "font-size": "11px",
- "width": 150,
- "maxWidth": 150
- }
+ style: {width: 150, maxWidth: 150}
}, {
name: "action",
title: "Action",
- style: {
- "font-size": "11px",
- "width": 110,
- "maxWidth": 110
- }
+ style: {width: 110, maxWidth: 110}
}, {
name: "score",
title: "Score",
- style: {
- "font-size": "11px",
- "maxWidth": 110
- },
+ style: {maxWidth: 110},
sortValue: function (val) { return Number(val.options.sortValue); }
}, {
name: "symbols",
title: "Symbols",
breakpoints: "all",
- style: {
- "font-size": "11px",
- "width": 550,
- "maxWidth": 550
- }
+ style: {width: 550, maxWidth: 550}
}, {
name: "size",
title: "Message size",
breakpoints: "xs sm",
- style: {
- "font-size": "11px",
- "width": 120,
- "maxWidth": 120
- },
+ style: {width: 120, maxWidth: 120},
formatter: d3.format(".3~s")
}, {
name: "scan_time",
title: "Scan time",
breakpoints: "xs sm",
- style: {
- "font-size": "11px",
- "maxWidth": 80
- },
+ style: {maxWidth: 80},
sortValue: function (val) { return Number(val); }
}, {
sorted: true,
direction: "DESC",
name: "time",
title: "Time",
- style: {
- "font-size": "11px"
- },
sortValue: function (val) { return Number(val.options.sortValue); }
}, {
name: "user",
title: "Authenticated user",
breakpoints: "xs sm",
- style: {
- "font-size": "11px",
- "width": 200,
- "maxWidth": 200
- }
+ style: {width: 200, maxWidth: 200}
}];
}
direction: "DESC",
name: "ts",
title: "Time",
- style: {"font-size": "11px", "width": 300, "maxWidth": 300},
+ style: {width: 300, maxWidth: 300},
sortValue: function (val) { return Number(val.options.sortValue); }},
{name: "type",
title: "Worker type",
breakpoints: "xs sm",
- style: {"font-size": "11px", "width": 150, "maxWidth": 150}},
+ style: {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"}},
+ style: {width: 110, maxWidth: 110}},
+ {name: "module", title: "Module"},
+ {name: "id", title: "Internal ID"},
+ {name: "message", title: "Message", breakpoints: "xs sm"},
],
rows: rows,
paging: {
rspamd.tables.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"}},
+ {sorted: true, direction: "ASC", name: "group", title: "Group"},
+ {name: "symbol", title: "Symbol"},
+ {name: "description", title: "Description", breakpoints: "xs sm"},
+ {name: "weight", title: "Score"},
{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: "time", title: "Avg. time", breakpoints: "xs sm"},
],
rows: items[0],
paging: {
name: "id",
title: "ID",
style: {
- "font-size": "11px",
- "minWidth": 130,
- "overflow": "hidden",
- "textOverflow": "ellipsis",
- "wordBreak": "break-all",
- "whiteSpace": "normal"
+ minWidth: 130,
+ overflow: "hidden",
+ textOverflow: "ellipsis",
+ wordBreak: "break-all",
+ whiteSpace: "normal"
}
}, {
name: "action",
title: "Action",
- style: {
- "font-size": "11px",
- "minwidth": 82
- }
+ style: {minwidth: 82}
}, {
name: "passthrough_module",
- title: '<div title="The module that has set the pre-result">Pass-through module</div>',
- style: {
- "font-size": "11px"
- }
+ title: '<div title="The module that has set the pre-result">Pass-through module</div>'
}, {
name: "score",
title: "Score",
- style: {
- "font-size": "11px",
- "maxWidth": 110
- },
+ style: {maxWidth: 110},
sortValue: function (val) { return Number(val.options.sortValue); }
}, {
name: "symbols",
"</div>" +
"</div>",
breakpoints: "all",
- style: {
- "font-size": "11px",
- "width": 550,
- "maxWidth": 550
- }
+ style: {width: 550, maxWidth: 550}
}, {
name: "time_real",
title: "Scan time",
breakpoints: "xs sm md",
- style: {
- "font-size": "11px",
- "maxWidth": 72
- },
+ style: {maxWidth: 72},
sortValue: function (val) { return Number(val); }
}, {
sorted: true,
direction: "DESC",
name: "time",
title: "Time",
- style: {
- "font-size": "11px"
- },
sortValue: function (val) { return Number(val.options.sortValue); }
}];
}