// function loadSingleIPI(){ if( tlInterval!= null ){ window.clearInterval( tlInterval ); tlInterval = null; timelineObj = null; }; setUserContent( 11 ); var tPanel = Ext.getCmp('main_portal'); tPanel.removeAll( true ); Ext.getCmp('main_content').setTitle( 'Single IPI Monitoring' ); tPanel.add({ columnWidth: 1,//0.83 frame: false, border: false, items: [{ title: 'getLabel('_VIDEO_MONITORING_');?>', Query( $QS ); ?> frame: false, border: false, collapsible: false, draggable: false, layout: 'vbox', layoutConfig: { align : 'stretch', pack : 'start', }, height: PanelH-300, items:[{ height: PanelH-325, flex: 1, frame: false, border: false, layout: 'fit', items:{ id: 'event_map', html: Query( $QS ); $MODULE_DATA = $S[0]; $FU = 'http://' . $_SERVER['SERVER_ADDR'].':' . $MODULE_DATA['web_port'] .'/stream?id='. $STREAMID; echo "''"; } else if( count( $RetVal ) ){ echo "' Too Many Cameras are Defined For this Site'"; } else { echo "' No Cameras Defined On the Site!'"; }; ?> } }] },{ frame: false, border: true, collapsible: false, draggable: false, layout: 'hbox', items:[{ title: 'Event Log', height: 303, xtype: 'grid', border: false, frame: false, collapsible: false, draggable: false, ds: eventsListStore, cm: new Ext.grid.ColumnModel( eventsListColModel_ops ), sm: new Ext.grid.RowSelectionModel( eventsListSelModel_ops ), bbar: [{ text: 'Clear', handler: function(){ Ext.Ajax.request({ url: '/lib/controller/clearEventCloud.php', params: { UID: , SID: '' }, success: function( response, opts ){ }, failure: function( response, opts ) { } }); } }] }] }] }); //tPanel.add({ // columnWidth: 0.17, // title: 'Event Information', // frame: true, // id: 'prop_content', // border: false, // items: [{ // html:'
GetLabel('_PLS_SEL_LEFT_ITEM_');?>
' // }] //}); tPanel.doLayout(); };