summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-06-27 15:51:29 -0700
committerMark Wells <mark@freeside.biz>2015-06-27 19:33:52 -0700
commit062f38f2f5d0da64c6fd0702d4df2e805473a1f5 (patch)
treeace3971025894ea6c0251f8a9ecd637c6cfe400e /httemplate/elements
parent68546df9b125f73764eda31f1dcb4e2c0555f859 (diff)
reports with row grouping for payment/refund search, #25944
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/freeside.css18
-rw-r--r--httemplate/elements/select.html3
2 files changed, 21 insertions, 0 deletions
diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css
index ece57a053..3dc344cbf 100644
--- a/httemplate/elements/freeside.css
+++ b/httemplate/elements/freeside.css
@@ -254,6 +254,24 @@ table.grid {
border-radius: 2px;
}
+tr.row0 {
+ background-color: #eeeeee;
+}
+
+tr.row1 {
+ background-color: #ffffff;
+}
+
+.grid tfoot tr {
+ background-color: #dddddd;
+ font-style: italic;
+}
+
+/* border at the top of the footer, but not between footer rows */
+.grid tfoot tr:first-child td {
+ border-top: 1px dashed black;
+}
+
th, td {
vertical-align: top;
}
diff --git a/httemplate/elements/select.html b/httemplate/elements/select.html
index 67ef51418..4492681de 100644
--- a/httemplate/elements/select.html
+++ b/httemplate/elements/select.html
@@ -4,6 +4,7 @@
ID = "<% $opt{id} %>"
previousValue = "<% $curr_value %>"
previousText = "<% $labels->{$curr_value} || $curr_value %>"
+ <% $multiple %>
<% $size %>
<% $style %>
<% $opt{disabled} %>
@@ -74,4 +75,6 @@ my $style = scalar(@style) ? 'STYLE="'. join(';', @style). '"' : '';
my $size = $opt{'size'} ? 'SIZE='.$opt{'size'} : '';
+my $multiple = $opt{'multiple'} ? 'MULTIPLE' : '';
+
</%init>