Introduced shutdown privilege.

This commit is contained in:
2021-06-13 12:34:56 +02:00
parent e51988a57d
commit 310a716304
3 changed files with 17 additions and 5 deletions
+4
View File
@@ -136,6 +136,10 @@ function updateUnalikeDisplay(unalikeJson) {
if (unalikeJson.shutdownTimer) {
newStatus += "</p><p>If nothing happens, Unalike will shut down in " + unalikeJson.shutdownTimer + " seconds.";
}
if (unalikeJson.sessionAdmin) {
newStatus += "</p><p>" + unalikeJson.sessionAdmin + " was the first to interact with Unalike. Only he/she can shut it down on command.";
}
// dynamicJsonElement = document.getElementById("dynamic-json");
// dynamicJsonElement.innerHTML = JSON.stringify(unalikeJson);