dbot/views/users/users.jade

69 lines
2.3 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
2013-01-11 23:39:32 +01:00
tr
th Users
th Lines
th Words
th Lincent
th Verbosity
th Mentions
tbody
-each nick in nicks.active
tr
td
2013-01-11 23:39:32 +01:00
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick.primary)
#{nick.display}
span
span.label.label-success Active
2013-01-11 23:39:32 +01:00
td
#{nick.fields.lines.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.words.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.lincent.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.wpl.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.in_mentions.data}
-each nick in nicks.inactive
tr
td
2013-01-11 23:39:32 +01:00
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick.primary)
#{nick.display}
span
span.label.label-important Inactive
2013-01-11 23:39:32 +01:00
td
#{nick.fields.lines.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.words.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.lincent.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.wpl.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.in_mentions.data}
-each nick in nicks.offline
tr
td
2013-01-11 23:39:32 +01:00
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick.primary)
#{nick.display}
span
span.label Offline
2013-01-11 23:39:32 +01:00
td
#{nick.fields.lines.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.words.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.lincent.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.wpl.data}
2013-01-11 23:39:32 +01:00
td
#{nick.fields.in_mentions.data}