From f5af4fcceb8a36c3d0885dfa197798a77de64727 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 20 Jun 2007 22:28:28 +0000 Subject: integrate RTx::Statistics package, part of merging spiritone RT changes (#1661) --- .../Statistics/Elements/ControlsAsTable/ControlBox | 103 +++++++++++++++++++++ .../Statistics/Elements/ControlsAsTable/UpdatePage | 5 + 2 files changed, 108 insertions(+) create mode 100644 rt/html/RTx/Statistics/Elements/ControlsAsTable/ControlBox create mode 100644 rt/html/RTx/Statistics/Elements/ControlsAsTable/UpdatePage (limited to 'rt/html/RTx/Statistics/Elements/ControlsAsTable') diff --git a/rt/html/RTx/Statistics/Elements/ControlsAsTable/ControlBox b/rt/html/RTx/Statistics/Elements/ControlsAsTable/ControlBox new file mode 100644 index 000000000..ce043e294 --- /dev/null +++ b/rt/html/RTx/Statistics/Elements/ControlsAsTable/ControlBox @@ -0,0 +1,103 @@ + + + + + + + + + + +
+ + X  + + <% $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:
+
+ + +
+<%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 + + diff --git a/rt/html/RTx/Statistics/Elements/ControlsAsTable/UpdatePage b/rt/html/RTx/Statistics/Elements/ControlsAsTable/UpdatePage new file mode 100644 index 000000000..b4ccfd56f --- /dev/null +++ b/rt/html/RTx/Statistics/Elements/ControlsAsTable/UpdatePage @@ -0,0 +1,5 @@ + + + + + -- cgit v1.2.1