|
|
@ -408,7 +408,7 @@ monitor.folders.search.init = function(){
|
|
|
|
term = term.replace(/\x32/g,'')
|
|
|
|
term = term.replace(/\x32/g,'')
|
|
|
|
if (term.length == 0) {
|
|
|
|
if (term.length == 0) {
|
|
|
|
monitor.folders.render.summary(data)
|
|
|
|
monitor.folders.render.summary(data)
|
|
|
|
} else if (term.length > 3) {
|
|
|
|
} else if (term.length > 0) {
|
|
|
|
|
|
|
|
|
|
|
|
data = jx.utils.patterns.visitor(data, function (row) {
|
|
|
|
data = jx.utils.patterns.visitor(data, function (row) {
|
|
|
|
if (row.id.match(term)) {
|
|
|
|
if (row.id.match(term)) {
|
|
|
@ -517,9 +517,9 @@ monitor.folders.render.summary = function (data) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
options.paging = true
|
|
|
|
options.paging = true
|
|
|
|
options.pageSize = 4
|
|
|
|
options.pageSize = 4
|
|
|
|
options.pageIndex = 1
|
|
|
|
options.pageIndex = 2
|
|
|
|
options.pageButtonCount = 4
|
|
|
|
options.pageButtonCount = 4
|
|
|
|
options.pagerContainer = '#latest_process_pager'
|
|
|
|
options.pagerContainer = '#folderspager'
|
|
|
|
options.pagerFormat= "{prev} Page {pageIndex} of {pageCount} {next}"
|
|
|
|
options.pagerFormat= "{prev} Page {pageIndex} of {pageCount} {next}"
|
|
|
|
options.pagePrevText= '<i class="fa fa-chevron-left"></i>'
|
|
|
|
options.pagePrevText= '<i class="fa fa-chevron-left"></i>'
|
|
|
|
options.pageNextText= "<i class='fa fa-chevron-right small' title='Next'> </i>"
|
|
|
|
options.pageNextText= "<i class='fa fa-chevron-right small' title='Next'> </i>"
|
|
|
@ -546,7 +546,7 @@ monitor.folders.render.summary = function (data) {
|
|
|
|
options.autoload = true
|
|
|
|
options.autoload = true
|
|
|
|
options.fields = [
|
|
|
|
options.fields = [
|
|
|
|
{ name: 'id', type: 'text', title: "Host", headercss: "small bold", css: "small"},
|
|
|
|
{ name: 'id', type: 'text', title: "Host", headercss: "small bold", css: "small"},
|
|
|
|
{ name: 'label', type: 'text', title: "Folder Name", headercss: "small bold", css: "small"},
|
|
|
|
{ name: 'name', type: 'text', title: "Folder Name", headercss: "small bold", css: "small"},
|
|
|
|
|
|
|
|
|
|
|
|
{ name: "size", type: "number", title: "Folder Size", type: "number", headercss: "small bold" },
|
|
|
|
{ name: "size", type: "number", title: "Folder Size", type: "number", headercss: "small bold" },
|
|
|
|
{ name: "count", type: "number", title: "File Count", type: "number", headercss: "small bold" }
|
|
|
|
{ name: "count", type: "number", title: "File Count", type: "number", headercss: "small bold" }
|
|
|
|