diff options
Diffstat (limited to 'interface/js/app/libft.js')
-rw-r--r-- | interface/js/app/libft.js | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/interface/js/app/libft.js b/interface/js/app/libft.js index 2b2428385..e45a1718d 100644 --- a/interface/js/app/libft.js +++ b/interface/js/app/libft.js @@ -66,12 +66,12 @@ define(["jquery", "app/common", "footable"], }, { name: "file", title: "File name", - breakpoints: "xs", + breakpoints: "sm", sortValue: (val) => ((typeof val === "undefined") ? "" : val) }, { name: "ip", title: "IP address", - breakpoints: "xs sm md", + breakpoints: "lg", style: { "minWidth": "calc(14ch + 8px)", "word-break": "break-all" @@ -81,7 +81,7 @@ define(["jquery", "app/common", "footable"], }, { name: "sender_mime", title: "[Envelope From] From", - breakpoints: "xs sm md", + breakpoints: "lg", style: { "minWidth": 100, "maxWidth": 200, @@ -90,7 +90,7 @@ define(["jquery", "app/common", "footable"], }, { name: "rcpt_mime_short", title: "[Envelope To] To/Cc/Bcc", - breakpoints: "xs sm md", + breakpoints: "lg", filterable: false, classes: "d-none d-xl-table-cell", style: { @@ -106,7 +106,7 @@ define(["jquery", "app/common", "footable"], }, { name: "subject", title: "Subject", - breakpoints: "xs sm md", + breakpoints: "lg", style: { "word-break": "break-all", "minWidth": 150 @@ -118,7 +118,7 @@ define(["jquery", "app/common", "footable"], }, { name: "passthrough_module", title: '<div title="The module that has set the pre-result"><nobr>Pass-through</nobr> module</div>', - breakpoints: "xs", + breakpoints: "sm", style: {minWidth: 98, maxWidth: 98}, sortValue: (val) => ((typeof val === "undefined") ? "" : val) }, { @@ -149,13 +149,13 @@ define(["jquery", "app/common", "footable"], }, { name: "size", title: "Msg size", - breakpoints: "xs sm md", + breakpoints: "lg", style: {minwidth: 50}, formatter: ui.formatBytesIEC }, { name: "time_real", title: "Scan time", - breakpoints: "xs sm md", + breakpoints: "lg", style: {maxWidth: 72}, sortValue: function (val) { return Number(val); } }, { @@ -168,7 +168,7 @@ define(["jquery", "app/common", "footable"], }, { name: "user", title: "Authenticated user", - breakpoints: "xs sm md", + breakpoints: "lg", style: { "minWidth": 100, "maxWidth": 130, @@ -326,6 +326,8 @@ define(["jquery", "app/common", "footable"], : columnsDefault.map((column) => column); common.tables[table] = FooTable.init("#historyTable_" + table, { + breakpoints: common.breakpoints, + cascade: true, columns: columns, rows: items, expandFirst: expandFirst, |