From 9a75911ab71151eeed237ea4de9ad839f681dfaf Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 12 Mar 2016 11:24:04 -0500 Subject: [PATCH] update mod ui --- contrib/static/mod.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/static/mod.js b/contrib/static/mod.js index d71836d..42485fc 100644 --- a/contrib/static/mod.js +++ b/contrib/static/mod.js @@ -146,13 +146,13 @@ function createConnectionElement(j) { var e = document.createElement("div"); e.setAttribute("class", "connection"); var auth = document.createElement("div"); - auth.appendChild(document.createTextNode("Connection: ")); + auth.appendChild(document.createTextNode("Connection: "+j.name)); // authentication state if (j.authed) { auth.setAttribute("class", "authed"); - auth.appendChild(document.createTextNode("authenticated")); + auth.appendChild(document.createTextNode("(authenticated)")); } else { - auth.appendChild(document.createTextNode("not authenticated")); + auth.appendChild(document.createTextNode("(not authenticated)")); } e.appendChild(auth);