Browse Source

Mer-LA updated last

master
Evgeny Gagua 3 years ago
parent
commit
89674a79c5
  1. 2
      lib/controller/dash/node_3.js
  2. 14
      lib/controller/getMetroBottomSensorEditor.php
  3. 14
      lib/controller/getMetroUpperSensorEditor.php
  4. 2
      lib/controller/report/node_3.js
  5. 9
      lib/javascript/jsapi_dynamic/mojo_dashboard.js
  6. 2
      lib/javascript/jsapi_dynamic/mojo_global_vars.js
  7. 129
      lib/javascript/jsapi_dynamic/mojo_settings.js
  8. 2
      lib/version.var

2
lib/controller/dash/node_3.js

@ -24,7 +24,7 @@
var W = p.getWidth();
var H = 9*(W/16) - 28;
if( %%%APPTYPE%%% == 33 ){
if( %%%APPTYPE%%% == 1 ){
H = PanelH - p.ownerCt.getHeight() + 64;
if( H > ( W * 0.5625 )+ 32 ){
H = ( W * 0.5625 ) + 32;

14
lib/controller/getMetroBottomSensorEditor.php

@ -72,13 +72,13 @@ lskdjflsdsdf;
SID: '{$Session}',
SNID: '{$SI}',
OPID: 19,
OFF: oset,
ORD: oder,
DEL: odel,
FLI: ofli,
WIZ: owid,
SST: osst,
SUN: osun
MOFF: oset,
MORD: oder,
MDEL: odel,
MFLI: ofli,
MWIZ: owid,
MSST: osst,
MSUN: osun
},
success: function( response, opts ){
Ext.Msg.show({

14
lib/controller/getMetroUpperSensorEditor.php

@ -72,13 +72,13 @@ lskdjflsdsdf;
SID: '{$Session}',
SNID: '{$SI}',
OPID: 19,
OFF: oset,
ORD: oder,
DEL: odel,
FLI: ofli,
WIZ: owid,
SST: osst,
SUN: osun
MOFF: oset,
MORD: oder,
MDEL: odel,
MFLI: ofli,
MWIZ: owid,
MSST: osst,
MSUN: osun
},
success: function( response, opts ){
Ext.Msg.show({

2
lib/controller/report/node_3.js

@ -21,7 +21,7 @@
var W = p.getWidth();
var H = 9*(W/16) - 28;
if( %%%APPTYPE%%% == 2 ){
if( %%%APPTYPE%%% == 1 ){
H = PanelH - p.ownerCt.getHeight() + 64;
if( H > W + 60 ){
H = W + 60;

9
lib/javascript/jsapi_dynamic/mojo_dashboard.js

@ -834,11 +834,11 @@ function draw2DMasks( a, zzz='' ){
var colors=['#FF0000','#FFFF00','#00FF00','#203080','#0000FF','#FaFF00'];
//var cpx = bBox.width / 2.0;
//var cpy = bBox.height / 2.0;
var max = 1024.0;
var max = 2048.0;
switch( drawZoomLevels[a] ){
case 50: max = 512.0; break;
case 25: max = 256.0; break;
case 12: max = 128.0; break;
case 50: max = 1024.0; break;
case 25: max = 512.0; break;
case 12: max = 256.0; break;
};
//var rk = bBox.width / ( max * 2 );
var cpx= 287.0;
@ -868,6 +868,7 @@ function draw2DMasks( a, zzz='' ){
newpath.setAttributeNS(null, "fill-opacity", "1.0");
};
newpath.setAttributeNS(null, "id", "mask_"+a+"_"+i+"_"+k );
console.log( "Added Poly: mask_"+a+"_"+i+"_"+k );
newpath.setAttributeNS(null, "clip-path", "url(#svg_mask_"+a+")" );
var tch = csvg.getElementById( "border_"+a );
if( tch != undefined ){

2
lib/javascript/jsapi_dynamic/mojo_global_vars.js

@ -14,7 +14,7 @@ var content_lvl0= -1;
var content_lvl1= -1;
var content_lvl2= -1;
var content_lvl3= -1;
var SoundMode=<?=intval($CUser->Data['sound_enable']);?>;
var SoundMode=<?=($AP_DATA['type']==1)?0:intval($CUser->Data['sound_enable']);?>;
var PanelW = winW;
var PanelH = winH-90;
var SelectedSite = <?=$SiteID;?>;

129
lib/javascript/jsapi_dynamic/mojo_settings.js

@ -2359,129 +2359,9 @@ function showSettingsApplication(){
}
}
}]
}/*,{
title: '<?=$Labels->GetLabel('_MONIT_LAYOUT_');?>',
layout:'table',
defaults: {
// applied to each contained panel
bodyStyle:'padding:5px'
},
layoutConfig: {
// The total column count must be specified here
columns: 3
},
frame: false,
border: false,
height: PanelH - 30,
items:[{
xtype: 'spacer',
width: 100
},{
xtype: 'radio',
width: '100%',
name: 'layo_apa',
id: 'db_layout_0',
checked: ( <?=$AP_DATA['app_layout'];?> == 0 ),
listeners:{
check: function( t, state ){
if( state ) doApplicationOperation( 2, 0 );
}
}
},{
frame: false,
border: false,
html: '<img width="43px" src="/style/assets/ed-0.png" />'
},{
xtype: 'spacer',
width: 100
},{
xtype: 'radio',
width: '100%',
name: 'layo_apa',
id: 'db_layout_1',
checked: ( <?=$AP_DATA['app_layout'];?> == 1 ),
listeners:{
check: function( t, state ){
if( state ) doApplicationOperation( 2, 1 );
}
}
},{
frame: false,
border: false,
html: '<img width="43px" src="/style/assets/ed-1.png" />'
},{
xtype: 'spacer',
width: 100
},{
xtype: 'radio',
name: 'layo_apa',
id: 'db_layout_2',
checked: ( <?=$AP_DATA['app_layout'];?> == 2 ),
listeners:{
check: function( t, state ){
if( state ) doApplicationOperation( 2, 2 );
}
}
},{
frame: false,
border: false,
html: '<img width="43px" src="/style/assets/ed-2.png" />'
},{
xtype: 'spacer',
width: 100
},{
xtype: 'radio',
width: '100%',
name: 'layo_apa',
id: 'db_layout_3',
checked: ( <?=$AP_DATA['app_layout'];?> == 3 ),
listeners:{
check: function( t, state ){
if( state ) doApplicationOperation( 2, 3 );
}
}
},{
frame: false,
border: false,
html: '<img width="43px" src="/style/assets/ed-3.png" />'
},{
xtype: 'spacer',
width: 100
},{
xtype: 'radio',
width: '100%',
name: 'layo_apa',
id: 'db_layout_4',
checked: ( <?=$AP_DATA['app_layout'];?> == 4 ),
listeners:{
check: function( t, state ){
if( state ) doApplicationOperation( 2, 4 );
}
}
},{
frame: false,
border: false,
html: '<img width="43px" src="/style/assets/ed-4.png" />'
},{
xtype: 'spacer',
width: 100
},{
xtype: 'radio',
width: '100%',
name: 'layo_apa',
id: 'db_layout_5',
checked: ( <?=$AP_DATA['app_layout'];?> == 5 ),
listeners:{
check: function( t, state ){
if( state ) doApplicationOperation( 2, 5 );
}
}
},{
frame: false,
border: false,
html: '<img width="43px" src="/style/assets/ed-5.png" />'
}]
}*/,{
},
<?php if( $AP_DATA['type']!=1){ ?>
{
title: '<?=$Labels->GetLabel('_GEO_LOCATION_');?>',
layout: 'column',
items:[{
@ -2632,7 +2512,8 @@ function showSettingsApplication(){
html:'<div class="setEd_infoPanel" id="NUNU"><?=$Labels->GetLabel('_PLS_SEL_LEFT_ITEM_');?></div>'
}]
}]
},{
},
<?php };?>{
title: '<?=$Labels->GetLabel('_BACKUP_SETTINGS_');?>',
xtype: 'form',
id: 'as_dbbackup',

2
lib/version.var

@ -1 +1 @@
20221115
20221207
Loading…
Cancel
Save