diff --git a/Templates/html_controls.html.ep.xml b/Templates/html_controls.html.ep.xml
index aa40f38..6d434ad 100644
--- a/Templates/html_controls.html.ep.xml
+++ b/Templates/html_controls.html.ep.xml
@@ -16,7 +16,7 @@
%=l('${prefix}_${Label}')
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
- %= text_area '${Name}', cols=>${cols | 40}, rows=>${rows | 10}
+ %= text_area '${Name}', cols=>${cols | 40}, rows=>${rows | 10}, Readonly=>${Readonly | false}
]]>
diff --git a/json5/Letsencrypt.json5 b/json5/Letsencrypt.json5
index 0bb033b..bfe72a3 100644
--- a/json5/Letsencrypt.json5
+++ b/json5/Letsencrypt.json5
@@ -4,9 +4,9 @@
{
'PackageName': 'Letsencrypt',
'prefix': 'lets',
- 'MenuHeading': 'Miscellaneous',
- 'MenuDescription': 'letsencrypt',
- 'MenuNavigation': '2000 400',
+ 'MenuHeading': 'Network',
+ 'MenuDescription': 'Letsencrypt certificate',
+ 'MenuNavigation': '6000 6600',
'firstPanel': 'LIST',
'signalEvent': 'smeserver-letsencrypt-update',
'html': [
@@ -184,7 +184,7 @@
]
},
'Input8': {
- 'Type': 'Text',
+ 'Type': 'Email',
'Value': '',
'Name': 'email',
'Label': 'EMAIL'
@@ -195,6 +195,41 @@
'Name': 'Next',
'Label': null
}
- }
+ },
+ { 'Name':'CheckAllDomains',
+ 'route':'CHECKALLDOMAINS',
+ 'Header': 'Check all domains',
+ 'SubHeader': 'Loop through checking the letsencrypt status for each configured domain',
+ 'Input1': {
+ 'Type': 'Textarea',
+ 'Value': '',
+ 'Name': 'AllDomainsCheck',
+ 'Label': 'All domains check result',
+ 'Rows':20,
+ 'Readonly':true
+ }
+ 'Input2': {
+ 'Type': 'Submit',
+ 'Value': 'Back',
+ }
+ },
+ { 'Name':'CheckAllEnabledDomains',
+ 'route':'CHECKALLENABLEDDOMAINS',
+ 'Header': 'Check all enabled domains',
+ 'SubHeader': 'Loop through checking the letsencrypt status for each configured domain wihch is enabled',
+ 'Input1': {
+ 'Type': 'Textarea',
+ 'Value': '',
+ 'Name': 'EnabledDomainsCheck',
+ 'Label': 'Enabled domains check result',
+ 'Rows':20
+ 'Readonly':true
+ }
+ 'Input2': {
+ 'Type': 'Submit',
+ 'Value': 'Back',
+ }
+ }
+
]
}
\ No newline at end of file