You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
877 B
JavaScript

function selected(id){
var element = document.getElementById(id);
element.style.boxShadow = '1px 1px 2px #999';
element.style.backgroundColor = "#ffffff";
var element = document.getElementById(id+'-input');
element.style.color = "#000000";
}
function deselected(id){
var element = document.getElementById(id);
element.style.boxShadow = '0px 0px 0px #999';
element.style.backgroundColor = "#14181b";
var element = document.getElementById(id+'-input');
element.style.color = "#ffffff";
}
function visible(id, status){
if(status == "on"){
document.getElementById(id).style.display = 'block';
}
else{
document.getElementById(id).style.display = 'none';
}
}
function session_end() {
if (confirm("Session timed out! Please login.")) {
window.location.replace('https://adb.sh/robo-remote/login.php');
} else {
}
}