diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-09-29 09:25:37 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-09-29 09:25:37 -0700 |
commit | 4f9036b228a12204d8282344a5abbdd621959a85 (patch) | |
tree | c45e87e7daab9587fbd38c4eaca0ae6b2c9f34c3 /httemplate | |
parent | 37a37bc1146a9ac2dfe6502c1c9f0d211a9a9209 (diff) |
4.x styling customer edit cleanup
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/edit/cust_main/stateid.html | 2 | ||||
-rw-r--r-- | httemplate/elements/freeside.css | 3 | ||||
-rw-r--r-- | httemplate/elements/tr-censustract.html | 2 | ||||
-rw-r--r-- | httemplate/view/cust_main/contacts.html | 10 | ||||
-rw-r--r-- | httemplate/view/cust_main/misc.html | 4 |
5 files changed, 11 insertions, 10 deletions
diff --git a/httemplate/edit/cust_main/stateid.html b/httemplate/edit/cust_main/stateid.html index 2655f5142..3500d631c 100644 --- a/httemplate/edit/cust_main/stateid.html +++ b/httemplate/edit/cust_main/stateid.html @@ -1,6 +1,6 @@ % if ( $conf->exists('show_stateid') ) { <TR> - <TD ALIGN="right"><% $stateid_label %></TD> + <TH ALIGN="right"><% $stateid_label %></TH> <TD><INPUT TYPE="text" NAME="stateid" VALUE="<% $stateid %>" SIZE=12></TD> <TD><& /elements/select-state.html, state => $cust_main->stateid_state, diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css index cc104a196..8545ee596 100644 --- a/httemplate/elements/freeside.css +++ b/httemplate/elements/freeside.css @@ -235,7 +235,8 @@ div.fstabcontainer { .fsinnerbox th { font-weight:normal; font-size:80%; - vertical-align: bottom; + vertical-align: top; + padding-top: 3px; color: #666666; } diff --git a/httemplate/elements/tr-censustract.html b/httemplate/elements/tr-censustract.html index 7a4b34943..c7ca270e9 100644 --- a/httemplate/elements/tr-censustract.html +++ b/httemplate/elements/tr-censustract.html @@ -1,6 +1,6 @@ % if ($location->country eq 'US' and $censustract) { <TR> - <TD ALIGN="right"><% mt('Census tract') |h %></TD> + <TH ALIGN="right"><% mt('Census tract') |h %></TH> <TD COLSPAN=5> <SPAN STYLE="background-color: #ffffff; border: 1px solid #ffffff"><% $censustract |h %></SPAN> <% $censusyear |h %> diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index d75f114cf..1660c1c22 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -82,7 +82,7 @@ % } elsif ( $this eq 'ship' ) { % if ( $cust_main->ship_company ) { # mostly obsolete these days... <TR> - <TD ALIGN="right"><% mt('Company') |h %></TD> + <TH ALIGN="right"><% mt('Company') |h %></TH> <TD COLSPAN=7><% $cust_main->ship_company |h %></TD> </TR> % } @@ -93,7 +93,7 @@ % if ( $location->locationname ) { <TR> - <TD ALIGN="right"><% mt('Location ID') |h %></TD> + <TH ALIGN="right"><% mt('Location ID') |h %></TH> <TD COLSPAN=7><% $location->locationname |h %></TD> </TR> % } @@ -160,7 +160,7 @@ % if ( $cust_main->get('fax') ) { <TR> - <TD ALIGN="right"><% mt('Fax') |h %></TD> + <TH ALIGN="right"><% mt('Fax') |h %></TH> <TD COLSPAN=3> <% $cust_main->get('fax') || ' ' %> </TD> @@ -171,9 +171,9 @@ % if ( $conf->exists('show_stateid') ) { <TR> - <TD ALIGN="right"><% $stateid_label %></TD> + <TH ALIGN="right"><% $stateid_label %></TH> <TD><% $cust_main->masked('stateid') || ' ' %></TD> - <TD ALIGN="right"><% $stateid_state_label %></TD> + <TH ALIGN="right"><% $stateid_state_label %></TH> <TD><% $cust_main->stateid_state || ' ' %></TD> </TR> diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index d9bf91e17..cb465f57e 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -4,7 +4,7 @@ % my @part_tag = $cust_main->part_tag; % if ( $conf->config('cust_tag-location') =~ /^(cust_misc|)$/ && @part_tag ) { <TR> - <TD ALIGN="right"><% mt('Tags') |h %></TD> + <TH ALIGN="right"><% mt('Tags') |h %></TH> <TD BGCOLOR="#ffffff"> % foreach my $part_tag ( @part_tag ) { <FONT <% length($part_tag->tagcolor) @@ -21,7 +21,7 @@ % && ! $conf->exists('cust_main-default_agent_custid') ) { <TR> - <TD ALIGN="right"><% mt('Agent customer ref#') |h %></TD> + <TH ALIGN="right"><% mt('Agent customer ref#') |h %></TH> <TD BGCOLOR="#ffffff"><% $cust_main->agent_custid %></TD> </TR> % |