mirror of
https://github.com/reality/dbot.git
synced 2024-12-18 08:32:42 +01:00
41 lines
1.3 KiB
Plaintext
41 lines
1.3 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
|
|
tr
|
|
td
|
|
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick.primary)
|
|
#{nick.display}
|
|
span
|
|
if nick.online
|
|
if nick.active
|
|
span.label.label-success Active
|
|
else
|
|
span.label.label-important Inactive
|
|
else
|
|
span.label Offline
|
|
td
|
|
#{nick.fields.lines.data}
|
|
td
|
|
#{nick.fields.words.data}
|
|
td
|
|
#{nick.fields.lincent.data}
|
|
td
|
|
#{nick.fields.wpl.data}
|
|
td
|
|
#{nick.fields.in_mentions.data}
|