Connection icons, initial autohiding menu implementation.

This commit is contained in:
Michael Jumper
2011-11-19 22:16:05 -08:00
parent 0b93ea05a7
commit 8aa228a290
6 changed files with 88 additions and 16 deletions

View File

@@ -131,6 +131,9 @@
var protocol = document.createElement("td");
var id = document.createElement("td");
var protocolIcon = document.createElement("div");
protocolIcon.className = "protocol icon " + configs[i].protocol;
// Set CSS
protocol.className = "protocol";
id.className = "name";
@@ -141,7 +144,8 @@
"client.xhtml?" + encodeURIComponent(configs[i].id));
// Set cell contents
protocol.textContent = configs[i].protocol;
protocol.appendChild(protocolIcon);
//protocol.textContent = configs[i].protocol;
clientLink.textContent = configs[i].id;
id.appendChild(clientLink);