Files
SM2Gen/json5/example1.json5

48 lines
1.3 KiB
Plaintext

// Comment
{
//and another comment
PackageName: 'Example1', //and yet another comment
prefix: 'ex1',
MenuHeading: 'Network',
MenuDescription: 'Example 1',
MenuNavigation: '2000 400',
firstPanel: 'TABLE',
signalEvent: 'smeserver-example1-update',
html: [ {
Name: 'params',
route: 'PARAMS',
Header: 'Example Contrib',
SubHeader: 'Manage Ibay settings:',
Paragraph1: 'These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays//files',
Input1: {
Name: 'IbayName',
Type: 'Text',
Label: 'Information Bay name',
Value: 'stash("IbayName")',
},
Input2: {
Name: 'ShareOwnerGrp',
Type: 'Select',
Label: 'Share owner Group',
Options: [
{ Value : "All", Text : "Write = admin, Read = group"},
{ Value : "Read:All-Write:Grp", Text : "Write = group, Read = everyone"},
],
}
},
{
Name: 'select_ibay',
route:'TABLE',
Header: 'NFS Share Contrib',
SubHeader: 'Manage NFS Ibay settings:',
Nextpanel: 'PARAMS',
Table1: {
Type:'Table',
TableControl:"ibays",
TopHeadings: ['Name','Description','Status', 'Action'],
Columns: ['Name','Description','flag','Modify']
},
NextPanel:'PARAMS'
}
]
}