dbot/views/users/users.jade

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-12-24 06:47:47 +01:00
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