Commit 8fa350bb authored by Andrey Filippov's avatar Andrey Filippov

Fixed controls transparency, replaced 353 with 393

parent 4a76204f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
*! -----------------------------------------------------------------------------** *! -----------------------------------------------------------------------------**
*! FILE NAME : camvc_main.js *! FILE NAME : camvc_main.js
*! DESCRIPTION: main javascript functions and arrays *! DESCRIPTION: main javascript functions and arrays
*! Copyright (C) 2008 Elphel, Inc. *! Copyright (C) 2008-2016 Elphel, Inc.
*! *!
*! -----------------------------------------------------------------------------** *! -----------------------------------------------------------------------------**
*! *!
...@@ -1228,7 +1228,9 @@ if (document.debug & 32) document.title +=" TopW="+x+" TopH="+y; ...@@ -1228,7 +1228,9 @@ if (document.debug & 32) document.title +=" TopW="+x+" TopH="+y;
// top.resizeTo(x,y); // top.resizeTo(x,y);
// d ocument.title= document.getElementById("idDivAutoexpTable").height+":"+document.getElementById("idDivAutoexpTable").style.height; // d ocument.title= document.getElementById("idDivAutoexpTable").height+":"+document.getElementById("idDivAutoexpTable").style.height;
showMoreLess(); showMoreLess();
if ((document.debug==0) &&document.getElementById("h_idTitle") && (typeof (document.getElementById("h_idTitle"))!="undefined")) document.title=document.getElementById("h_idTitle").innerHTML; if ((document.debug==0) &&document.getElementById("h_idTitle") && (typeof (document.getElementById("h_idTitle"))!="undefined")) {
document.title=document.getElementById("h_idTitle").innerHTML+":"+document.sensor_port;
}
} }
...@@ -1944,10 +1946,10 @@ function released_btnSnapFull(s) { ...@@ -1944,10 +1946,10 @@ function released_btnSnapFull(s) {
alert ("SnapFull settings are not implemented yet"); alert ("SnapFull settings are not implemented yet");
return; return;
} }
var frame=gRequests.receivedFrame; /// not the actual snapshot frame, just generationg different title name var frame=gRequests.receivedFrame; /// not the actual snapshot frame, just generating different title name
var url="/snapfull.php"; /// no parameters yet var url="/snapfull.php?sensor_port="+document.sensor_port; /// no parameters yet
if (document.shiftKey) url+='?save'; if (document.shiftKey) url+='?save';
var win=window.open(url,'Elphel 353 Snapshot image'+frame,'scrollbars=no,resizable=yes,toolbar=no,location=no,directories=no,menubar=no,status=no' ); var win=window.open(url,'Elphel 393 Snapshot image'+document.sensor_port+":"+frame,'scrollbars=no,resizable=yes,toolbar=no,location=no,directories=no,menubar=no,status=no' );
} }
function released_btnSettingsShow1(s) { function released_btnSettingsShow1(s) {
document.divVisibility["idDivSettings"]=(document.divVisibility["idDivSettings"] == "none")? "":"none"; document.divVisibility["idDivSettings"]=(document.divVisibility["idDivSettings"] == "none")? "":"none";
...@@ -2572,7 +2574,7 @@ function initOnLoad() { ...@@ -2572,7 +2574,7 @@ function initOnLoad() {
// debugWindowShow( document.getElementById("idSettingsTabs_div4").innerHTML); // debugWindowShow( document.getElementById("idSettingsTabs_div4").innerHTML);
// showPixPerc(); // will be called by setI18nAll; // showPixPerc(); // will be called by setI18nAll;
initUpgradeIframe(); initUpgradeIframe();
document.title=document.getElementById("h_idTitle").innerHTML; document.title=document.getElementById("h_idTitle").innerHTML+":'"+document.sensor_port+"'";
restoreTabsState(false); // open tabs at specific initial position restoreTabsState(false); // open tabs at specific initial position
document.getElementById("idStartup").style.display="none"; document.getElementById("idStartup").style.display="none";
// debugWindowShow( document.getElementById("idNetworkTabs_div4").innerHTML); // debugWindowShow( document.getElementById("idNetworkTabs_div4").innerHTML);
...@@ -2581,6 +2583,7 @@ initUpgradeIframe(); ...@@ -2581,6 +2583,7 @@ initUpgradeIframe();
// debugWindowShow(document.getElementById("idDivDVR").innerHTML); // debugWindowShow(document.getElementById("idDivDVR").innerHTML);
// debugWindowShow(document.getElementById("test_f1").innerHTML); // debugWindowShow(document.getElementById("test_f1").innerHTML);
initShieldButtons(); initShieldButtons();
hideStreamPage();
document.getElementById("idDVRSoftware").href=document.DVRSoftware; document.getElementById("idDVRSoftware").href=document.DVRSoftware;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment