diff options
author | Ivan Kohler <ivan@freeside.biz> | 2021-07-08 09:51:27 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2021-07-08 09:51:27 -0700 |
commit | 50cc2b95894b151599b458462dcd83edb68980ce (patch) | |
tree | 2044d033b76d929703ccc685d24d7119d993862e /httemplate/elements | |
parent | 9b8823fca219e54ece55ebddf75d3943c8108a5e (diff) |
4.x style
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/columnnext.html | 8 | ||||
-rw-r--r-- | httemplate/elements/columnstart.html | 2 | ||||
-rw-r--r-- | httemplate/elements/tr-justtitle.html | 6 | ||||
-rw-r--r-- | httemplate/elements/tr-pkg_svc.html | 18 |
4 files changed, 20 insertions, 14 deletions
diff --git a/httemplate/elements/columnnext.html b/httemplate/elements/columnnext.html index 4dfe82fd8..da8286e64 100644 --- a/httemplate/elements/columnnext.html +++ b/httemplate/elements/columnnext.html @@ -1,4 +1,10 @@ </TABLE> </TD> <TD VALIGN="top" STYLE="padding-left:12px"> - <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + <FONT CLASS="fsinnerbox-title"><% $opt{value} %></FONT><BR> + <TABLE CLASS="fsinnerbox"> +<%init> + +my %opt = @_; + +</%init> diff --git a/httemplate/elements/columnstart.html b/httemplate/elements/columnstart.html index 245c308a7..40f7cad40 100644 --- a/httemplate/elements/columnstart.html +++ b/httemplate/elements/columnstart.html @@ -16,7 +16,7 @@ Pass 'aligned' => 1 to have corresponding rows in the columns line up. <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 id="<%$id%>"> <TR> <TD VALIGN="top"> - <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + <TABLE CLASS="fsinnerbox"> % if ( $aligned ) { %# Instead of changing all the tr-* elements to sometimes output table %# cells without wrapping them in a row, we're just going to completely diff --git a/httemplate/elements/tr-justtitle.html b/httemplate/elements/tr-justtitle.html index b87f7e128..316ea69a8 100644 --- a/httemplate/elements/tr-justtitle.html +++ b/httemplate/elements/tr-justtitle.html @@ -1,7 +1,7 @@ <TR> - <TH CLASS="background" COLSPAN=<% $opt{colspan} || 2 %> ALIGN="left" <%$id%>> - <FONT SIZE="+1"><% $opt{value} %></FONT> - </TH> + <TD CLASS="background" COLSPAN=<% $opt{colspan} || 2 %> ALIGN="left" <%$id%>> + <FONT CLASS="fsinnerbox-title"><% $opt{value} %></FONT> + </TD> </TR> <%init> diff --git a/httemplate/elements/tr-pkg_svc.html b/httemplate/elements/tr-pkg_svc.html index de3f95a3a..232454576 100644 --- a/httemplate/elements/tr-pkg_svc.html +++ b/httemplate/elements/tr-pkg_svc.html @@ -131,8 +131,8 @@ provision_hold_init(); % if ( scalar(@possible_exports) > 0 || scalar(@mapped_exports) > 0 ) { <TABLE><TR> - <TH BGCOLOR="#dcdcdc">Export</TH> - <TH BGCOLOR="#dcdcdc">Vendor Package Id <FONT SIZE="-2">(blank to delete)</FONT></TH> + <TH>Export</TH> + <TH>Vendor Package Id <FONT SIZE="-2">(blank to delete)</FONT></TH> </TR> % foreach my $export ( @mapped_exports ) { <TR> @@ -166,14 +166,14 @@ my $cgi = $opt{'cgi'}; my $thead_count = 0; sub pkg_svc_thead { $thead_count += 1; - return "\n\n". ntable('#cccccc', 2). + return "\n\n". '<TABLE CLASS="fsinnerbox">'. '<TR>'. - '<TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH>'. - '<TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Primary</FONT></TH>'. - '<TH BGCOLOR="#dcdcdc">Service</TH>'. - '<TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide<BR>from<BR>Invoices</FONT></TH>'. - '<TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Bulk<BR>Charge</FONT></TH>'. - '<TH BGCOLOR="#dcdcdc" ID="th_provision_hold' . $thead_count . '"><FONT SIZE=-1>Remove Hold After Provisioning</FONT></TH>'. + '<TH><FONT SIZE=-1>Quan.</FONT></TH>'. + '<TH><FONT SIZE=-1>Primary</FONT></TH>'. + '<TH>Service</TH>'. + '<TH><FONT SIZE=-1>Hide<BR>from<BR>Invoices</FONT></TH>'. + '<TH><FONT SIZE=-1>Bulk<BR>Charge</FONT></TH>'. + '<TH ID="th_provision_hold' . $thead_count . '"><FONT SIZE=-1>Remove Hold After Provisioning</FONT></TH>'. '</TR>'. qq!<SCRIPT>provision_hold_td.push(document.getElementById('th_provision_hold$thead_count'))</SCRIPT>!; ; |