diff --git a/admin/index_m.html b/admin/index_m.html index e0f0b99..225e02d 100644 --- a/admin/index_m.html +++ b/admin/index_m.html @@ -101,10 +101,11 @@ var fields = [ - {name: 'deviceId' , title: _('deviceId'), type: 'text', width: '60px', sorter: 'number'}, + {name: 'deviceId' , title: _('deviceId'), type: 'text', width: '30px', sorter: 'number'}, {name: 'ip' , title: _('ip'), type: 'text', width: '110px', sorter: 'number'}, {name: 'port' , title: _('port'), type: 'text', width: '60px', sorter: 'number'}, - {name: 'name' , title: _('Name'), type: 'text', width: '*'}, + {name: 'username' , title: _('Name'), type: 'text', width: '*'}, + {name: 'password' , title: _('Name'), type: 'text', width: '*'}, {name: 'description', title: _('Description'), type: 'text', width: '*'}, { type: 'control', width: '80px'} ]; @@ -249,13 +250,6 @@ if (data[id].length) { var max = 0; obj.item.role = data[id][data[id].length - 1].role; - obj.item.poll = data[id][data[id].length - 1].poll; - obj.item.wp = data[id][data[id].length - 1].wp; - obj.item.cw = data[id][data[id].length - 1].cw; - obj.item.type = data[id][data[id].length - 1].type; - obj.item.len = data[id][data[id].length - 1].len; - obj.item.factor = data[id][data[id].length - 1].factor; - obj.item.offset = data[id][data[id].length - 1].offset; obj.item.deviceId = data[id][data[id].length - 1].deviceId; var len;