Skip to content

Commit

Permalink
Add stats to front page.
Browse files Browse the repository at this point in the history
  • Loading branch information
martindale committed Oct 1, 2015
1 parent 2fac381 commit 071c3fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion views/rooms.jade
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ block content
hr

a.btn.pull-right(href="#", onclick="$('#room-creation-form').slideToggle(); return false;") create your own »
h2 Rooms
h2 #{rooms.length} Rooms  
small with
strong #{rooms.reduce(function(prev, cur) { return prev + cur.listenerCount; }, 0)}
| total listeners

form#room-creation-form(action="/rooms", method="post").span12.hide
label(for="slug") URL
Expand Down

0 comments on commit 071c3fb

Please sign in to comment.