aboutsummaryrefslogtreecommitdiffstats
path: root/config/widget-snort/snort_alerts.js
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-10-17 15:27:13 -0400
committerjim-p <jim@pingle.org>2009-10-17 15:28:01 -0400
commite9562289eb7346dc2782e8f2ffe0236878deedc7 (patch)
tree4b472ca931a4b5c821ad3beb38344f1ff80cad47 /config/widget-snort/snort_alerts.js
parentb5faf7a8a7e083affce17a7b19755474a1b38cfb (diff)
downloadpfsense-packages-e9562289eb7346dc2782e8f2ffe0236878deedc7.tar.gz
pfsense-packages-e9562289eb7346dc2782e8f2ffe0236878deedc7.tar.bz2
pfsense-packages-e9562289eb7346dc2782e8f2ffe0236878deedc7.zip
Snort widget updates, courtesy of matrix200
Diffstat (limited to 'config/widget-snort/snort_alerts.js')
-rw-r--r--config/widget-snort/snort_alerts.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/config/widget-snort/snort_alerts.js b/config/widget-snort/snort_alerts.js
index 48c97d6c..2eebb140 100644
--- a/config/widget-snort/snort_alerts.js
+++ b/config/widget-snort/snort_alerts.js
@@ -72,10 +72,9 @@ function snort_alerts_fetch_new_rules_callback(callback_data) {
/* loop through rows */
row_split = data_split[x].split("||");
var line = '';
- line = '<td width="5%" class="listr">' + row_split[1] + '</td>';
- line += '<td width="5%" class="listr">' + row_split[2] + '</td>';
- line += '<td width="45%" class="listr">' + row_split[3] + '</td>';
- line += '<td width="45%" class="listr">' + row_split[4] + '</td>';
+ line = '<td width="30%" class="listr" >' + row_split[6] + '<br>' + row_split[7]+ '</td>';
+ line += '<td width="40%" class="listr" >' + row_split[3] + '<br>' + row_split[4] + '</td>';
+ line += '<td width="40%" class="listr" >' + 'Pri : ' + row_split[1] + '<br>' + 'Cat : ' + row_split[2] + '</td>';
snortlastsawtime = row_split[5];
new_data_to_add[new_data_to_add.length] = line;
}
@@ -142,4 +141,4 @@ function snort_alerts_toggle_pause() {
}
}
/* start local AJAX engine */
-snorttimer = setInterval('snort_alerts_fetch_new_rules()', snortupdateDelay);
+snorttimer = setInterval('snort_alerts_fetch_new_rules()', snortupdateDelay); \ No newline at end of file