summaryrefslogtreecommitdiffstats
path: root/protoype/views
diff options
context:
space:
mode:
Diffstat (limited to 'protoype/views')
-rw-r--r--protoype/views/index.jade6
1 files changed, 5 insertions, 1 deletions
diff --git a/protoype/views/index.jade b/protoype/views/index.jade
index 57cde6f..cfbdb80 100644
--- a/protoype/views/index.jade
+++ b/protoype/views/index.jade
@@ -1,7 +1,11 @@
h1= title
-p Welcome to #{title}. Users in the portal:
+p Welcome to #{title}.
h3 User list:
ul
- each user in users
li= user.tag
+ - if (user.status == 'online')
+ span(style='color: green')= user.status
+ - else
+ span(style='color: red')= user.status