Permalink
Browse files

Progress on user list

  • Loading branch information...
1 parent 1664d35 commit 916dfacd56cc59fe5431906176fc724e071a08b1 David committed Jan 15, 2012
View
@@ -229,6 +229,30 @@
}
.userlist_user{
- padding: 2% 0% 2% 5%;
border-bottom: 1px solid #CCCCCC;
+ display: table;
+ width: 100%;
+}
+
+.userlist_user_activity{
+ width: 13%;
+ display: table-cell;
+ padding: 2%;
+ background: #EFEFEF;
+ text-align: center;
+ border-right: 1px solid #DDDDDD;
+}
+
+.userlist_user_info{
+ display: table-cell;
+ width: 87%;
+ padding: 3% 0% 3% 5%;
+}
+
+.userlist_user_name{
+ font-weight: bold;
+}
+
+.userlist_user_active{
+ color: #666666;
}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -80,7 +80,7 @@ $(function() {
var channel = irc.chatWindows.getByName(data.channel);
channel.userList = new UserList(channel);
$.each(data.nicks, function(nick, role){
- channel.userList.add(new User({nick: nick, role: role, idle:0}))
+ channel.userList.add(new User({nick: nick, role: role, idle:0, user_status: 'active'}))
});
});
View
@@ -72,10 +72,10 @@ script(id="unread_mentions", type="text/html")
script(id="userlist_user", type="text/html")
div(class="userlist_user_activity")
- img
+ img(src="/assets/images/{{user_status}}.png")
div(class="userlist_user_info")
- div {{role}}{{nick}}
- div {{active}} active
+ div(class="userlist_user_name") {{role}}{{nick}}
+ div(class="userlist_user_active") {{active}} active
script(id="link", type="text/html")
a(target="_blank", href="{{link}}") {{link}}

0 comments on commit 916dfac

Please sign in to comment.