Fix error on json5 lint fail and add AdminLTE theme generated templates
This commit is contained in:
48
json5/example1.json5
Normal file
48
json5/example1.json5
Normal file
@@ -0,0 +1,48 @@
|
||||
// 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'
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user