2 var lectureID = '#{lecture._id}';
5 var rourl = 'http://#{ host }:9001/ro/#{ roID }';
12 img.lilogo(src="/images/finals-club-wht.png")
17 a( href = '/lecture/#{lecture._id}' )= lecture.name
23 // a( href = '/note/#{note._id}', class = 'readonlylink') Read-Only Version
24 button#toggleBC Discussion
25 button#togglePad Notes
36 option( value = 'votes' ) Sort by votes
37 option( value = 'created' ) Sort by time
43 option( value = '10' ) 10
44 option( value = '15' ) 15
45 option( value = '20' ) 20
47 script#postTemplate( type = 'text/x-jQuery-tmpl', src = '/javascripts/templates/post.js' )
48 div.postContainer( id = 'post-${_id}' )
49 div.postVoteContainer( data-postid = '${_id}' )
50 div.vote-tally-rect.vote-up ${ votes.length }
52 div.postDisplayContainer
53 div.postBody ${ body }
55 span.userName ${ userName }
57 span.userAffil ${ userAffil }
59 a( href='#', id='post-${_id}' ).comments
60 span.commentAmt ${ comments.length }
63 div.commentContainer.hidden
65 form.commentForm.hidden
66 input( type = 'hidden', name = 'postid', value = '${_id}' )
67 textarea#commentText( name = 'commentText', disabled = 'disabled' )
68 input( type = 'submit', value = 'Submit Comment', disabled = 'disabled' )
69 input( type = 'checkbox', name = 'anonymous' )
70 span(class='anonpost') Anonymously
72 script#commentTemplate( type = 'text/x-jQuery-tmpl', src = '/javascripts/templates/comment.js' )
73 div.commentBody ${ body }
76 span.userName ${ userName }
78 span.userAffil ${ userAffil }
83 div( style = 'clear: both; height: 1px;' )