Influx graph part only + device name on jump and start + fixed dselect z-index
This commit is contained in:
@ -95,7 +95,12 @@ function handleUpdateMessage(src, message) {
|
||||
}
|
||||
var header = document.getElementById("header");
|
||||
header.style.width = 'auto';
|
||||
header.innerHTML = clientTitle;
|
||||
let instrument = document.getElementById("instrument");
|
||||
let device = document.getElementById("device");
|
||||
instrument.style.width = 'auto'
|
||||
device.style.width = 'auto'
|
||||
instrument.innerHTML = message.instrument
|
||||
device.innerHTML = message.device
|
||||
console.log('ID', initCommands);
|
||||
nextInitCommand();
|
||||
break;
|
||||
|
@ -768,7 +768,7 @@ let graphs = (function (){
|
||||
|
||||
AJAX("http://" + hostPort + "/getvars?time=" + msLeftTimestampGetVars/1000 + "," + msRightTimestampGetVars/1000 + "&all=" +allQueryParameterRepresentation(mode) + "&id="+ clientID).getJSON().then(function(data){
|
||||
blocks = data.blocks;
|
||||
|
||||
document.getElementById("device").innerHTML = data.device
|
||||
maxTime = msRightTimestampGetGraph;
|
||||
minTime = msLeftTimestampGetGraph;
|
||||
|
||||
@ -853,7 +853,7 @@ let graphs = (function (){
|
||||
minTime = msLeftTimestamp;
|
||||
|
||||
blocks = data.blocks;
|
||||
|
||||
document.getElementById("device").innerHTML = data.device
|
||||
ngraphs = 0;
|
||||
createGraphs();
|
||||
globalIndicators.getIndicatorsMap()[datesKey].update(currentMinTime);
|
||||
|
@ -175,7 +175,7 @@ function toggleHeader() {
|
||||
var main_panel = document.getElementById("main-panel");
|
||||
panelOn = !panelOn;
|
||||
if (panelOn) {
|
||||
header.innerHTML = clientTitle
|
||||
// header.innerHTML = clientTitle
|
||||
/* header.style.width = "auto;"; */
|
||||
main_panel.style.display = "block";
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user