You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
825 B
37 lines
825 B
//<?php require_once('../../js_asm.php'); ?>
|
|
|
|
var devicesStore = new Ext.data.JsonStore({
|
|
root: 'nodes',
|
|
totalProperty: 'totalCount',
|
|
idProperty: 'id',
|
|
remoteSort: true,
|
|
fields: [{
|
|
name: 'id',
|
|
type: 'int'
|
|
},{
|
|
name: 'name',
|
|
type: 'string'
|
|
},{
|
|
name: 'hardware',
|
|
type: 'string'
|
|
},{
|
|
name: 'caps',
|
|
type: 'int'
|
|
},{
|
|
name: 'ip',
|
|
type: 'string'
|
|
},{
|
|
name: 'mac',
|
|
type: 'string'
|
|
}],
|
|
proxy : new Ext.data.HttpProxy({
|
|
method: 'POST',
|
|
prettyUrls: false,
|
|
url: '/lib/controller/listDiscoveredCameraSources.php',
|
|
headers: {
|
|
'UID': '<?=$CUser->Data['id'];?>',
|
|
'SID': '<?=$Session;?>'
|
|
}
|
|
})
|
|
});
|
|
|