projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
37a37bc
)
4.x styling customer edit cleanup
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 29 Sep 2016 16:25:37 +0000
(09:25 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 29 Sep 2016 16:25:37 +0000
(09:25 -0700)
httemplate/edit/cust_main/stateid.html
patch
|
blob
|
history
httemplate/elements/freeside.css
patch
|
blob
|
history
httemplate/elements/tr-censustract.html
patch
|
blob
|
history
httemplate/view/cust_main/contacts.html
patch
|
blob
|
history
httemplate/view/cust_main/misc.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/cust_main/stateid.html
b/httemplate/edit/cust_main/stateid.html
index
2655f51
..
3500d63
100644
(file)
--- a/
httemplate/edit/cust_main/stateid.html
+++ b/
httemplate/edit/cust_main/stateid.html
@@
-1,6
+1,6
@@
% if ( $conf->exists('show_stateid') ) {
<TR>
% if ( $conf->exists('show_stateid') ) {
<TR>
- <T
D ALIGN="right"><% $stateid_label %></TD
>
+ <T
H 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,
<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
cc104a1
..
8545ee5
100644
(file)
--- a/
httemplate/elements/freeside.css
+++ b/
httemplate/elements/freeside.css
@@
-235,7
+235,8
@@
div.fstabcontainer {
.fsinnerbox th {
font-weight:normal;
font-size:80%;
.fsinnerbox th {
font-weight:normal;
font-size:80%;
- vertical-align: bottom;
+ vertical-align: top;
+ padding-top: 3px;
color: #666666;
}
color: #666666;
}
diff --git
a/httemplate/elements/tr-censustract.html
b/httemplate/elements/tr-censustract.html
index
7a4b349
..
c7ca270
100644
(file)
--- a/
httemplate/elements/tr-censustract.html
+++ b/
httemplate/elements/tr-censustract.html
@@
-1,6
+1,6
@@
% if ($location->country eq 'US' and $censustract) {
<TR>
% if ($location->country eq 'US' and $censustract) {
<TR>
- <T
D ALIGN="right"><% mt('Census tract') |h %></TD
>
+ <T
H ALIGN="right"><% mt('Census tract') |h %></TH
>
<TD COLSPAN=5>
<SPAN STYLE="background-color: #ffffff; border: 1px solid #ffffff"><% $censustract |h %></SPAN>
<% $censusyear |h %>
<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
d75f114
..
1660c1c
100644
(file)
--- 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>
% } elsif ( $this eq 'ship' ) {
% if ( $cust_main->ship_company ) { # mostly obsolete these days...
<TR>
- <T
D ALIGN="right"><% mt('Company') |h %></TD
>
+ <T
H ALIGN="right"><% mt('Company') |h %></TH
>
<TD COLSPAN=7><% $cust_main->ship_company |h %></TD>
</TR>
% }
<TD COLSPAN=7><% $cust_main->ship_company |h %></TD>
</TR>
% }
@@
-93,7
+93,7
@@
% if ( $location->locationname ) {
<TR>
% if ( $location->locationname ) {
<TR>
- <T
D ALIGN="right"><% mt('Location ID') |h %></TD
>
+ <T
H ALIGN="right"><% mt('Location ID') |h %></TH
>
<TD COLSPAN=7><% $location->locationname |h %></TD>
</TR>
% }
<TD COLSPAN=7><% $location->locationname |h %></TD>
</TR>
% }
@@
-160,7
+160,7
@@
% if ( $cust_main->get('fax') ) {
<TR>
% if ( $cust_main->get('fax') ) {
<TR>
- <T
D ALIGN="right"><% mt('Fax') |h %></TD
>
+ <T
H ALIGN="right"><% mt('Fax') |h %></TH
>
<TD COLSPAN=3>
<% $cust_main->get('fax') || ' ' %>
</TD>
<TD COLSPAN=3>
<% $cust_main->get('fax') || ' ' %>
</TD>
@@
-171,9
+171,9
@@
% if ( $conf->exists('show_stateid') ) {
<TR>
% if ( $conf->exists('show_stateid') ) {
<TR>
- <T
D ALIGN="right"><% $stateid_label %></TD
>
+ <T
H ALIGN="right"><% $stateid_label %></TH
>
<TD><% $cust_main->masked('stateid') || ' ' %></TD>
<TD><% $cust_main->masked('stateid') || ' ' %></TD>
- <T
D ALIGN="right"><% $stateid_state_label %></TD
>
+ <T
H ALIGN="right"><% $stateid_state_label %></TH
>
<TD><% $cust_main->stateid_state || ' ' %></TD>
</TR>
<TD><% $cust_main->stateid_state || ' ' %></TD>
</TR>
diff --git
a/httemplate/view/cust_main/misc.html
b/httemplate/view/cust_main/misc.html
index
d9bf91e
..
cb465f5
100644
(file)
--- 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>
% my @part_tag = $cust_main->part_tag;
% if ( $conf->config('cust_tag-location') =~ /^(cust_misc|)$/ && @part_tag ) {
<TR>
- <T
D ALIGN="right"><% mt('Tags') |h %></TD
>
+ <T
H ALIGN="right"><% mt('Tags') |h %></TH
>
<TD BGCOLOR="#ffffff">
% foreach my $part_tag ( @part_tag ) {
<FONT <% length($part_tag->tagcolor)
<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>
% && ! $conf->exists('cust_main-default_agent_custid') ) {
<TR>
- <T
D ALIGN="right"><% mt('Agent customer ref#') |h %></TD
>
+ <T
H ALIGN="right"><% mt('Agent customer ref#') |h %></TH
>
<TD BGCOLOR="#ffffff"><% $cust_main->agent_custid %></TD>
</TR>
%
<TD BGCOLOR="#ffffff"><% $cust_main->agent_custid %></TD>
</TR>
%