[Rt-commit] r4309 - in RT-Extension-ActivityReports: .
html/Callbacks/ActivityReports/NoAuth/webrt.css
html/Reports/Activity html/Reports/Activity/Elements
jesse at bestpractical.com
jesse at bestpractical.com
Tue Dec 13 22:47:09 EST 2005
Author: jesse
Date: Tue Dec 13 22:47:08 2005
New Revision: 4309
Modified:
RT-Extension-ActivityReports/ (props changed)
RT-Extension-ActivityReports/html/Callbacks/ActivityReports/NoAuth/webrt.css/Default
RT-Extension-ActivityReports/html/Reports/Activity/ActivityDetail.html
RT-Extension-ActivityReports/html/Reports/Activity/ActivitySummary.html
RT-Extension-ActivityReports/html/Reports/Activity/Elements/MiniPlot
RT-Extension-ActivityReports/html/Reports/Activity/Elements/ScreenFooter
RT-Extension-ActivityReports/html/Reports/Activity/ResolutionComments.html
RT-Extension-ActivityReports/html/Reports/Activity/ResolutionStatistics.html
Log:
r20442 at truegrounds: jesse | 2005-12-13 22:39:01 -0500
* Styling per customer requirements
Modified: RT-Extension-ActivityReports/html/Callbacks/ActivityReports/NoAuth/webrt.css/Default
==============================================================================
--- RT-Extension-ActivityReports/html/Callbacks/ActivityReports/NoAuth/webrt.css/Default (original)
+++ RT-Extension-ActivityReports/html/Callbacks/ActivityReports/NoAuth/webrt.css/Default Tue Dec 13 22:47:08 2005
@@ -40,3 +40,32 @@
.miniplot .c6 { border: 2px solid #990099; background: #ff00ff; }
graph .c5 { border: 2px solid #000099; background: #0000ff; }
.graph .c6 { border: 2px solid #990099; background: #ff00ff; }
+
+tr.titlerow th {
+
+ border-bottom: solid black 1px;
+ margin: 0;
+ font-size:80%;
+ text-wrap: none;
+
+}
+
+tr.grandtotal td{
+ border-top: 1px solid black;
+}
+
+tr.grandtotal th{
+ border-top: 1px solid black;
+}
+
+th.label {
+ align: left;
+
+}
+
+table.miniplot th.legend {
+ font-style: normal;
+ font-size: 80%;
+
+}
+
Modified: RT-Extension-ActivityReports/html/Reports/Activity/ActivityDetail.html
==============================================================================
--- RT-Extension-ActivityReports/html/Reports/Activity/ActivityDetail.html (original)
+++ RT-Extension-ActivityReports/html/Reports/Activity/ActivityDetail.html Tue Dec 13 22:47:08 2005
@@ -6,7 +6,7 @@
<& Elements/MiniPlot, data => \%counts &>
<table style="width: 100%">
-<tr>
+<tr class="titlerow">
<th>Queue</th><th>Activity</th><th>Date</th><th>Time</th><th>Ticket #</th><th>User</th><th>Short description</th>
</tr>
% for my $item (@items) {
@@ -22,10 +22,6 @@
% }
</table>
-<form action="ActivityDetail.html" method="POST" enctype="multipart/form-data">
-<textarea name="query"><% $query %></textarea>
-<& /Elements/Submit, Name => 'LimitReport', Label => loc('Limit') &>
-</form>
</&>
<%args>
$query => 'id > 0'
Modified: RT-Extension-ActivityReports/html/Reports/Activity/ActivitySummary.html
==============================================================================
--- RT-Extension-ActivityReports/html/Reports/Activity/ActivitySummary.html (original)
+++ RT-Extension-ActivityReports/html/Reports/Activity/ActivitySummary.html Tue Dec 13 22:47:08 2005
@@ -1,4 +1,5 @@
-<&|Elements/wrapper,
+<&|Elements/Wrapper,
+ %ARGS,
path => "Reports/Activity/ActivitySummary.html",
title=> loc("Activity summary"),
query => $query
@@ -7,7 +8,7 @@
<& Elements/MiniPlot, data => \%queues &>
<table style="width: 100%">
-<tr>
+<tr class="titlerow">
<th>Queue</th>
% for my $status (sort keys %status) {
<th><% $status %></th>
@@ -15,25 +16,20 @@
<th>Total</th>
</tr>
% for my $queue (sort keys %queues) {
-<th><% $queue %></th>
+<th class="label"><% $queue %></th>
% for my $status (sort keys %status) {
<td><% $queues{$queue}{$status} || 0 %>
% }
<td><% $total{$queue} %></td>
</tr>
% }
-<tr>
-<th>Grand Total</th>
+<tr class="grandtotal">
+<th class="label" >Grand Total</th>
% for my $status (sort keys %status) {
<td><% $status{$status} %></td>
% }
<td><% $total %></td>
</table>
-
-<form action="ActivitySummary.html" method="POST" enctype="multipart/form-data">
-<textarea name="query"><% $query %></textarea>
-<& /Elements/Submit, Name => 'LimitReport', Label => loc('Limit') &>
-</form>
</&>
<%args>
$query => 'id > 0'
Modified: RT-Extension-ActivityReports/html/Reports/Activity/Elements/MiniPlot
==============================================================================
--- RT-Extension-ActivityReports/html/Reports/Activity/Elements/MiniPlot (original)
+++ RT-Extension-ActivityReports/html/Reports/Activity/Elements/MiniPlot Tue Dec 13 22:47:08 2005
@@ -15,7 +15,7 @@
% }
</tr><tr>
% for my $major (@major) {
-<th><% $major %></th>
+<th class="legend"><% $major %></th>
% }
</tr>
</table>
@@ -54,4 +54,4 @@
my $barwidth = int( (100 / @minor) * (3/4) );
my $baroffset = int( (100 / @minor) * (1/8) );
-</%init>
\ No newline at end of file
+</%init>
Modified: RT-Extension-ActivityReports/html/Reports/Activity/Elements/ScreenFooter
==============================================================================
--- RT-Extension-ActivityReports/html/Reports/Activity/Elements/ScreenFooter (original)
+++ RT-Extension-ActivityReports/html/Reports/Activity/Elements/ScreenFooter Tue Dec 13 22:47:08 2005
@@ -0,0 +1,8 @@
+<div align="right">
+% my %printable_args = %ARGS;
+% delete $printable_args{$_} for (qw/path title mode/);
+% $printable_args{'mode'} = 'print';
+% my $url = $ARGS{'path'} .'?'. join(';', map { $_."=".$printable_args{$_} } keys %printable_args);
+<a href="<%$RT::WebPath|n%>/<%$url|n%>"><&|/l&>Printable version</&></a>
+</div>
+
Modified: RT-Extension-ActivityReports/html/Reports/Activity/ResolutionComments.html
==============================================================================
--- RT-Extension-ActivityReports/html/Reports/Activity/ResolutionComments.html (original)
+++ RT-Extension-ActivityReports/html/Reports/Activity/ResolutionComments.html Tue Dec 13 22:47:08 2005
@@ -11,7 +11,7 @@
<th colspan="5">Resolution comments</th>
</tr>
% for my $item (@items) {
-<tr>
+<tr class="titlerow">
<td><% $item->{queue} %></td>
<td><% $item->{id} %></td>
<td><% $item->{created} %></td>
@@ -23,11 +23,6 @@
</tr>
% }
</table>
-
-<form action="ResolutionComments.html" method="POST" enctype="multipart/form-data">
-<textarea name="query"><% $query %></textarea>
-<& /Elements/Submit, Name => 'LimitReport', Label => loc('Limit') &>
-</form>
</&>
<%args>
Modified: RT-Extension-ActivityReports/html/Reports/Activity/ResolutionStatistics.html
==============================================================================
--- RT-Extension-ActivityReports/html/Reports/Activity/ResolutionStatistics.html (original)
+++ RT-Extension-ActivityReports/html/Reports/Activity/ResolutionStatistics.html Tue Dec 13 22:47:08 2005
@@ -12,7 +12,7 @@
<tr>
<td></td><th colspan="4">Number of tickets closed / Average resolution time per ticket</th>
</tr>
-<tr>
+<tr class="titlerow">
<th>Queue</th>
<th>Date range</th>
<th>Last 30 days</th>
@@ -28,7 +28,7 @@
% }
</tr>
% }
-<tr>
+<tr class="grandtotal">
<th>Ticket average</th>
% for my $period ('Date range','Last 30 days','Last 60 days','Last 90 days','Ever') {
<td><% $average_resolve_times{$period}{_all_count} %> / <% $average_resolve_times{$period}{_all} %></td>
@@ -36,10 +36,6 @@
</tr>
</table>
-<form action="ResolutionStatistics.html" method="POST" enctype="multipart/form-data">
-<textarea name="query"><% $query %></textarea>
-<& /Elements/Submit, Name => 'LimitReport', Label => loc('Limit') &>
-</form>
</&>
<%args>
$query => 'id > 0'
More information about the Rt-commit
mailing list