Add in one domain check and create specific back entry
This commit is contained in:
parent
96a8ae336d
commit
d0a84da130
46
Targets/Letsencrypt/_lets_CHECKONEDDOMAINS.html.ep
Normal file
46
Targets/Letsencrypt/_lets_CHECKONEDDOMAINS.html.ep
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
%#
|
||||||
|
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-11-06 10:28:31
|
||||||
|
%#
|
||||||
|
<div id="Letsencrypt-CHECKONEDDOMAINS" class="partial Letsencrypt-CHECKONEDDOMAINS">
|
||||||
|
<script>
|
||||||
|
window.onload = function() {
|
||||||
|
SelectInput();
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
% if ($config->{debug} == 1) {
|
||||||
|
<pre>
|
||||||
|
%= dumper $lets_data
|
||||||
|
</pre>
|
||||||
|
% }
|
||||||
|
% my $btn = l('lets_APPLY');
|
||||||
|
%= form_for "letsencryptu" => (method => 'POST') => begin
|
||||||
|
% param 'trt' => $lets_data->{trt} unless param 'trt';
|
||||||
|
%= hidden_field 'trt' => $lets_data->{trt}
|
||||||
|
%# Inputs etc in here.
|
||||||
|
|
||||||
|
<h1 class='head'><%=l('lets_Check_just_one_domain')%></h1>
|
||||||
|
|
||||||
|
<h2 class='subh'><%=l('lets_Loop_through_checking_the_letsencrypt')%></h2>
|
||||||
|
|
||||||
|
<p><span class=label>
|
||||||
|
%=l('lets_Domains_name')
|
||||||
|
</span><span class=data>
|
||||||
|
% param 'OneDomainsToCheck' => $lets_data->{OneDomainsToCheck} unless param 'OneDomainsToCheck';
|
||||||
|
%= text_field 'OneDomainsToCheck', size => '50', class => 'textinput OneDomainsToCheck' , pattern=>'.*' , placeholder=>'OneDomainsToCheck', Readonly=>'true'
|
||||||
|
<br></span></p>
|
||||||
|
|
||||||
|
<span class=label>
|
||||||
|
%=l('lets_Enabled_domains_check_result')
|
||||||
|
</span><span class=data>
|
||||||
|
% param 'EnabledDomainsCheck' => $lets_data->{EnabledDomainsCheck} unless param 'EnabledDomainsCheck';
|
||||||
|
%= text_area 'EnabledDomainsCheck', cols=>40, rows=>10, Readonly=>'true'
|
||||||
|
</span><br>
|
||||||
|
|
||||||
|
<span class='data'>
|
||||||
|
%= submit_button l('lets_Back'), class => 'action back', onclick =>'history.back()'
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
%# Probably finally by a submit.
|
||||||
|
%end
|
||||||
|
</div>
|
@ -7,21 +7,22 @@
|
|||||||
SelectInput();
|
SelectInput();
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<pre>
|
% if ($config->{debug} == 1) {
|
||||||
%# dumper $lets_data
|
<pre>
|
||||||
%# dumper $c->stash('DomainList')
|
%= dumper $lets_data
|
||||||
</pre>
|
</pre>
|
||||||
|
% }
|
||||||
% my $btn = l('lets_APPLY');
|
% my $btn = l('lets_APPLY');
|
||||||
%= form_for "Letsencryptd" => (method => 'POST') => begin
|
%= form_for "letsencryptu" => (method => 'POST') => begin
|
||||||
|
|
||||||
% param 'trt' => $lets_data->{trt} unless param 'trt';
|
% param 'trt' => $lets_data->{trt} unless param 'trt';
|
||||||
%= hidden_field 'trt' => $lets_data->{trt}
|
%= hidden_field 'trt' => $lets_data->{trt}
|
||||||
%# Inputs etc in here.
|
%# Inputs etc in here.
|
||||||
|
|
||||||
<div class="inline-buttons">
|
<div class="inline-buttons">
|
||||||
%= button_to l('lets_CONFIG'), 'letsencrypt?page=0&page_stack=&Next=Next&wherenext=CONFIG_PAGE' , class=>'buttonlink link2'
|
%= link_to l('lets_CONFIG'), 'letsencryptd?trt=PARAMS' , class=>'link link2'
|
||||||
%= button_to l('lets_CHECK_ALL_DOMAINS'), 'letsencrypt?page=0&page_stack=&Next=Next&wherenext=CHECK_DOMAINS_PAGE' , class=>'buttonlink link3'
|
%= link_to l('lets_CHECK_ALL_DOMAINS'), 'letsencryptd?trt=CHECKALLDOMAINS' , class=>'link link3'
|
||||||
%= button_to l('lets_CHECK_ENABLED_DOMAINS'), 'letsencrypt?page=0&page_stack=&Next=Next&wherenext=CHECK_ENABLED_DOMAINS_PAGE' , class=>'buttonlink link4'
|
%= link_to l('lets_CHECK_ENABLED_DOMAINS'), 'letsencryptd?trt=CHECKALLENABLEDDOMAINS' , class=>'link link4'
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
%#
|
%#
|
||||||
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-11-05 13:20:33
|
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-11-05 16:44:50
|
||||||
%#
|
%#
|
||||||
<div id="Letsencrypt-PARAMS" class="partial Letsencrypt-PARAMS">
|
<div id="Letsencrypt-PARAMS" class="partial Letsencrypt-PARAMS">
|
||||||
<script>
|
<script>
|
||||||
@ -7,8 +7,13 @@
|
|||||||
SelectInput();
|
SelectInput();
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
% if ($config->{debug} == 1) {
|
||||||
|
<pre>
|
||||||
|
%= dumper $lets_data
|
||||||
|
</pre>
|
||||||
|
% }
|
||||||
% my $btn = l('lets_APPLY');
|
% my $btn = l('lets_APPLY');
|
||||||
%= form_for "Letsencryptd" => (method => 'POST') => begin
|
%= form_for "letsencryptu" => (method => 'POST') => begin
|
||||||
|
|
||||||
% param 'trt' => $lets_data->{trt} unless param 'trt';
|
% param 'trt' => $lets_data->{trt} unless param 'trt';
|
||||||
%= hidden_field 'trt' => $lets_data->{trt}
|
%= hidden_field 'trt' => $lets_data->{trt}
|
||||||
@ -82,6 +87,10 @@
|
|||||||
%= submit_button l('lets_Save'), class => 'action subm9'
|
%= submit_button l('lets_Save'), class => 'action subm9'
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
<span class='data'>
|
||||||
|
%= submit_button l('lets_Back'), class => 'action subm10'
|
||||||
|
</span>
|
||||||
|
|
||||||
%# Probably finally by a submit.
|
%# Probably finally by a submit.
|
||||||
%end
|
%end
|
||||||
</div>
|
</div>
|
@ -252,6 +252,13 @@
|
|||||||
]]>
|
]]>
|
||||||
</ButtonLink>
|
</ButtonLink>
|
||||||
|
|
||||||
|
<Back><![CDATA[
|
||||||
|
<span class='data'>
|
||||||
|
%= submit_button l('${Value}'), class => 'action back', onclick =>'history.back()'
|
||||||
|
</span>
|
||||||
|
]]>
|
||||||
|
</Back>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -251,7 +251,7 @@
|
|||||||
'Readonly':'true'
|
'Readonly':'true'
|
||||||
},
|
},
|
||||||
'Input2': {
|
'Input2': {
|
||||||
'Type': 'Submit',
|
'Type': 'Back',
|
||||||
'Value': 'Back',
|
'Value': 'Back',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -267,9 +267,31 @@
|
|||||||
'Readonly':'true'
|
'Readonly':'true'
|
||||||
},
|
},
|
||||||
'Input2': {
|
'Input2': {
|
||||||
'Type': 'Submit',
|
'Type': 'Back',
|
||||||
|
'Value': 'Back',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ 'Name':'CheckOneDomains',
|
||||||
|
'route':'CHECKONEDDOMAINS',
|
||||||
|
'Header': 'Check just one domain',
|
||||||
|
'SubHeader': 'Loop through checking the letsencrypt status for a specific domain',
|
||||||
|
'Input1': {
|
||||||
|
'Type': 'ReadonlyText',
|
||||||
|
'Name': 'OneDomainToCheck',
|
||||||
|
'Label': 'Domains name',
|
||||||
|
},
|
||||||
|
'Input2': {
|
||||||
|
'Type': 'Textarea',
|
||||||
|
'Name': 'OneDomainsCheck',
|
||||||
|
'Label': 'One domain check result',
|
||||||
|
'Rows':20,
|
||||||
|
'Readonly':'true'
|
||||||
|
},
|
||||||
|
'Input3': {
|
||||||
|
'Type': 'Back',
|
||||||
'Value': 'Back',
|
'Value': 'Back',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user