From b9adcf8bfec936cb8c5841f6c95368605faa2ec4 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 7 Jan 2016 12:45:49 +0545 Subject: status_logs_filter_summary make the info an info box The existing behavior in 2.3-BETA is that if you close this box with the "x" it goes away completely and you cannot get it back. Do we want to make it a "proper" info box that can be open and closed as desired? (like I did here) Note: with this change the info "i" is displayed in the closed state. Maybe it should be open by default? --- src/usr/local/www/status_logs_filter_summary.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/usr/local/www/status_logs_filter_summary.php b/src/usr/local/www/status_logs_filter_summary.php index 4e23f93..a88038e 100644 --- a/src/usr/local/www/status_logs_filter_summary.php +++ b/src/usr/local/www/status_logs_filter_summary.php @@ -153,11 +153,14 @@ foreach ($filterlog as $fe) { } } - print("
"); -$infomsg = sprintf('This is a summary of the last %1$s lines of the firewall log (Max %2$s).', $gotlines, $lines); -print_info_box($infomsg, info); +$infomsg = sprintf(gettext('This is a summary of the last %1$s lines of the firewall log (Max %2$s).'), $gotlines, $lines); ?> +
+
+ +
+
@@ -350,4 +353,4 @@ var pie = new d3pie("pieChart", { \ No newline at end of file +?> -- cgit v1.1 From 0a7d86bd900ba4bcd0ada3f96ab0aed01a290f0e Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 7 Jan 2016 20:27:02 +0545 Subject: status_logs_filter_summary make the info box open on initial page load --- src/usr/local/www/status_logs_filter_summary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/local/www/status_logs_filter_summary.php b/src/usr/local/www/status_logs_filter_summary.php index a88038e..fff226d 100644 --- a/src/usr/local/www/status_logs_filter_summary.php +++ b/src/usr/local/www/status_logs_filter_summary.php @@ -157,7 +157,7 @@ print("
"); $infomsg = sprintf(gettext('This is a summary of the last %1$s lines of the firewall log (Max %2$s).'), $gotlines, $lines); ?>
-
+
-- cgit v1.1