Another icon
This commit is contained in:
@ -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");
|
||||
var title = component.title;
|
||||
if (component.info) {
|
||||
left.classList.add("col-left", "event-toggle-info");
|
||||
|
||||
@ -522,21 +521,22 @@ function createTitle(component, modules) {
|
||||
}
|
||||
|
||||
left.innerHTML = component.title + "<sup><b>(i)</b></sup>";
|
||||
} else {
|
||||
if (modules) {
|
||||
var icon_status = '<img class = "modules-icon status-icon" src="res/icon_status.png">';
|
||||
var icon_edit = '<img class = "modules-icon edit-icon" src="res/icon_edit.png">';
|
||||
var icon_info = '<img class = "modules-icon info-icon" src="res/icon_info.png" onclick = getGroup(1,"' + title + '")>';
|
||||
}
|
||||
|
||||
left.innerHTML = '<span class = "modules-title">' + component.title + '</span>';
|
||||
if (component.statusname) {
|
||||
left.innerHTML += icon_status;
|
||||
}
|
||||
left.innerHTML += icon_edit;
|
||||
left.innerHTML += icon_info;
|
||||
} else {
|
||||
left.innerHTML = component.title;
|
||||
var title = component.title;
|
||||
if (modules) {
|
||||
var icon_status = '<img class = "modules-icon status-icon" src="res/icon_status.png">';
|
||||
var icon_edit = '<img class = "modules-icon edit-icon" src="res/icon_edit.png">';
|
||||
var icon_info = '<img class = "modules-icon info-icon" src="res/icon_info.png" onclick = getGroup(1,"' + title + '")>';
|
||||
|
||||
left.innerHTML = '<span class = "modules-title">' + component.title + '</span>';
|
||||
if (component.statusname) {
|
||||
left.innerHTML += icon_status;
|
||||
}
|
||||
left.innerHTML += icon_edit;
|
||||
left.innerHTML += icon_info;
|
||||
} else {
|
||||
left.innerHTML = component.title;
|
||||
}
|
||||
return left;
|
||||
}
|
||||
|
@ -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, false) // false)
|
||||
.treat("showGraphics", "sg", to_bool, true) // 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)
|
||||
|
BIN
client/res/icon_close.png
Normal file
BIN
client/res/icon_close.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
Reference in New Issue
Block a user