Some missing icons
This commit is contained in:
@ -85,6 +85,9 @@
|
|||||||
<!-- × -->
|
<!-- × -->
|
||||||
<img class = "icon-close" src="res/icon_sinus.png">
|
<img class = "icon-close" src="res/icon_sinus.png">
|
||||||
</div>
|
</div>
|
||||||
|
<div id="log-icon-container">
|
||||||
|
<img class = "log-icon" src="res/icon_log.png">
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
@ -144,7 +144,6 @@ meta, body {
|
|||||||
top: 9px;
|
top: 9px;
|
||||||
right: 12px;
|
right: 12px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
color: white;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -156,4 +155,26 @@ meta, body {
|
|||||||
.icon-close:hover {
|
.icon-close:hover {
|
||||||
transform: scale(90%);
|
transform: scale(90%);
|
||||||
transition: .5s;
|
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;
|
||||||
}
|
}
|
@ -223,6 +223,7 @@ function updateValues(message, src) {
|
|||||||
let component = message.updates[i];
|
let component = message.updates[i];
|
||||||
let value = component.value;
|
let value = component.value;
|
||||||
let matches = document.getElementsByName(component.name);
|
let matches = document.getElementsByName(component.name);
|
||||||
|
console.log(component);
|
||||||
|
|
||||||
for (var j = 0; j < matches.length; j++) {
|
for (var j = 0; j < matches.length; j++) {
|
||||||
let elem = matches[j];
|
let elem = matches[j];
|
||||||
|
@ -508,7 +508,6 @@ function createTitle(component, modules) {
|
|||||||
var left = document.createElement('span');
|
var left = document.createElement('span');
|
||||||
// var status_icon = document.createElement('p');
|
// var status_icon = document.createElement('p');
|
||||||
// status_icon.classList.add("status-icon");
|
// status_icon.classList.add("status-icon");
|
||||||
console.log(component);
|
|
||||||
var title = component.title;
|
var title = component.title;
|
||||||
if (component.info) {
|
if (component.info) {
|
||||||
left.classList.add("col-left", "event-toggle-info");
|
left.classList.add("col-left", "event-toggle-info");
|
||||||
|
@ -87,7 +87,7 @@ new Settings()
|
|||||||
.treat("showMain", "sm", to_bool, true)
|
.treat("showMain", "sm", to_bool, true)
|
||||||
.treat("showConsole", "sc", to_bool, true)
|
.treat("showConsole", "sc", to_bool, true)
|
||||||
.treat("showOverview", "so", to_bool, false)
|
.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("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("wideGraphs", "wg", to_bool, false) //used to toggle the size of the graphs part
|
||||||
.treat("showAsync", "sa", to_bool, false)
|
.treat("showAsync", "sa", to_bool, false)
|
||||||
@ -179,13 +179,11 @@ window.onload = function() {
|
|||||||
adjustGrid();
|
adjustGrid();
|
||||||
|
|
||||||
let crossElement = document.getElementById("close-cross");
|
let crossElement = document.getElementById("close-cross");
|
||||||
// crossElement.innerHTML = '<img class = "icon-graphics" src="res/icon_close.png">';
|
|
||||||
|
|
||||||
if(window.hideRightPart){
|
if(window.hideRightPart){
|
||||||
document.body.removeChild(crossElement);
|
document.body.removeChild(crossElement);
|
||||||
}else{
|
}else{
|
||||||
crossElement.onclick = function(){
|
crossElement.onclick = function(){
|
||||||
console.log(showParams);
|
|
||||||
if (showParams) {
|
if (showParams) {
|
||||||
showParams = false;
|
showParams = false;
|
||||||
document.getElementById('close-cross').innerHTML = '<img class = "icon-close" src="res/icon_sinus.png">';
|
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");
|
var homeButton = document.getElementById("home-icon");
|
||||||
|
|
||||||
homeButton.onclick = function () {
|
homeButton.onclick = function () {
|
||||||
|
BIN
client/res/icon_info.png
Normal file
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
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
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
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
BIN
client/res/icon_status.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
Reference in New Issue
Block a user