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.

659 lines
16 KiB

​
2 years ago
​
​
​
​
​
12 months ago
​
​
​
​
​
​
​
​
​
​
​
​
​
12 months ago
12 months ago
​
​
​
​
​
​
12 months ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
12 months ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
12 months ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
12 months ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
12 months ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
12 months ago
12 months ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
12 months ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
12 months ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //<?php require_once('../../js_asm.php'); ?>
  2. function uuidv4() {
  3. return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, c =>
  4. (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)
  5. );
  6. }
  7. function ssShowSS() {
  8. if( monitoringActiveSession ){
  9. ssResetTimer();
  10. return;
  11. };
  12. ssStopTimer();
  13. document.removeEventListener( "mousemove", ssResetTimer );
  14. document.removeEventListener( "mousedown", ssResetTimer );
  15. document.removeEventListener( "keypress", ssResetTimer );
  16. document.removeEventListener( "touchmove", ssResetTimer );
  17. document.addEventListener( "mousemove", ssHideSS, false );
  18. document.addEventListener( "mousedown", ssHideSS, false );
  19. document.addEventListener( "keypress", ssHideSS, false );
  20. document.addEventListener( "touchmove", ssHideSS, false );
  21. document.getElementById('ss_bg').className='ss_bg_overlay';
  22. document.getElementById('ss_content').className='ss_overlay';
  23. ssShowTime();
  24. updateSSMode( 1 );
  25. changeContent(0,0,'');
  26. updateUserContent();
  27. showContent();
  28. if( ssInterval == null ){
  29. ssInterval = window.setInterval( ssShowTime, 333 );
  30. };
  31. ssIsActive = true;
  32. autoRiseEvent = true;
  33. };
  34. function ssShowTime(){
  35. document.getElementById('ss_content').style.fontSize = '240px';
  36. var currentdate = new Date();
  37. var cTime = (( currentdate.getHours()<10 )? '0'+currentdate.getHours(): currentdate.getHours() ) + ":" + (( currentdate.getMinutes()<10 )? '0'+currentdate.getMinutes(): currentdate.getMinutes() ) + ":" + (( currentdate.getSeconds()<10 )? '0'+currentdate.getSeconds(): currentdate.getSeconds() );
  38. document.getElementById('ss_content').innerHTML= cTime;
  39. };
  40. function ssResetTimer() {
  41. ssStopTimer();
  42. ssStartTimer();
  43. };
  44. function ssStartTimer() {
  45. if( ssTimer == null ){
  46. ssTimer = window.setTimeout( ssShowSS, ssTimeOut );
  47. };
  48. };
  49. function ssStopTimer() {
  50. if( ssTimer ){
  51. window.clearTimeout( ssTimer );
  52. ssTimer = null;
  53. };
  54. };
  55. function ssSetupTimer() {
  56. document.addEventListener( "mousemove", ssResetTimer, false);
  57. document.addEventListener( "mousedown", ssResetTimer, false);
  58. document.addEventListener( "keypress", ssResetTimer, false);
  59. document.addEventListener( "touchmove", ssResetTimer, false);
  60. ssStartTimer();
  61. };
  62. function ssHideSS(){
  63. document.getElementById('ss_bg').className='ss_hidden';
  64. document.getElementById('ss_content').className='ss_hidden';
  65. document.removeEventListener( "mousemove", ssHideSS );
  66. document.removeEventListener( "mousedown", ssHideSS );
  67. document.removeEventListener( "keypress", ssHideSS );
  68. document.removeEventListener( "touchmove", ssHideSS );
  69. if( ssInterval != null ){
  70. window.clearInterval( ssInterval );
  71. ssInterval = null;
  72. };
  73. updateSSMode( 0 );
  74. ssIsActive = true;
  75. autoRiseEvent = true;
  76. var tt = Ext.getCmp('aer_button');
  77. if( tt != undefined ){
  78. tt.toggle( true, true );
  79. } else doRefresh();
  80. ssSetupTimer();
  81. ssIsActive = false;
  82. };
  83. var sndBeep = null;
  84. var sndExcl = null;
  85. function playSound( t ){
  86. if( SoundEnable ){
  87. switch( t ){
  88. case 1:{
  89. if( sndBeep == null ) sndBeep = new Howl({
  90. src: [
  91. '/style/assets/audio/beep-07a.mp3',
  92. '/style/assets/audio/beep-07a.wav'
  93. ],
  94. loop: false,
  95. volume: 0.99,
  96. onend: function() {
  97. //console.log('Finished!');
  98. }
  99. });
  100. sndBeep.volume( SoundMode / 3 );
  101. if( !sndBeep.playing() ) sndBeep.play();
  102. break;
  103. };
  104. default:{
  105. if( sndExcl == null ) sndExcl = new Howl({
  106. src: [
  107. '/style/assets/audio/button-42.mp3',
  108. '/style/assets/audio/button-42.wav'
  109. ],
  110. loop: false,
  111. volume: 0.99
  112. });
  113. sndExcl.volume( SoundMode / 3 );
  114. if( !sndExcl.playing() ) sndExcl.play();
  115. };
  116. };
  117. };
  118. };
  119. function doRefresh(){
  120. window.location="/?t=" + uuidv4();//crypto.randomUUID();
  121. };
  122. function doLogout(){
  123. window.location = '/login.php?login=guest';//'/login.php?UID=1';
  124. };
  125. function stopStatusUpdater(){
  126. if( tlInterval!= null ){
  127. window.clearInterval( tlInterval );
  128. tlInterval = null;
  129. };
  130. };
  131. function failureAJAXFunction( responce, opts ){
  132. //if( tlInterval!= null ){
  133. // window.clearInterval( tlInterval );
  134. // tlInterval = null;
  135. // };
  136. //playSound();
  137. //Ext.Msg.show({
  138. // title:'<?=$Labels->GetLabel('_REQ_FAILURE_');?>',
  139. // msg: '<?=$Labels->GetLabel('_AJX_REQFAILURE_');?>',
  140. // buttons: Ext.Msg.OK,
  141. // icon: Ext.MessageBox.INFO
  142. // });
  143. //doLogout();
  144. };
  145. function doCheckHeap(){
  146. if( performance != undefined ){
  147. if( performance.memory != undefined ){
  148. cMV = performance.memory;
  149. //console.log( cMV.totalJSHeapSize );
  150. if( cMV.totalJSHeapSize > MemCheckMaxHS ) doRefresh();
  151. if( tlMemCheckInterval == null ){
  152. tlMemCheckInterval = window.setInterval( doCheckHeap, 3000 );
  153. };
  154. };
  155. };
  156. if (performance.measureUserAgentSpecificMemory) {
  157. try {
  158. const memorySample = performance.measureUserAgentSpecificMemory();
  159. console.log(`Total page memory usage: ${memorySample.bytes} bytes`);
  160. } catch (error) {
  161. console.error("Measurement failed:", error);
  162. };
  163. };
  164. };
  165. function doUserOperation( OPId, Param, reload ){
  166. Ext.Ajax.request({
  167. url: '/lib/controller/updateUserSettings.php',
  168. params: {
  169. UID: <?=$UserID;?>,
  170. SID: '<?=$Session;?>',
  171. SSS: OPId,
  172. CID: Param
  173. },
  174. success: function( response, opts ){
  175. if( reload ) doRefresh();
  176. },
  177. failure: failureAJAXFunction
  178. });
  179. };
  180. function updateUserScreenResolution( x, y ){
  181. Ext.Ajax.request({
  182. url: '/lib/controller/updateUserSettings.php',
  183. params: {
  184. UID: <?=$UserID;?>,
  185. SID: '<?=$Session;?>',
  186. SSS: 15,
  187. WID: x,
  188. HEI: y
  189. },
  190. success: function( response, opts ){
  191. doRefresh();
  192. },
  193. failure: failureAJAXFunction
  194. });
  195. };
  196. //var contentChangesCount = 0;
  197. function updateUserContent(){
  198. var ser_c = Ext.encode( contentView );
  199. if( contentViewConfig != ser_c ) {
  200. Ext.Ajax.request({
  201. url: '/lib/controller/updateUserSettings.php',
  202. params: {
  203. UID: <?=$UserID;?>,
  204. SID: '<?=$Session;?>',
  205. SSS: 26,
  206. CID: ser_c
  207. },
  208. success: function(){
  209. contentViewConfig = ser_c;
  210. //Handle Memory by Checking Heap Sizes in Timer Function
  211. //contentChangesCount++;
  212. //if( contentChangesCount%5== 0 ) doRefresh();
  213. },
  214. failure: failureAJAXFunction
  215. });
  216. return true;
  217. };
  218. return false;
  219. };
  220. if( contentView.l == undefined ){
  221. contentView.l =[];
  222. contentView.l[0] = { v: 0, p: '' };
  223. contentView.l[1] = { v: 0, p: '' };
  224. contentView.l[2] = { v: 0, p: '' };
  225. contentView.l[3] = { v: 0, p: '' };
  226. updateUserContent();
  227. };
  228. function updateSSMode( mode ){
  229. Ext.Ajax.request({
  230. url: '/lib/controller/updateUserSettings.php',
  231. params: {
  232. UID: <?=$UserID;?>,
  233. SID: '<?=$Session;?>',
  234. SSS: 27,
  235. CID: mode
  236. }
  237. });
  238. };
  239. var gSessionValidatorInterval = null;
  240. function sessionValidator(){
  241. var cTS = (new Date())/1000;
  242. Ext.Ajax.request({
  243. url: '/lib/controller/validateUserSession.php',
  244. params: {
  245. UID: <?=$UserID;?>,
  246. SID: '<?=$Session;?>',
  247. CTS: cTS
  248. },
  249. success: function( response, opts ){
  250. var data = Ext.decode(response.responseText);
  251. if( !data.sessionIsValid ){
  252. playSound();
  253. Ext.Msg.show({
  254. title:'<?=$Labels->GetLabel('_REQ_FAILURE_');?>',
  255. msg: '<?=$Labels->GetLabel('_AJX_REQFAILURE_');?>',
  256. buttons: Ext.Msg.OK,
  257. icon: Ext.MessageBox.INFO
  258. });
  259. doLogout();
  260. };
  261. },
  262. failure: failureAJAXFunction
  263. });
  264. };
  265. function doCheckWindowSize(){
  266. if (parseInt(navigator.appVersion)>3) {
  267. if (navigator.appName=="Netscape") {
  268. winW2 = window.innerWidth;
  269. winH2 = window.innerHeight;
  270. if ( winH2<700 ) winH2=700;
  271. };
  272. if (navigator.appName.indexOf("Microsoft")!=-1) {
  273. winW2 = document.body.offsetWidth;
  274. winH2 = document.body.offsetHeight;
  275. if ( winH2<700 ) winH2=700;
  276. };
  277. };
  278. if ( winW2 != winW || winH2!=winH ){
  279. updateUserScreenResolution( winW2, winH2 );
  280. };
  281. };
  282. var NotificationStack = null;
  283. function tryKeepScreenAlive(minutes) {
  284. navigator.wakeLock.request("screen").then(lock => {
  285. setTimeout(() => lock.release(), minutes * 60 * 1000);
  286. });
  287. }
  288. function changeContent( lvl, ctx, param ){
  289. if( lvl <= contentView.l.length ){
  290. for( i = 0; i< contentView.l.length; i++){
  291. if( i == lvl ){
  292. contentView.l[i].p = param;
  293. contentView.l[i].v = ctx;
  294. } else if( i > lvl ) {
  295. contentView.l[i].p = '';
  296. contentView.l[i].v = 0;
  297. };
  298. };
  299. } else {
  300. contentView.l[lvl]={
  301. v: ctx,
  302. p: ''
  303. };
  304. };
  305. };
  306. function showContent( force ){
  307. if( force || updateUserContent() ){
  308. switch( contentView.l[0].v ){
  309. case 0:{
  310. if( typeof mSesPlay !== 'undefined' ) if( mSesPlay!= null ) {
  311. mSesPlay.dispose();
  312. mSesPlay = null;
  313. };
  314. var tt = Ext.getCmp('tbtn_0');
  315. tt.toggle( true, true );
  316. tt = Ext.getCmp('tbtn_1');
  317. tt.toggle( false, true );
  318. tt = Ext.getCmp('tbtn_2');
  319. tt.toggle( false, true );
  320. var tP = Ext.getCmp('left_side_menu');
  321. tP.setVisible( true );
  322. var tZ = Ext.getCmp('right_side_menu');
  323. tZ.setVisible( false );
  324. initMonitoring();
  325. Ext.getCmp('main_viewport').doLayout();
  326. break;
  327. };
  328. case 1:{
  329. if( tlInterval != null ){
  330. window.clearTimeout( tlInterval );
  331. tlInterval = null;
  332. };
  333. if( typeof mSesPlay !== 'undefined' ) if( mSesPlay!= null ) {
  334. mSesPlay.dispose();
  335. mSesPlay = null;
  336. };
  337. var tt = Ext.getCmp('tbtn_0');
  338. tt.toggle( false, true );
  339. tt = Ext.getCmp('tbtn_1');
  340. tt.toggle( true, true );
  341. tt = Ext.getCmp('tbtn_2');
  342. tt.toggle( false, true );
  343. var tP = Ext.getCmp('left_side_menu');
  344. tP.setVisible( true );
  345. var tZ = Ext.getCmp('right_side_menu');
  346. tZ.setVisible( false );
  347. initReportsView();
  348. Ext.getCmp('main_viewport').doLayout();
  349. break;
  350. };
  351. case 2:{
  352. if( typeof mSesPlay !== 'undefined' ) if( mSesPlay!= null ) {
  353. mSesPlay.dispose();
  354. mSesPlay = null;
  355. };
  356. var tt = Ext.getCmp('tbtn_0');
  357. tt.toggle( false, true );
  358. tt = Ext.getCmp('tbtn_1');
  359. tt.toggle( false, true );
  360. tt = Ext.getCmp('tbtn_2');
  361. tt.toggle( true, true );
  362. var tP = Ext.getCmp('left_side_menu');
  363. tP.setVisible( true );
  364. var tZ = Ext.getCmp('right_side_menu');
  365. tZ.setVisible( false );
  366. initSettingsView();
  367. Ext.getCmp('main_viewport').doLayout();
  368. break;
  369. };
  370. };
  371. };
  372. };
  373. function loadHelpTopic( cid, htopic ){
  374. Ext.Ajax.request({
  375. url: '/lib/controller/getHelpTopic.php',
  376. params: {
  377. HID: htopic,
  378. UID: <?=$UserID;?>,
  379. SID: '<?=$Session;?>',
  380. },
  381. success: function( response, opts ){
  382. var data = Ext.decode(response.responseText);
  383. if( data.status == 'ok' ){
  384. var tPanel = Ext.getCmp( cid );
  385. var res = Ext.decode( data.content );
  386. tPanel.removeAll( true );
  387. tPanel.add( res );
  388. tPanel.doLayout();
  389. };
  390. },
  391. failure: failureAJAXFunction
  392. });
  393. };
  394. Ext.onReady(function(){
  395. document.body.style.userSelect = 'none';
  396. document.body.style.webkitUserSelect = 'none';
  397. document.addEventListener('selectstart', (e) => {
  398. e.preventDefault();
  399. });
  400. document.addEventListener('dragstart', (e) => {
  401. e.preventDefault();
  402. });
  403. if( 'wakeLock' in navigator ) tryKeepScreenAlive(10);
  404. doCheckHeap();
  405. doCheckWindowSize();
  406. if( <?=intval($CUser->Data['ss_mode']);?> == 1 ) ssShowSS();
  407. gSessionValidatorInterval = window.setInterval( sessionValidator, 5000 );
  408. NotificationStack = new PNotify.Stack({dir1: 'down', firstpos1: 25});
  409. //window.onresize = doCheckWindowSize;
  410. Ext.QuickTips.init();
  411. if( ssEnabled ){
  412. ssSetupTimer();
  413. $(window).focus(function() {
  414. ssResetTimer();
  415. });
  416. $(window).blur(function() {
  417. ssStopTimer();
  418. });
  419. };
  420. var viewport = new Ext.Viewport({
  421. id: 'main_viewport',
  422. layout:'border',
  423. frame: false,
  424. border: false,
  425. items: [{
  426. xtype: 'panel',
  427. region: 'north',
  428. baseCls: 'x-plain',
  429. height: 60,
  430. //layout: 'fit',
  431. layout: 'hbox',
  432. frame: false,
  433. border: false,
  434. items:[{
  435. xtype: 'panel',
  436. width: '100%',
  437. layout: 'table',
  438. baseCls: 'x-plain',
  439. layoutConfig: {
  440. columns: 13
  441. },
  442. frame: false,
  443. border: true,
  444. margins: {top:10, right:10, bottom:10, left:10},
  445. items:[{
  446. xtype: 'panel',
  447. baseCls: 'x-plain',
  448. frame: false,
  449. border: false,
  450. margins: {top:5, right:20, bottom:0, left:20},
  451. html: '<img src="/style/assets/argus_logo_text.png" height="42px">'
  452. },{
  453. xtype: 'spacer',
  454. width: 10
  455. },{
  456. xtype: 'button',
  457. text: '<?=$Labels->GetLabel('_MONITORING_');?>',
  458. id: 'tbtn_0',
  459. iconCls: 'mon',
  460. scale: 'large',
  461. enableToggle: true,
  462. //pressed: (Math.floor(initView/100)==0),
  463. allowDepress: false,
  464. toggleGroup: 'gopa_gopa',
  465. toggleHandler: function( bt, state ){
  466. if( state ) {
  467. autoRiseEvent = true;
  468. changeContent(0,0,'');
  469. updateUserContent();
  470. showContent();
  471. };
  472. }
  473. },{
  474. xtype: 'spacer',
  475. width: 10
  476. },{
  477. xtype: 'button',
  478. text: '<?=$Labels->GetLabel('_REPO_HISTORY_');?>',
  479. id: 'tbtn_1',
  480. iconCls: 'rep',
  481. scale: 'large',
  482. enableToggle: true,
  483. //pressed: (Math.floor(initView/100)==1),
  484. allowDepress: false,
  485. toggleGroup: 'gopa_gopa',
  486. toggleHandler: function( bt, state ){
  487. if( state ){
  488. changeContent(0,1,'');
  489. updateUserContent();
  490. showContent();
  491. };
  492. }
  493. },{
  494. xtype: 'spacer',
  495. width: 10
  496. },{
  497. xtype: 'button',
  498. text: '<?=$Labels->GetLabel('_SETTINGS_');?>',
  499. id: 'tbtn_2',
  500. iconCls: 'cog',
  501. scale: 'large',
  502. enableToggle: true,
  503. allowDepress: false,
  504. toggleGroup: 'gopa_gopa',
  505. toggleHandler: function( bt, state ){
  506. if( state ) {
  507. changeContent(0,2,'');
  508. updateUserContent();
  509. showContent();
  510. };
  511. }
  512. },{
  513. xtype: 'spacer',
  514. width: 10
  515. },{
  516. xtype: 'panel',
  517. baseCls: 'x-plain',
  518. frame: false,
  519. border: false,
  520. margins: {top:5, right:0, bottom:0, left:0},
  521. width: PanelW - <?=($AP_DATA['type'] == 1)?'700':'800';?>,
  522. html: '<p style="font-family: \'Ubuntu\', \'Arial\';font-size: 24px;">'+ap_title+'</p>'
  523. },{
  524. xtype: 'spacer',
  525. width: 10
  526. },<?php
  527. if( $AP_DATA['type'] == 1 ){
  528. ?>{
  529. xtype: 'button',
  530. id: 'logout_btn',
  531. text: 'Logout',
  532. iconCls: 'lout',
  533. scale: 'large',
  534. style:'text-align: right;',
  535. handler: doLogout
  536. }<?php
  537. } else {
  538. ?>{
  539. xtype: 'button',
  540. id: 'snd_mode_btn',
  541. text: '<?=$Labels->GetLabel('_SOUND_');?>',
  542. iconCls: 'snd'+SoundMode,
  543. scale: 'large',
  544. style:'text-align: right;',
  545. handler: function(){
  546. if( SoundMode == 0 ){
  547. SoundMode = 3;
  548. SoundEnable = true;
  549. } else {
  550. SoundMode --;
  551. if( SoundMode == 0 ) SoundEnable = false;
  552. };
  553. Ext.getCmp('snd_mode_btn').setIconClass( 'snd'+SoundMode );
  554. playSound();
  555. doApplicationOperation( 6, SoundMode );
  556. }
  557. },{
  558. xtype: 'spacer',
  559. width: 10
  560. },{
  561. xtype: 'button',
  562. id: 'logout_btn',
  563. text: '<?=$Labels->GetLabel('_LOGOUT_');?>',
  564. iconCls: 'lout',
  565. scale: 'large',
  566. style:'text-align: right;',
  567. handler: doLogout
  568. }<?php
  569. };
  570. ?>
  571. ]
  572. }]
  573. },{
  574. xtype: 'panel',
  575. id:'left_side_menu',
  576. region:'west',
  577. bsaseCls:'x-plain',
  578. layout: 'fit',
  579. collapsible: true,
  580. split: true,
  581. width: 180,
  582. minWidth: 180,
  583. maxWidth: 180,
  584. hidden: ( contentView.l[1].v == 0 ),
  585. margins: '5 0 5 5',
  586. cmargins:'5 5 5 5',
  587. items: []
  588. },{
  589. xtype: 'panel',
  590. region:'center',
  591. margins: '5 5 5 0',
  592. id: 'main_content',
  593. //title: '<?=$Labels->GetLabel('_SYS_DASHBOARD_');?>',
  594. items:[{
  595. xtype: 'portal',
  596. id: 'main_portal',
  597. frame: false,
  598. border: false,
  599. items:{
  600. html: ''
  601. }//,
  602. //listeners:{
  603. // drop: function( a ){
  604. // updateDashBoardItemLayout( a.panel.id, a.columnIndex, a.position );
  605. // }
  606. //}
  607. }]
  608. },{
  609. xtype: 'panel',
  610. region:'east',
  611. id:'right_side_menu',
  612. //title: '',
  613. margins: '5 5 5 0',
  614. //id: 'help_content',
  615. frame: false,
  616. border: false,
  617. collapsible: false,
  618. split:true,
  619. width:200,
  620. minWidth: 150,
  621. maxWidth: 200,
  622. items:[]
  623. }]
  624. });
  625. showContent( true );
  626. });