12 lines
298 B
JavaScript
12 lines
298 B
JavaScript
|
shutdownBtn = document.getElementById('shutdownNode')
|
||
|
refreshStatsBtn = document.getElementById('refreshStats')
|
||
|
shutdownBtn.onclick = function(){
|
||
|
if (! nowebpass){
|
||
|
httpGet('shutdownclean')
|
||
|
overlay('shutdownNotice')
|
||
|
}
|
||
|
}
|
||
|
|
||
|
refreshStatsBtn.onclick = function(){
|
||
|
getStats()
|
||
|
}
|