3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-26 04:32:37 +01:00
dbot/views/users/users.jade
2013-01-11 22:39:32 +00:00

69 lines
2.2 KiB
Plaintext

extends ../layout
block content
h3 Users of #{channel} on #{connection}
div#backlink
a(href='/channels/'+connection) « Channel List
div#row
table.table.table-striped
thead
tr
th Users
th Lines
th Words
th Lincent
th Verbosity
th Mentions
tbody
-each nick in nicks.active
tr
td
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick.primary)
#{nick.display}
span
span.label.label-success Active
td
#{nick.total_lines}
td
#{nick.total_words}
td
#{nick.lincent}
td
#{nick.wpl}
td
#{nick.in_mentions}
-each nick in nicks.inactive
tr
td
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick.primary)
#{nick.display}
span
span.label.label-important Inactive
td
#{nick.total_lines}
td
#{nick.total_words}
td
#{nick.lincent}
td
#{nick.wpl}
td
#{nick.in_mentions}
-each nick in nicks.offline
tr
td
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick.primary)
#{nick.display}
span
span.label Offline
td
#{nick.total_lines}
td
#{nick.total_words}
td
#{nick.lincent}
td
#{nick.wpl}
td
#{nick.in_mentions}