Add in checking panels, add in readonly to textarea

This commit is contained in:
Brian Read 2024-10-19 20:06:46 +01:00
parent 0f5c4f948c
commit d5a771f6f3
2 changed files with 41 additions and 6 deletions

View File

@ -16,7 +16,7 @@
%=l('${prefix}_${Label}')
</span><span class=data>
% 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}
</span><br>
]]></Textarea>

View File

@ -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',
}
}
]
}