Add in letsencrypt SM2 module data

This commit is contained in:
2024-10-18 15:34:35 +01:00
parent 0ed0d09811
commit d83a74100e
13 changed files with 1195 additions and 0 deletions

50
json5/Diskusage.json5 Normal file
View File

@@ -0,0 +1,50 @@
//
// Generated by sm1-html-2-json5 version:0.5 Chameleon version:4.5.4 On Python:3.12.3 at 2024-09-23 09:05:51
//
{
'PackageName': 'Diskusage',
'prefix': 'd',
'MenuHeading': 'Miscellaneous',
'MenuDescription': 'Diskusage',
'MenuNavigation': '2000 400',
'firstPanel': 'PARAMS',
'signalEvent': 'smeserver-diskusage-update',
'html': [
{
'Name': 'params',
'route': 'PARAMS',
'Header': 'Disk usage',
'SubHeader': 'Manage Diskusage settings:',
'Paragraph1': 'Wed Sep 11 19:01:00 BST 2024',
'Preformatted1': 'Filesystem Size Used Avail Use% Mounted on\n/dev/mapper/main-root 29G 4.8G 24G 17% /\ndevtmpfs 2.0G 0 2.0G 0% /dev\ntmpfs 2.0G 12K 2.0G 1% /dev/shm\ntmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup\ntmpfs 2.0G 648K 2.0G 1% /run\n/dev/sda1 497M 111M 386M 23% /boot',
'Table1': {
'Type': 'Table',
'TableControl': 'Table1',
'TopHeadings': [
'I-bays',
'Usage',
'Path'
],
'Columns': [
'Table1-I-bays',
'Table1-Usage',
'Table1-Path'
]
},
'Table2': {
'Type': 'Table',
'TableControl': 'Table2',
'TopHeadings': [
'Users',
'Usage',
'Path'
],
'Columns': [
'Table2-Users',
'Table2-Usage',
'Table2-Path'
]
}
}
]
}

View File

@@ -0,0 +1,165 @@
//
// Generated by sm1-html-2-json5 version:0.5 Chameleon version:4.5.4 On Python:3.12.3 at 2024-10-18 14:43:51
//
{
'PackageName': 'letsencrypt-config',
'prefix': '',
'MenuHeading': 'Miscellaneous',
'MenuDescription': 'letsencrypt-config',
'MenuNavigation': '2000 400',
'firstPanel': 'PARAMS',
'signalEvent': 'smeserver-letsencrypt-config-update',
'html': [
{
'Name': 'params',
'route': 'PARAMS',
'Header': 'FORM_TITLE',
'SubHeader': 'Manage letsencrypt-config settings:',
'Paragraph1': 'CONFIG_LE',
'Paragraph2': 'SERVICE_STATUS',
'Input1': {
'Type': 'Select',
'Value': '',
'Name': 'status',
'Label': null,
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'enabled',
'Text': 'Enabled'
},
{
'Value': 'test',
'Text': 'TEST'
}
]
},
'Paragraph3': 'HOOKSCRIPT_STATUS',
'Input2': {
'Type': 'Select',
'Value': '',
'Name': 'hookScript',
'Label': null,
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'enabled',
'Text': 'Enabled'
}
]
},
'Paragraph4': 'HOSTOVERRIDE_STATUS',
'Input3': {
'Type': 'Select',
'Value': '',
'Name': 'hostOverride',
'Label': null,
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'yes',
'Text': 'Yes'
}
]
},
'Paragraph5': 'ACCEPT_TERMS_STATUS',
'Input4': {
'Type': 'Select',
'Value': '',
'Name': 'ACCEPT_TERMS',
'Label': null,
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'yes',
'Text': 'Yes'
}
]
},
'Paragraph6': 'API_STATUS',
'Input5': {
'Type': 'Select',
'Value': '',
'Name': 'API',
'Label': null,
'Options': [
{
'Value': '2',
'Text': '2'
}
]
},
'Paragraph7': 'KEYSIZE_STATUS',
'Input6': {
'Type': 'Select',
'Value': '',
'Name': 'keysize',
'Label': null,
'Options': [
{
'Value': '2048',
'Text': '2048'
},
{
'Value': '3072',
'Text': '3072'
},
{
'Value': '4096',
'Text': '4096'
}
]
},
'Paragraph8': 'CONFIGUREMODE_STATUS',
'Input7': {
'Type': 'Select',
'Value': '',
'Name': 'configure',
'Label': null,
'Options': [
{
'Value': 'all',
'Text': 'ALL'
},
{
'Value': 'domains',
'Text': 'Domains'
},
{
'Value': 'hosts',
'Text': 'HOSTS'
},
{
'Value': 'none',
'Text': 'NONE'
}
]
},
'Paragraph9': 'EMAIL',
'Input8': {
'Type': 'Text',
'Value': '',
'Name': 'email',
'Label': null
},
'Input9': {
'Type': 'Submit',
'Value': 'Save',
'Name': 'Next',
'Label': null
}
}
]
}

