3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-26 20:52:39 +01:00
dbot/views/users/users.jade
2013-01-10 22:23:51 +00:00

33 lines
1.1 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
tbody
-each nick in nicks.active
tr
td
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick)
#{nick}
span
span.label.label-success Active
-each nick in nicks.inactive
tr
td
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick)
#{nick}
span
span.label.label-important Inactive
-each nick in nicks.offline
tr
td
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick)
#{nick}
span
span.label Offline