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.

58 lines
2.0 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
5 years ago
​
​
​
​
​
​
​
​
  1. {
  2. xtype: 'form',
  3. labelWidth: 75, // label settings here cascade unless overridden
  4. frame: false,
  5. bodyStyle:'padding:5px 5px 0',
  6. defaultType: 'textfield',
  7. items: [{
  8. xtype: 'panel',
  9. height: 100,
  10. html: '<p align="center"><img src="/style/assets/%%%TYPE%%%_node.png"><br/>%%%NAME%%%<br/></p>'
  11. },{
  12. xtype: 'fieldset',
  13. title: 'Event Data',
  14. autoHeight: true,
  15. items: [{
  16. xtype: 'panel',
  17. html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Azimuth: %%%AZIMUTH%%%</p>'
  18. },{
  19. xtype: 'panel',
  20. html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Elevation: %%%ELEVETION%%%</p>'
  21. },{
  22. xtype: 'panel',
  23. html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Range: %%%RANGE%%%</p>'
  24. }]
  25. },{
  26. xtype:'fieldset',
  27. //checkboxToggle:true,
  28. collapsible: true,
  29. title: 'Location',
  30. autoHeight: true,
  31. defaults: {
  32. //width: 180
  33. },
  34. defaultType: 'textfield',
  35. collapsed: false,
  36. items :[{
  37. xtype: 'panel',
  38. //html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;"><a href="https://www.google.com/maps/@%%%LAT%%%,%%%LON%%%,19z" target="-new">Goole Map</a></p>'
  39. html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;"><a href="https://www.google.com/maps/search/?api=1&query=%%%LAT%%%,%%%LON%%%" target="-new">Goole Map</a></p>'
  40. },{
  41. xtype: 'panel',
  42. html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Lat: %%%LAT%%%</p>'
  43. },{
  44. xtype: 'panel',
  45. html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Lon: %%%LON%%%</p>'
  46. },{
  47. xtype: 'panel',
  48. html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Alt: %%%ALT%%%</p>'
  49. }]
  50. },%%%VIDEOSECTION%%%]
  51. /*
  52. buttons: [{
  53. text: 'Update',
  54. width: '100%',
  55. handler: updateLocationOrientation
  56. }]
  57. */
  58. }