View File

@@ -0,0 +1,201 @@
//
// Generated by sm1-html-2-json5 version:0.5 Chameleon version:4.5.4 On Python:3.12.3 at 2024-10-18 14:47:03
//
{
'PackageName': 'letsencrypt-list',
'prefix': 'lets',
'MenuHeading': 'Miscellaneous',
'MenuDescription': 'letsencrypt',
'MenuNavigation': '2000 400',
'firstPanel': 'LIST',
'signalEvent': 'smeserver-letsencrypt-list-update',
'html': [
{
'Name': 'List',
'route': 'LIST',
'Header': 'lets_List of Domains',
'SubHeader': 'lets_FORM_DESCRIPTION',
'Subheader': 'SERVER_IPS',
Input1: {
Name: 'InternalIP',
Type: 'Text',
Label: 'Internal IP',
Value: 'stash("InternalIP")',
},
Input2: {
Name: 'ObserverIP',
Type: 'Text',
Label: 'Observer IP',
Value: 'stash("ObserverIP")',
},
'Table1': {
'Type': 'Table',
'TableControl': 'DomainList',
'TopHeadings': [
'Domain name / HOSTNAME',
'Brief description',
'Content',
'LABEL_NAMESERVERS',
'LABEL_POINT',
'LABEL_LECERT',
'IS_IN_CERT',
'CHECK'
],
'Columns': [
'Table1-Domain name / HOSTNAME',
'Table1-Brief description',
'Table1-Content',
'Table1-LABEL_NAMESERVERS',
'Table1-LABEL_POINT',
'Table1-LABEL_LECERT',
'Table1-IS_IN_CERT',
'Table1-CHECK'
]
}
},
{
'Name': 'params',
'route': 'PARAMS',
'Header': 'Configuration for Letsencrypt',
'SubHeader': 'Manage letsencrypt-config settings:',
'Paragraph1': 'CONFIG_LETSENCRYPT',
'Input1': {
'Type': 'Select',
'Value': '',
'Name': 'status',
'Label': 'SERVICE_STATUS',
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'enabled',
'Text': 'Enabled'
},
{
'Value': 'test',
'Text': 'TEST'
}
]
},
'Input2': {
'Type': 'Select',
'Value': '',
'Name': 'hookScript',
'Label': 'HOOKSCRIPT_STATUS',
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'enabled',
'Text': 'Enabled'
}
]
},
'Input3': {
'Type': 'Select',
'Value': '',
'Name': 'hostOverride',
'Label': 'HOSTOVERRIDE_STATUS',
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'yes',
'Text': 'Yes'
}
]
},
'Input4': {
'Type': 'Select',
'Value': '',
'Name': 'ACCEPT_TERMS',
'Label': 'ACCEPT_TERMS_STATUS',
'Options': [
{
'Value': 'disabled',
'Text': 'Disabled'
},
{
'Value': 'yes',
'Text': 'Yes'
}
]
},
'Input5': {
'Type': 'Select',
'Value': '',
'Name': 'API',
'Label': 'API_STATUS',
'Options': [
{
'Value': '2',
'Text': '2'
}
]
},
'Input6': {
'Type': 'Select',
'Value': '',
'Name': 'keysize',
'Label': 'KEYSIZE_STATUS',
'Options': [
{
'Value': '2048',
'Text': '2048'
},
{
'Value': '3072',
'Text': '3072'
},
{
'Value': '4096',
'Text': '4096'
}
]
},
'Input7': {
'Type': 'Select',
'Value': '',
'Name': 'configure',
'Label': 'CONFIGUREMODE_STATUS',
'Options': [
{
'Value': 'all',
'Text': 'ALL'
},
{
'Value': 'domains',
'Text': 'Domains'
},
{
'Value': 'hosts',
'Text': 'HOSTS'
},
{
'Value': 'none',
'Text': 'NONE'
}
]
},
'Paragraph9': 'EMAIL',
'Input8': {
'Type': 'Text',
'Value': '',
'Name': 'email',
'Label': 'EMAIL''
},
'Input9': {
'Type': 'Submit',
'Value': 'Save',
'Name': 'Next',
'Label': null
}
}
]
}