diff options
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/freeside.css | 18 | ||||
-rw-r--r-- | httemplate/elements/select.html | 3 |
2 files changed, 21 insertions, 0 deletions
diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css index 90b2d51b1..e292172ff 100644 --- a/httemplate/elements/freeside.css +++ b/httemplate/elements/freeside.css @@ -256,6 +256,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> |