diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-03-08 12:31:26 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-03-08 12:31:26 -0500 |
commit | 3bd710acc08252498e46e5c5d8608a3c6fbd122f (patch) | |
tree | bd5496268a6e387cb2a8e1de0b5c553e5828f1d2 /config/suricata/suricata_alerts.js | |
parent | bca1905789f4fdf938f81a7cfe5dd98751726aa7 (diff) | |
download | pfsense-packages-3bd710acc08252498e46e5c5d8608a3c6fbd122f.tar.gz pfsense-packages-3bd710acc08252498e46e5c5d8608a3c6fbd122f.tar.bz2 pfsense-packages-3bd710acc08252498e46e5c5d8608a3c6fbd122f.zip |
Add ellipsis class and tooltips to Dashboard Widget IP columns.
Diffstat (limited to 'config/suricata/suricata_alerts.js')
-rw-r--r-- | config/suricata/suricata_alerts.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/config/suricata/suricata_alerts.js b/config/suricata/suricata_alerts.js index 16e0c73c..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 class="listMRr" nowrap>' + row_split[0] + '<br/>' + row_split[1] + '</td>'; - line += '<td class="listMRr">' + row_split[2] + '<br/>' + row_split[3] + '</td>'; - line += '<td class="listMRr">' + 'Pri: ' + row_split[4] + ' ' + 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); |