misc chat-box tweaks

This commit is contained in:
Tyler Renelle 2013-09-09 18:28:46 -04:00
parent 8cc96422f6
commit ddf700d930
2 changed files with 13 additions and 12 deletions

View file

@ -1,14 +1,14 @@
form(ng-submit='postChat(group,_chatMessage)')
//FIXME ng-model makes this painfully slow! using jquery for now, which is really non-angular-like
//textarea.span6(rows='3', ui-keypress='{13:"postChat(group,_chatMessage)"}', ng-model='_chatMessage')
textarea.span6.chat-textarea(rows='3', ui-keypress='{13:"postChat(group,_chatMessage)"}', ng-model='_chatMessage')
br
table
tr
td
input.btn.chat-btn(type='submit', value='Send Chat')
td
button.btn
i(class='pull-right icon-refresh', ng-click='sync(group)', tooltip='Fetch Recent Messages')
.whatever-options
//FIXME ng-model makes this painfully slow! using jquery for now, which is really non-angular-like
.control-group.option-large
textarea.chat-textarea.option-content(style='height:6em;', ui-keypress='{13:"postChat(group,_chatMessage)"}', ng-model='_chatMessage')
table.pull-right
tr
td
input.btn.chat-btn(type='submit', value='Send Chat')
td
button.btn
i(class='pull-right icon-refresh', ng-click='sync(group)', tooltip='Fetch Recent Messages')

View file

@ -41,8 +41,9 @@
li
h4
a(target='_blank', href='http://community.habitrpg.com/forum') Community Forum
.span8(ng-controller='ChatCtrl')
h3 Tavern Talk & LFG
h3 Tavern Talk
.row-fluid
.span3
ul.unstyled.buttonList