habitica/views/options/groups/chat-box.jade

15 lines
585 B
Text
Raw Normal View History

form(ng-submit='postChat(group,_chatMessage)')
2013-09-09 22:28:46 +00:00
.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
2013-10-16 19:02:57 +00:00
button.btn(ng-click='sync(group)', tooltip='Fetch Recent Messages')
i(class='pull-right icon-refresh')