summaryrefslogtreecommitdiff
path: root/net-analyzer/nagiosgraph/files
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2025-01-13 11:19:50 +0000
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2025-01-13 11:19:50 +0000
commit69c5f58c466d486e424be9b53f57943860c3f3a9 (patch)
treef6643d1f0a10ecfc8c6f9034e7fc88985ec31f8b /net-analyzer/nagiosgraph/files
parentStablise latest youcompleteme (diff)
downloadportage-main.tar.bz2
portage-main.tar.xz
portage-main.zip
Add James' multiselect patchHEADmain
Diffstat (limited to 'net-analyzer/nagiosgraph/files')
-rw-r--r--net-analyzer/nagiosgraph/files/multiselect.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-analyzer/nagiosgraph/files/multiselect.patch b/net-analyzer/nagiosgraph/files/multiselect.patch
new file mode 100644
index 0000000..6fd9974
--- /dev/null
+++ b/net-analyzer/nagiosgraph/files/multiselect.patch
@@ -0,0 +1,19 @@
+--- a/etc/ngshared.pm 2025-01-13 09:50:56.597104649 +0000
++++ b/etc/ngshared.pm 2025-01-13 09:51:44.709518279 +0000
+@@ -2457,14 +2457,14 @@
+ $cgi->td(($context eq 'both' || $context eq 'service')
+ ? $cgi->table($cgi->Tr({-valign => 'top', -id => 'db_controls' }, "\n",
+ $cgi->td({-class => 'control_label'}, _('Data Sets:')), "\n",
+- $cgi->td($cgi->popup_menu(-name => 'db', -values => [], -size => DBLISTROWS, -multiple => 1)), "\n",
++ $cgi->td($cgi->scrolling_list(-name => 'db', -values => [], -size => DBLISTROWS, -multiple => 1)), "\n",
+ $cgi->td($cgi->button(-name => 'clear', -label => _('Clear'), -onClick => 'clearDBSelection()')), "\n",
+ ), "\n",
+ ) . "\n"
+ : q()), "\n",
+ $cgi->td($cgi->table($cgi->Tr({-valign => 'top'}, "\n",
+ $cgi->td({-class => 'control_label'}, _('Periods:')), "\n",
+- $cgi->td($cgi->popup_menu(-name => 'period', -values => [@PERIOD_KEYS], -labels => \%period_labels, -size => PERIODLISTROWS, -multiple => 1)), "\n",
++ $cgi->td($cgi->scrolling_list(-name => 'period', -values => [@PERIOD_KEYS], -labels => \%period_labels, -size => PERIODLISTROWS, -multiple => 1)), "\n",
+ $cgi->td($cgi->button(-name => 'clear', -label => _('Clear'), -onClick => 'clearPeriodSelection()')), "\n",
+ ), "\n",
+ $cgi->Tr($cgi->td({-class => 'control_label'}, _('Size:')), "\n",