Some missing icons

This commit is contained in:
Daniel
2025-04-15 15:51:49 +02:00
parent 737e29975a
commit 40dc6dc7d8
10 changed files with 33 additions and 5 deletions

View File

@ -223,6 +223,7 @@ function updateValues(message, src) {
let component = message.updates[i];
let value = component.value;
let matches = document.getElementsByName(component.name);
console.log(component);
for (var j = 0; j < matches.length; j++) {
let elem = matches[j];

View File

@ -508,7 +508,6 @@ function createTitle(component, modules) {
var left = document.createElement('span');
// var status_icon = document.createElement('p');
// status_icon.classList.add("status-icon");
console.log(component);
var title = component.title;
if (component.info) {
left.classList.add("col-left", "event-toggle-info");

View File

@ -87,7 +87,7 @@ new Settings()
.treat("showMain", "sm", to_bool, true)
.treat("showConsole", "sc", to_bool, true)
.treat("showOverview", "so", to_bool, false)
.treat("showGraphics", "sg", to_bool, true) // false)
.treat("showGraphics", "sg", to_bool, false) // false)
.treat("hideRightPart", "hr", to_bool, false) //used to completely disable the right part
.treat("wideGraphs", "wg", to_bool, false) //used to toggle the size of the graphs part
.treat("showAsync", "sa", to_bool, false)
@ -179,13 +179,11 @@ window.onload = function() {
adjustGrid();
let crossElement = document.getElementById("close-cross");
// crossElement.innerHTML = '<img class = "icon-graphics" src="res/icon_close.png">';
if(window.hideRightPart){
document.body.removeChild(crossElement);
}else{
crossElement.onclick = function(){
console.log(showParams);
if (showParams) {
showParams = false;
document.getElementById('close-cross').innerHTML = '<img class = "icon-close" src="res/icon_sinus.png">';
@ -202,6 +200,12 @@ window.onload = function() {
}
}
let logIcon = document.getElementById("log-icon-container");
logIcon.onclick = function(){
console.log("show log");
adjustGrid();
}
var homeButton = document.getElementById("home-icon");
homeButton.onclick = function () {