Web UI for ARGUS server
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.

35 lines
821 B

6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //<?php require_once('../../js_asm.php'); ?>
  2. var devicesStore = new Ext.data.JsonStore({
  3. root: 'nodes',
  4. totalProperty: 'totalCount',
  5. idProperty: 'id',
  6. remoteSort: true,
  7. fields: [{
  8. name: 'id',
  9. type: 'int'
  10. },{
  11. name: 'name',
  12. type: 'string'
  13. },{
  14. name: 'hardware',
  15. type: 'string'
  16. },{
  17. name: 'caps',
  18. type: 'int'
  19. },{
  20. name: 'ip',
  21. type: 'string'
  22. },{
  23. name: 'mac',
  24. type: 'string'
  25. }],
  26. proxy : new Ext.data.HttpProxy({
  27. method: 'POST',
  28. prettyUrls: false,
  29. url: '/lib/controller/listDiscoveredCameraSources.php',
  30. headers: {
  31. 'UID': '<?=$CUser->Data['id'];?>',
  32. 'SID': '<?=$Session;?>'
  33. }
  34. })
  35. });