flexview/webif/plugin/flexview/DirColModel.json

99 lines
4.0 KiB
JSON

// Column definition for Directory tree table
{name:"id", key:true, width: 250, hidden:true},
{ name: "sel", label: 'Sel',
hidden:false, width: 20, sortable:false, search: false,
formatter: "checkbox", formatoptions: {disabled: false},
},
{ name: "title", label: "Directory",
hidden:false, width: 250, sorttype: "text",
searchoptions: {sopt: ["cn", "bw", "ew"]},
},
{ name:'opt', label: "Opt+", hidden:false, width:47,
sortable:false, search: false,
formatter: fmtDOpt
},
{ name: "dir", label: "Directory path", hidden: true,
width: 250, sorttype: "text",
searchoptions: {sopt: ["cn", "bw", "ew"]},
},
{ name: "psize", label: "Size", hidden:false, width: 70,
align: "right", sorttype: "number", index: "dsize" ,
searchoptions: {sopt: ["lt", "gt"],searchOperMenu: true, clearSearch: false},
},
{ name: "dsize", label: "unformatted size Kb",
hidden: true, width: 90,
align: "right", sorttype: "number" ,
searchoptions: {sopt: ["lt", "gt"],searchOperMenu: true, clearSearch: false},
},
{ name:'autodecryptR',
label: icons.autodecryptr + ' Recursive Auto-Decrypt',
hidden:false, width:22,
stype: 'select',
searchoptions: {value: {1:"Rec Auto-Decrypt",0:"Not Auto-Decrypt",'':"-   All"}, searchOperMenu: false, clearSearch: false},
formatter: fmtIcon, formatoptions: {img: icons.autodecryptr}
},
{ name:'autodecrypt',
label: icons.autodecrypt + ' Auto-Decrypt',
hidden:false, width:22,
stype: 'select',
searchoptions: {value: {1:"Auto-Decrypt",0:"Not Auto-Decrypt",'':"-   All"}, searchOperMenu: false, clearSearch: false},
formatter: fmtIcon, formatoptions: {img: icons.autodecrypt}
},
{ name:'autoshrinkR',
label: icons.autoshrinkr + ' Recursive Auto Shrink',
hidden:false, width:22,
stype: 'select',
searchoptions: {value: {1:"Rec Auto-Shrink",0:"Not Auto-Shrink",'':"-   All"}, searchOperMenu: false, clearSearch: false},
formatter: fmtIcon, formatoptions: {img: icons.autoshrinkr}
},
{ name:'autoshrink',
label: icons.autoshrink + ' Auto-Shrink',
hidden:false, width:22,
stype: 'select',
searchoptions: {value: {1:"Auto-Shrink",0:"Not Auto-Shrink",'':"-   All"}, searchOperMenu: false, clearSearch: false},
formatter: fmtIcon, formatoptions: {img: icons.autoshrink}
},
{ name:'autodedup',
label: icons.autodedup + ' Auto-Deduplicate',
hidden:false, width:22,
stype: 'select',
searchoptions: {value: {1:"Auto-Deduplicate",0:"Not Auto-Deduplicate",'':"-   All"}, searchOperMenu: false, clearSearch: false},
formatter: fmtIcon, formatoptions: {img: icons.autodedup}
},
{ name:'autoexpire',
label: icons.autoexpire + ' Auto-Expire',
hidden:false, width:22,
stype: 'select',
searchoptions: {value: {1:"Auto-Expire",0:"Not Auto-Expire",'':"-   All"}, searchOperMenu: false, clearSearch: false},
formatter: fmtIcon, formatoptions: {img: icons.autoexpire}
},
{ name:'autompg',
label: icons.autompg + ' Auto-mpg',
hidden:false, width:22,
stype: 'select',
searchoptions: {value: {1:"Auto-mpg",0:"Not Auto-mpg",'':"-   All"}, searchOperMenu: false, clearSearch: false},
formatter: fmtIcon, formatoptions: {img: icons.autompg}
},
{ name:'automp3',
label: icons.automp3 + ' Auto-mp3',
hidden:false, width:22,
stype: 'select',
searchoptions: {value: {1:"Auto-mp3",0:"Not Auto-mp3",'':"-   All"}, searchOperMenu: false, clearSearch: false},
formatter: fmtIcon, formatoptions: {img: icons.automp3}
},
{ name:'tvdbseriesid',
label: icons.tvdb + ' theTVDB',
hidden:false, width:25,
stype: 'select',
searchoptions: {value: {1:"theTVDB",0:"Not theTVDB",'':"-   All"}, searchOperMenu: false, clearSearch: false},
formatter: fmtIcon, formatoptions: {img: icons.tvdb}
},
{ name:'series',
label: icons.series + ' Series',
hidden:false, width:35,
stype: 'select',
searchoptions: {value: {1:"Series",0:"Not Series",'':"-   All"}, searchOperMenu: false, clearSearch: false},
formatter: fmtIcon, formatoptions: {img: icons.series}
},