summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/grid-report.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-02-05 16:00:55 -0800
committerMark Wells <mark@freeside.biz>2016-02-05 16:08:57 -0800
commit4d7a5f06cbab1f4f9614d9915641557f4edad1cf (patch)
treeee86f8ad92c3573880258c645a5b9ea9763cb4e2 /httemplate/search/elements/grid-report.html
parentaf4e5e495388889f3b8d3d9bb385064fb4b6d539 (diff)
refactor CDR profit/loss report also, #40103
Diffstat (limited to 'httemplate/search/elements/grid-report.html')
-rw-r--r--httemplate/search/elements/grid-report.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/httemplate/search/elements/grid-report.html b/httemplate/search/elements/grid-report.html
index cb06b2bd6..98e81785f 100644
--- a/httemplate/search/elements/grid-report.html
+++ b/httemplate/search/elements/grid-report.html
@@ -5,6 +5,9 @@ which the user can request as an Excel spreadsheet. /elements/header.html
and /elements/footer.html are included automatically, so don't include them
again.
+This element defines "total", "shaded", and "totalshaded" CSS classes. For
+anything else, insert a <style> element via the 'head' argument.
+
Usage:
<& elements/grid-report.html,
@@ -21,7 +24,7 @@ Usage:
header => 1,
rowspan => 2,
colspan => 3,
- class => 'highlight',
+ class => 'shaded',
},
...
],
@@ -144,7 +147,6 @@ Usage:
<P ALIGN="right" CLASS="noprint">
Download full reports<BR>
as <A HREF="<% "$myself;_type=xls" %>">Excel spreadsheet</A><BR>
-% # as <A HREF="<% "$myself;_type=csv" %>">CSV file</A> # is this still needed?
</P>
<style type="text/css">
.report * {
@@ -155,9 +157,9 @@ as <A HREF="<% "$myself;_type=xls" %>">Excel spreadsheet</A><BR>
.report td {
text-align: right;
}
-.total * { background-color: #f5f6be; }
-.shaded * { background-color: #c8c8c8; }
-.totalshaded * { background-color: #bfc094; }
+.total { background-color: #f5f6be; }
+.shaded { background-color: #c8c8c8; }
+.totalshaded { background-color: #bfc094; }
</style>
<table class="report" width="100%" cellspacing=0>
% foreach my $rowinfo (@rows) {