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.
 
 
 
 

59 lines
2.0 KiB

{
xtype: 'form',
labelWidth: 75, // label settings here cascade unless overridden
frame: false,
bodyStyle:'padding:5px 5px 0',
defaultType: 'textfield',
items: [{
xtype: 'panel',
height: 100,
html: '<p align="center"><img src="/style/assets/%%%TYPE%%%_node.png"><br/>%%%NAME%%%<br/></p>'
},{
xtype: 'fieldset',
title: 'Event Data',
autoHeight: true,
items: [{
xtype: 'panel',
html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Azimuth: %%%AZIMUTH%%%</p>'
},{
xtype: 'panel',
html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Elevation: %%%ELEVETION%%%</p>'
},{
xtype: 'panel',
html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Range: %%%RANGE%%%</p>'
}]
},{
xtype:'fieldset',
//checkboxToggle:true,
collapsible: true,
title: 'Location',
autoHeight: true,
defaults: {
//width: 180
},
defaultType: 'textfield',
collapsed: false,
items :[{
xtype: 'panel',
//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>'
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>'
},{
xtype: 'panel',
html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Lat: %%%LAT%%%</p>'
},{
xtype: 'panel',
html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Lon: %%%LON%%%</p>'
},{
xtype: 'panel',
html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Alt: %%%ALT%%%</p>'
}]
},%%%VIDEOSECTION%%%]
/*
buttons: [{
text: 'Update',
width: '100%',
handler: updateLocationOrientation
}]
*/
}