4.x styling customer edit cleanup
authorIvan Kohler <ivan@freeside.biz>
Thu, 29 Sep 2016 16:25:37 +0000 (09:25 -0700)
committerIvan Kohler <ivan@freeside.biz>
Thu, 29 Sep 2016 16:25:37 +0000 (09:25 -0700)
httemplate/edit/cust_main/stateid.html
httemplate/elements/freeside.css
httemplate/elements/tr-censustract.html
httemplate/view/cust_main/contacts.html
httemplate/view/cust_main/misc.html

index 2655f51..3500d63 100644 (file)
@@ -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,
index cc104a1..8545ee5 100644 (file)
@@ -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;
 }
 
index 7a4b349..c7ca270 100644 (file)
@@ -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>
     &nbsp;<% $censusyear |h %>
index d75f114..1660c1c 100644 (file)
@@ -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>
 %   }
 %   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') || '&nbsp;' %>
     </TD>
 %   if ( $conf->exists('show_stateid') ) { 
 
 <TR>
-    <TD ALIGN="right"><% $stateid_label %></TD>
+    <TH ALIGN="right"><% $stateid_label %></TH>
     <TD><% $cust_main->masked('stateid') || '&nbsp' %></TD>
-    <TD ALIGN="right"><% $stateid_state_label %></TD>
+    <TH ALIGN="right"><% $stateid_state_label %></TH>
     <TD><% $cust_main->stateid_state || '&nbsp' %></TD>
   </TR>
 
index d9bf91e..cb465f5 100644 (file)
@@ -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>
 %