From: Ivan Kohler Date: Thu, 8 Jul 2021 16:51:27 +0000 (-0700) Subject: 4.x style X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=50cc2b95894b151599b458462dcd83edb68980ce;hp=9b8823fca219e54ece55ebddf75d3943c8108a5e 4.x style --- diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index 78e4427e0..0a0b01e11 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -206,9 +206,8 @@ #recurring frequency #recurring fee (auto-disable) - { type => 'columnnext' }, + { type => 'columnnext', value=>'Taxation', }, - {type=>'justtitle', value=>'Taxation' }, {field=>'setuptax', type=>'checkbox', value=>'Y'}, {field=>'recurtax', type=>'checkbox', value=>'Y'}, {field=>'taxclass', type=>'select-taxclass' }, @@ -243,9 +242,7 @@ ) ), - { type => 'columnnext' }, - - {type=>'justtitle', value=>'Agent (reseller) types' }, + { type => 'columnnext', value=>'Agent (reseller) types' }, { field => 'agent_type', type => 'select-agent_type', @@ -857,8 +854,9 @@ my $javascript = <<'END'; supp_pkg_rows[0].style.display = 'none'; var button = document.getElementById('show_supp_pkgs'); button.onclick = show_supp_pkgs_click; - button.style.backgroundColor = '#cccccc'; - button.style.border = '1px solid #7e0079'; + //button.style.backgroundColor = '#cccccc'; + //button.style.border = '1px solid #7e0079'; + button.style.border = 'thin solid #999999'; button.style.padding = '1px'; } } @@ -914,7 +912,7 @@ my $html_bottom = sub { my $layer_callback = sub { my $layer = shift; - my $html = ntable("#cccccc",2); + my $html = ''; #$html .= ' # 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 @@
- + <% $opt{value} %>
+
+<%init> + +my %opt = @_; + + 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.
- +
% 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 @@ - + <%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 ) {
ALIGN="left" <%$id%>> - <% $opt{value} %> - ALIGN="left" <%$id%>> + <% $opt{value} %> +
- - + + % foreach my $export ( @mapped_exports ) { @@ -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". '
ExportVendor Package Id (blank to delete)ExportVendor Package Id (blank to delete)
'. ''. - ''. - ''. - ''. - ''. - ''. - ''. + ''. + ''. + ''. + ''. + ''. + ''. ''. qq!!; ;
Quan.PrimaryServiceHide
from
Invoices
Bulk
Charge
Remove Hold After ProvisioningQuan.PrimaryServiceHide
from
Invoices
Bulk
Charge
Remove Hold After Provisioning