Sort out selection options

This commit is contained in:
2024-10-19 18:58:55 +01:00
parent 964771d876
commit 0f5c4f948c
14 changed files with 681 additions and 37 deletions

View File

@@ -3,7 +3,7 @@
//
{
'PackageName': 'letsencrypt-config',
'prefix': '',
'prefix': 'lets',
'MenuHeading': 'Miscellaneous',
'MenuDescription': 'letsencrypt-config',
'MenuNavigation': '2000 400',
@@ -17,11 +17,11 @@
'SubHeader': 'Manage letsencrypt-config settings:',
'Paragraph1': 'CONFIG_LE',
'Paragraph2': 'SERVICE_STATUS',
'Input1': {
'Input1': {
'Type': 'Select',
'Value': '',
'Value': 'Disabled',
'Name': 'status',
'Label': null,
'Label': 'SERVICE_STATUS',
'Options': [
{
'Value': 'disabled',
@@ -37,12 +37,11 @@
}
]
},
'Paragraph3': 'HOOKSCRIPT_STATUS',
'Input2': {
'Type': 'Select',
'Value': '',
'Name': 'hookScript',
'Label': null,
'Label': 'HOOKSCRIPT_STATUS',
'Options': [
{
'Value': 'disabled',
@@ -54,12 +53,11 @@
}
]
},
'Paragraph4': 'HOSTOVERRIDE_STATUS',
'Input3': {
'Type': 'Select',
'Value': '',
'Name': 'hostOverride',
'Label': null,
'Label': 'HOSTOVERRIDE_STATUS',
'Options': [
{
'Value': 'disabled',
@@ -71,12 +69,11 @@
}
]
},
'Paragraph5': 'ACCEPT_TERMS_STATUS',
'Input4': {
'Type': 'Select',
'Value': '',
'Name': 'ACCEPT_TERMS',
'Label': null,
'Label': 'ACCEPT_TERMS_STATUS',
'Options': [
{
'Value': 'disabled',
@@ -88,12 +85,11 @@
}
]
},
'Paragraph6': 'API_STATUS',
'Input5': {
'Type': 'Select',
'Value': '',
'Name': 'API',
'Label': null,
'Label': 'API_STATUS',
'Options': [
{
'Value': '2',
@@ -101,12 +97,11 @@
}
]
},
'Paragraph7': 'KEYSIZE_STATUS',
'Input6': {
'Type': 'Select',
'Value': '',
'Name': 'keysize',
'Label': null,
'Label': 'KEYSIZE_STATUS',
'Options': [
{
'Value': '2048',
@@ -122,12 +117,11 @@
}
]
},
'Paragraph8': 'CONFIGUREMODE_STATUS',
'Input7': {
'Type': 'Select',
'Value': '',
'Name': 'configure',
'Label': null,
'Label': 'CONFIGUREMODE_STATUS',
'Options': [
{
'Value': 'all',
@@ -147,12 +141,11 @@
}
]
},
'Paragraph9': 'EMAIL',
'Input8': {
'Type': 'Text',
'Value': '',
'Name': 'email',
'Label': null
'Label': 'EMAIL'
},
'Input9': {
'Type': 'Submit',

View File

@@ -22,7 +22,7 @@
Name: 'ShareOwnerGrp',
Type: 'Select',
Label: 'Share owner Group',
Value: [
Options: [
'Write = admin, Read = group',
'Write = group, Read = everyone',
'Write = group, Read = group',
@@ -33,7 +33,7 @@
Name: 'EnableNFSshare',
Type: 'Select',
Label: 'Enable the NFS Share',
Value: [
Options: [
'Disabled',
'Enabled',
],
@@ -43,7 +43,7 @@
Name: 'ShareOnLocalNetwork',
Type: 'Select',
Label: 'EnableShare on local network',
Value: [
Options: [
'Disabled',
'Enabled',
],
@@ -60,7 +60,7 @@
Name: 'FileSystemPermissions',
Type: 'Select',
Label: 'File system permissions',
Value: [
Options: [
'Read only',
'Read and Write',
],
@@ -70,7 +70,7 @@
Name: 'WriteAsync',
Type: 'Select',
Label: 'Write (a)synchronously',
Value: [
Options: [
'Synchronous',
'Asynchronous',
],
@@ -79,7 +79,7 @@
Name: 'DelayWrite',
Type: 'Select',
Label: 'Delays the disk writing',
Value: [
Options: [
'Write delay',
'No write delay',
],
@@ -89,7 +89,7 @@
Name: 'Squash',
Type: 'Select',
Label: 'Squash the power of users',
Value: [
Options: [
'All users squash',
'No root squash',
'root squash',
@@ -100,7 +100,7 @@
Name: 'BrowseParents',
Type: 'Select',
Label: 'Browse the parent folders',
Value: [
Options: [
'Hide folder',
'Show folder',
],
@@ -110,7 +110,7 @@
Name: 'SecurePorts',
Type: 'Select',
Label: 'Requests on secure ports',
Value: [
Options: [
'Secure',
'Insecure',
],