198 lines
6.4 KiB
Plaintext
198 lines
6.4 KiB
Plaintext
//
|
|
// Generated by sm1-html-2-json5 version:0.5 Chameleon version:3.8.1 On Python:3.12.3 at 2025-05-20 15:40:34
|
|
//
|
|
{
|
|
'PackageName': 'shared-folders_modify',
|
|
'prefix': '',
|
|
'MenuHeading': 'Miscellaneous',
|
|
'MenuDescription': 'shared-folders_modify',
|
|
'MenuNavigation': '2000 400',
|
|
'firstPanel': 'PARAMS',
|
|
'signalEvent': 'smeserver-shared-folders_modify-update',
|
|
'html': [
|
|
{
|
|
'Name': 'params',
|
|
'route': 'PARAMS',
|
|
'Header': 'Create, modify, or remove shared folders',
|
|
'SubHeader': 'Create or modify a shared folder',
|
|
'Input1': {
|
|
'Type': 'Text',
|
|
'Value': 'New one',
|
|
'Name': 'description',
|
|
'Label': 'description'
|
|
},
|
|
'Paragraph1': 'The following settings control the access of this shared folder from the local network, using the SMB/CIFS protocol.',
|
|
'Input2': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'smbaccess',
|
|
'Label': 'smbaccess',
|
|
'Options': [
|
|
{
|
|
'Value': 'browseable',
|
|
'Text': 'Enabled, browseable'
|
|
},
|
|
{
|
|
'Value': 'non-browseable',
|
|
'Text': 'Enabled, hidden'
|
|
},
|
|
{
|
|
'Value': 'none',
|
|
'Text': 'No access'
|
|
}
|
|
]
|
|
},
|
|
'Input3': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'recyclebin',
|
|
'Label': 'recyclebin',
|
|
'Options': [
|
|
{
|
|
'Value': 'disabled',
|
|
'Text': 'disabled'
|
|
},
|
|
{
|
|
'Value': 'enabled',
|
|
'Text': 'Enabled, keep only the latest version'
|
|
},
|
|
{
|
|
'Value': 'keep-versions',
|
|
'Text': 'Enabled, keep a copy of all versions'
|
|
}
|
|
]
|
|
},
|
|
'Input4': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'retention',
|
|
'Label': 'retention',
|
|
'Options': [
|
|
{
|
|
'Value': '30',
|
|
'Text': 'one month'
|
|
},
|
|
{
|
|
'Value': '7',
|
|
'Text': 'one week'
|
|
},
|
|
{
|
|
'Value': '365',
|
|
'Text': 'one year'
|
|
},
|
|
{
|
|
'Value': '180',
|
|
'Text': 'six months'
|
|
},
|
|
{
|
|
'Value': 'unlimited',
|
|
'Text': 'unlimited'
|
|
}
|
|
]
|
|
},
|
|
'Paragraph2': 'The following settings control the access of this shared folder using the HTTP/HTTPS protocol.',
|
|
'Input5': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'httpaccess',
|
|
'Label': 'httpaccess',
|
|
'Options': [
|
|
{
|
|
'Value': 'global',
|
|
'Text': 'Entire Internet (no password required)'
|
|
},
|
|
{
|
|
'Value': 'global-pw',
|
|
'Text': 'Entire Internet (password required)'
|
|
},
|
|
{
|
|
'Value': 'global-pw-remote',
|
|
'Text': 'Entire Internet (password required outside local network)'
|
|
},
|
|
{
|
|
'Value': 'local',
|
|
'Text': 'Local network (no password required)'
|
|
},
|
|
{
|
|
'Value': 'local-pw',
|
|
'Text': 'Local network (password required)'
|
|
},
|
|
{
|
|
'Value': 'none',
|
|
'Text': 'No access'
|
|
}
|
|
]
|
|
},
|
|
'Input6': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'webdav',
|
|
'Label': 'webdav',
|
|
'Options': [
|
|
{
|
|
'Value': 'disabled',
|
|
'Text': 'disabled'
|
|
},
|
|
{
|
|
'Value': 'enabled',
|
|
'Text': 'enabled'
|
|
}
|
|
]
|
|
},
|
|
'Input7': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'requireSSL',
|
|
'Label': 'requireSSL',
|
|
'Options': [
|
|
{
|
|
'Value': 'disabled',
|
|
'Text': 'disabled'
|
|
},
|
|
{
|
|
'Value': 'enabled',
|
|
'Text': 'enabled'
|
|
}
|
|
]
|
|
},
|
|
'Input8': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'indexes',
|
|
'Label': 'indexes',
|
|
'Options': [
|
|
{
|
|
'Value': 'disabled',
|
|
'Text': 'disabled'
|
|
},
|
|
{
|
|
'Value': 'enabled',
|
|
'Text': 'enabled'
|
|
}
|
|
]
|
|
},
|
|
'Input9': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'dynamic',
|
|
'Label': 'dynamic',
|
|
'Options': [
|
|
{
|
|
'Value': 'disabled',
|
|
'Text': 'disabled'
|
|
},
|
|
{
|
|
'Value': 'enabled',
|
|
'Text': 'enabled'
|
|
}
|
|
]
|
|
},
|
|
'Input10': {
|
|
'Type': 'Submit',
|
|
'Value': 'Save',
|
|
'Name': 'Next',
|
|
'Label': 'Next'
|
|
}
|
|
}
|
|
]
|
|
} |