Some missing icons

This commit is contained in:
Daniel
2025-04-15 15:51:49 +02:00
committed by Markus Zolliker
parent 3d37b10d61
commit 9b3f89ddaa
10 changed files with 33 additions and 5 deletions

View File

@ -85,6 +85,9 @@
<!-- &#215; -->
<img class = "icon-close" src="res/icon_sinus.png">
</div>
<div id="log-icon-container">
<img class = "log-icon" src="res/icon_log.png">
</div>
</body>
</html>

View File

@ -144,7 +144,6 @@ meta, body {
top: 9px;
right: 12px;
position: fixed;
color: white;
cursor: pointer;
}
@ -156,4 +155,26 @@ meta, body {
.icon-close:hover {
transform: scale(90%);
transition: .5s;
}
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
/* LOG ICON */
#log-icon-container {
z-index: 50;
bottom: 9px;
right: 12px;
position: fixed;
color: white;
cursor: pointer;
}
.log-icon {
height: 20px;
width: 20px;
}
.log-icon:hover {
transform: scale(90%);
transition: .5s;
}

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 () {

BIN
client/res/icon_info.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
client/res/icon_log.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
client/res/icon_modules.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
client/res/icon_sinus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
client/res/icon_status.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB