fixes not concerning graphics

- default is no graphics
- use send_file instead of response (proper mimetype)
- fix issues with parameter blocks
This commit is contained in:
l_samenv
2021-09-17 15:37:04 +02:00
parent fbe70ce68a
commit b55e51fc65
8 changed files with 34 additions and 38 deletions

View File

@ -75,7 +75,7 @@ function create_group_row(s, component) {
slideNames[s] = component.name;
document.title = "SEA "+ clientTitle + " " + slideNames.join(" ");
history.pushState({func: "gotoGroups", funarg: slideNames.join("%20")}, document.title, "#" + slideNames.join("%20"));
getGroup(s, name);
getGroup(s, component.name);
}
if (title === "console" || title === "device config") {
@ -139,7 +139,6 @@ function create_pushbutton_row(s, component) {
var name = component.name;
var command = component.command;
var left = createTitle(component);
console.log(info);
left.id = component.name;
left.name = component.title;
@ -187,7 +186,7 @@ function create_input_row(s, component) {
var name = component.name;
var command = component.command;
if (info) {
if (component.info) {
var infoBox = createInfo(component);
}
var left = createTitle(component);