From e4719f9f3e4367e980685e8db3ad1fcb59f1a540 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 5 Dec 2010 02:43:36 +0000 Subject: RTx-Statistics in 2.1 / 3.8, RT#10046 --- .../Statistics/Elements/ControlsAsTable/ControlBox | 89 ++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 rt/share/html/RTx/Statistics/Elements/ControlsAsTable/ControlBox (limited to 'rt/share/html/RTx/Statistics/Elements/ControlsAsTable/ControlBox') diff --git a/rt/share/html/RTx/Statistics/Elements/ControlsAsTable/ControlBox b/rt/share/html/RTx/Statistics/Elements/ControlsAsTable/ControlBox new file mode 100644 index 000000000..e2b5c1430 --- /dev/null +++ b/rt/share/html/RTx/Statistics/Elements/ControlsAsTable/ControlBox @@ -0,0 +1,89 @@ + + +<&/Widgets/TitleBoxStart, title => $Title, &> + + +% if (defined $ShowStatus) { + + + + +% } +% if (defined $ShowSingleQueue) { + + + + +% } +% if (defined $ShowDates) { + + <& /RTx/Statistics/Elements/DateSelectRow, Label => "Start Date:", + refMonth => $sMonth, nameMonth => "sMonth", + refDay => $sDay, nameDay => "sDay", + refYear => $sYear, nameYear => "sYear" &> + + + <& /RTx/Statistics/Elements/DateSelectRow, Label => "End Date:", + refMonth => $eMonth, nameMonth => "eMonth", + refDay => $eDay, nameDay => "eDay", + refYear => $eYear, nameYear => "eYear" &> + + + + + +% } +% if (defined $ShowMultiQueues) { + +% if (defined $ShowDates) { +%# If we're showing the dates, we put these side by side. + + +% } else { + + + + +% } + +% } + <& /RTx/Statistics/Elements/ControlsAsTable/UpdatePage &> +
Show Status: + <& /Elements/SelectStatus, Name=>"status", Default => $Status, DefaultValue => undef &> +
Show Queue: + <& /Elements/SelectQueue, Name=>"Queue", Default=>$Queue ,ShowNullOption=>0, + CheckQueueRight=>'SeeQueue' &> +
Show Weekends: + +
Select All Queues: + <& /RTx/Statistics/Elements/SelectMultiQueue, Name=>"queues", Selected=>$queues_ref, + ShowNullOption=>0, CheckQueueRight=>'SeeQueue', Size => 10, NamedValues => 1 &> + + <& /RTx/Statistics/Elements/SelectMultiQueue, Name=>"queues", Selected=>$queues_ref, + ShowNullOption=>0, CheckQueueRight=>'SeeQueue', Size => 10, NamedValues => 1 &> +
Select All Queues:
+ +<&/Widgets/TitleBoxEnd&> + + +<%args> +$Title => undef +$ShowMultiQueues => undef +$queues_ref => undef +$ShowDates => undef +$sMonth => undef +$sDay => undef +$sYear => undef +$eMonth => undef +$eDay => undef +$eYear => undef +$weekends => undef +$ShowSingleQueue => undef +$Queue => undef +$ShowStatus => undef +$Status => undef + + -- cgit v1.2.1