aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_alerts.js
diff options
context:
space:
mode:
authorRenato Botelho <garga@pfSense.org>2014-03-19 10:28:24 -0300
committerRenato Botelho <garga@pfSense.org>2014-03-19 10:28:24 -0300
commitd50c07fd00ac203332e57a45532a265759922993 (patch)
treead427c579bcd5e731369f709d0307f9028fbc2d2 /config/suricata/suricata_alerts.js
parenta84a84bf31ed33c7e132b704186a56b77cc9148a (diff)
parent172270f302e2cdb0e0b6f7581152bc32befa99bc (diff)
downloadpfsense-packages-d50c07fd00ac203332e57a45532a265759922993.tar.gz
pfsense-packages-d50c07fd00ac203332e57a45532a265759922993.tar.bz2
pfsense-packages-d50c07fd00ac203332e57a45532a265759922993.zip
Merge pull request #622 from bmeeks8/master
Suricata 1.4.6 pkg. v0.2-BETA -- more bug fixes, no version bump
Diffstat (limited to 'config/suricata/suricata_alerts.js')
-rw-r--r--config/suricata/suricata_alerts.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/suricata/suricata_alerts.js b/config/suricata/suricata_alerts.js
index 9e5b0b29..b6a5d3c3 100644
--- a/config/suricata/suricata_alerts.js
+++ b/config/suricata/suricata_alerts.js
@@ -14,9 +14,11 @@ function suricata_alerts_fetch_new_rules_callback(callback_data) {
for(var x=0; x<data_split.length-1; x++) {
row_split = data_split[x].split("||");
var line = '';
- line = '<td width="22%" class="listMRr" nowrap>' + row_split[0] + '<br/>' + row_split[1] + '</td>';
- line += '<td width="39%" class="listMRr">' + row_split[2] + '<br/>' + row_split[3] + '</td>';
- line += '<td width="39%" class="listMRr">' + 'Pri: ' + row_split[4] + '&nbsp;' + row_split[5] + '</td>';
+ line = '<td class="listMRr">' + row_split[0] + '<br/>' + row_split[1] + '</td>';
+ 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>';
new_data_to_add[new_data_to_add.length] = line;
}
suricata_alerts_update_div_rows(new_data_to_add);