aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_alerts.js
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-10-08 13:50:54 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-12-15 12:11:56 -0500
commit9a19d3c8559a05853deeb7d4ca69c09179dcbf29 (patch)
treeb45dd340db1c989c80f0a80c1350fd121afbdd11 /config/suricata/suricata_alerts.js
parent3ae4e63128e24505f0af7475711d9054e3c19a00 (diff)
downloadpfsense-packages-9a19d3c8559a05853deeb7d4ca69c09179dcbf29.tar.gz
pfsense-packages-9a19d3c8559a05853deeb7d4ca69c09179dcbf29.tar.bz2
pfsense-packages-9a19d3c8559a05853deeb7d4ca69c09179dcbf29.zip
Show alert MSG instead of PRI and CLASS in Dashboard Widget.
Diffstat (limited to 'config/suricata/suricata_alerts.js')
-rw-r--r--config/suricata/suricata_alerts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_alerts.js b/config/suricata/suricata_alerts.js
index b6a5d3c3..e56b586d 100644
--- a/config/suricata/suricata_alerts.js
+++ b/config/suricata/suricata_alerts.js
@@ -18,7 +18,7 @@ function suricata_alerts_fetch_new_rules_callback(callback_data) {
line += '<td class="listMRr ellipsis" nowrap><div style="display:inline;" title="';
line += row_split[2] + '">' + row_split[2] + '</div><br/><div style="display:inline;" title="';
line += row_split[3] + '">' + row_split[3] + '</div></td>';
- line += '<td class="listMRr">' + 'Pri: ' + row_split[4] + ' ' + row_split[5] + '</td>';
+ line += '<td class="listMRr"><div style="display: fixed; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2em; max-height: 2.4em; overflow: hidden; text-overflow: ellipsis;" title="' + row_split[4] + '">' + row_split[4] + '</div></td>';
new_data_to_add[new_data_to_add.length] = line;
}
suricata_alerts_update_div_rows(new_data_to_add);