diff --git a/Targets/Letsencrypt/Letsencrypt-Custom.pm b/Targets/Letsencrypt/Letsencrypt-Custom.pm index cfdad6e..854dcfa 100644 --- a/Targets/Letsencrypt/Letsencrypt-Custom.pm +++ b/Targets/Letsencrypt/Letsencrypt-Custom.pm @@ -82,6 +82,20 @@ our $ddb = esmith::DomainsDB->open() || die("Couldn't open Domains db"); 'Data1'=>'Data for PARAMS', #Example # fields from Inputs in PARAMS $fields['PARAMS'] + 'status'=>'status contents', + + 'hookScript'=>'hookScript contents', + + 'hostOverride'=>'hostOverride contents', + + 'ACCEPT_TERMS'=>'ACCEPT_TERMS contents', + + 'API'=>'API contents', + + 'keysize'=>'keysize contents', + + 'configure'=>'configure contents', + ); return %ret; @@ -94,6 +108,8 @@ our $ddb = esmith::DomainsDB->open() || die("Couldn't open Domains db"); 'Data1'=>'Data for CHECKALLDOMAINS', #Example # fields from Inputs in CHECKALLDOMAINS $fields['CHECKALLDOMAINS'] + 'AllDomainsCheck'=>'AllDomainsCheck contents', + ); return %ret; @@ -106,6 +122,8 @@ our $ddb = esmith::DomainsDB->open() || die("Couldn't open Domains db"); 'Data1'=>'Data for CHECKALLENABLEDDOMAINS', #Example # fields from Inputs in CHECKALLENABLEDDOMAINS $fields['CHECKALLENABLEDDOMAINS'] + 'EnabledDomainsCheck'=>'EnabledDomainsCheck contents', + ); return %ret; diff --git a/Targets/Letsencrypt/_lets_LIST.html.ep b/Targets/Letsencrypt/_lets_LIST.html.ep index c964c76..efd2da6 100644 --- a/Targets/Letsencrypt/_lets_LIST.html.ep +++ b/Targets/Letsencrypt/_lets_LIST.html.ep @@ -8,7 +8,7 @@ };
- %= dumper $lets_data + %# dumper $lets_data %# dumper $c->stash('DomainList')% my $btn = l('lets_APPLY'); diff --git a/Templates/html_controls.html.ep.xml b/Templates/html_controls.html.ep.xml index bee5512..926f949 100644 --- a/Templates/html_controls.html.ep.xml +++ b/Templates/html_controls.html.ep.xml @@ -80,7 +80,8 @@ %=l('${prefix}_${Label}') %=Search field - %=search_field , class => 'searc${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=search_field '${Name}' , class => 'searc${type_serial}' span> ]]> @@ -89,7 +90,8 @@
%=l('${Label}') - %=URL_field , class => 'url${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=URL_field '${Name}' , class => 'url${type_serial}' span>
]]> @@ -98,7 +100,8 @@%=l('${Label}') - %=tel_field, class => 'tel${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=tel_field '${Name}', class => 'tel${type_serial}' span>
]]> @@ -107,7 +110,8 @@%=l('${Label}') - %=email_field, class => 'emai${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=email_field '${Name}', class => 'emai${type_serial}' span>
]]> @@ -116,7 +120,8 @@%=l('${Label}') - %=password_field, class => 'pass${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=password_field '${Name}', class => 'pass${type_serial}' span>
]]> @@ -125,7 +130,8 @@%=l('${Label}') - %=timedate_field, class => 'time${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=timedate_field '${Name}', class => 'time${type_serial}' span>
]]> @@ -134,7 +140,8 @@%=l('${Label}') - %=week_field, class => 'week${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=week_field '${Name}', class => 'week${type_serial}' span>
]]> @@ -143,7 +150,8 @@%=l('${Label}') - %=month_field, class => 'mont${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=month_field '${Name}', class => 'mont${type_serial}' span>
]]> @@ -152,7 +160,8 @@%=l('${Label}') - %=range_field, class => 'rang${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=range_field '${Name}', class => 'rang${type_serial}' span>
]]> @@ -161,7 +170,8 @@%=l('${Label}') - %=radio_field, class => 'radi${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=radio_field '${Name}', class => 'radi${type_serial}' span>
]]> @@ -170,7 +180,8 @@%=l('${Label}') - %=number_field, class => 'numb${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=number_field '${Name}', class => 'numb${type_serial}' span>
]]> @@ -179,7 +190,8 @@%=l('${Label}') - %=file_field, class => 'file${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=file_field '${Name}', class => 'file${type_serial}' span>
]]> @@ -188,7 +200,8 @@%=l('${Label}') - %=color_field, class => 'colo${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=color_field '${Name}', class => 'colo${type_serial}' span>
]]> @@ -197,7 +210,8 @@%=l('${Label}') - %=checkbox_field, class => 'chec${type_serial}' + % param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}'; + %=checkbox_field '${Name}', class => 'chec${type_serial}' span>
]]> diff --git a/Templates/partial.html.ep.tem b/Templates/partial.html.ep.tem index 5f9d3ea..4c0b13b 100644 --- a/Templates/partial.html.ep.tem +++ b/Templates/partial.html.ep.tem @@ -7,6 +7,9 @@ SelectInput(); }; ++%= dumper $$${prefix}_data +% my $btn = l('APPLY'); %= form_for "${PackageName}d" => (method => 'POST') => begin diff --git a/html/letsencrypt-list.html b/html/letsencrypt-list.html index f91d794..13bb04f 100644 --- a/html/letsencrypt-list.html +++ b/html/letsencrypt-list.html @@ -33,7 +33,10 @@ href="letsencrypt?page=0&page_stack=&Next=Next&wherenext=CHECK_DOMAINS_PAGE">CHECK_ALL_DOMAINS CHECK_ENABLED_DOMAINS -
> Issuer: /C=--/ST=----/L=Ottawa/O=XYZ Corporation/OU=Main/CN=sme11.thereadclan.me.uk/emailAddress=admin@thereadclan.me.uk
Expiry: 2025-10-03T02:09:03Z
Not Before: 2024-10-03T02:09:03Z
> Issuer: /C=--/ST=----/L=Ottawa/O=XYZ Corporation/OU=Main/CN=sme11.thereadclan.me.uk/emailAddress=admin@thereadclan.me.uk
+
Expiry: 2025-10-03T02:09:03Z
+
Not Before: 2024-10-03T02:09:03Z