summaryrefslogtreecommitdiff
path: root/src/ws/node.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ws/node.js')
-rw-r--r--src/ws/node.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ws/node.js b/src/ws/node.js
index fd4a9d7..2f93dac 100644
--- a/src/ws/node.js
+++ b/src/ws/node.js
@@ -389,6 +389,14 @@ Node.prototype.setAttribute = function(name, value)
{
this.state_element.style.backgroundColor = "#da4343";
}
+ else if(value == "preparing")
+ {
+ this.state_element.style.backgroundColor = "#f1e0b4";
+ }
+ else if(value == "ready")
+ {
+ this.state_element.style.backgroundColor = "#bad0aa";
+ }
else
{
this.state_element.style.backgroundColor = "#ebedf0";