Adding icon HTML

This commit is contained in:
raven 2022-12-22 03:30:34 -05:00
parent 867340e8c3
commit e16bbdfa7b

View File

@ -53,7 +53,7 @@
console.log("Command: Next Short FAILED!")
}
})
}, 54000);
}, 55000);
}
function stopTimer() {
@ -65,7 +65,7 @@
document.getElementById("view2").innerHTML = "<div class=\"alert alert-success\" role=\"alert\"><CENTER>" + message + "</CENTER></div>";
setInterval(function () {
document.getElementById("view2").innerHTML = "";
document.getElementById("view2").innerHTML = "<BR><BR><BR>";
}, 15000);
}
@ -75,7 +75,7 @@
setInterval(function () {
console.log("60 seconds are up, going to next short");
document.getElementById("view2").innerHTML = "";
document.getElementById("view2").innerHTML = "<BR><BR><BR>";
}, 15000);
}
@ -98,7 +98,7 @@
document.getElementById("view").innerHTML = "WOO"
} else {
document.getElementById("view").innerHTML = "<a href=\"javascript:window.open('help.html','Click for Key ShortCuts!','width=600,height=400')\">Click for Key ShortCuts!</a><BR><BR><a href=\"javascript:window.open('input.html','Click to Send Text Imput!','width=600,height=400')\"><button>Open Text Input</button></a><BR><BR><button onclick=\"startTimer()\">Enable AutoScroll</button> / <button onclick=\"stopTimer()\"> Disable</button> <BR><BR>Commands Not Working? Issue a new Token using: R";
document.getElementById("view").innerHTML = "<CENTER><IMG SRC=\"../images/icon.png\"></CENTER><a href=\"javascript:window.open('help.html','Click for Key ShortCuts!','width=600,height=400')\">Click for Key ShortCuts!</a><BR><BR><a href=\"javascript:window.open('input.html','Click to Send Text Imput!','width=600,height=400')\"><button type=\"button\" class=\"btn btn-primary\">Open Text Input</button></a><BR><BR><button type=\"button\" class=\"btn btn-primary\" onclick=\"startTimer()\">Enable AutoScroll</button> / <button type=\"button\" class=\"btn btn-primary\" onclick=\"stopTimer()\"> Disable</button> <BR><BR>Commands Not Working? Issue a new Token using: R";
function addEvent(element, eventName, callback) {