2013-11-24 16:49:25 +00:00
|
|
|
form.chat-form(ng-submit='postChat(group,message.content)')
|
2013-11-08 01:24:49 +00:00
|
|
|
.-options
|
2013-12-20 02:39:12 +00:00
|
|
|
//FIXME ng-model makes this painfully slow! using jquery for now, which is really non-angular-like
|
2013-11-12 06:32:52 +00:00
|
|
|
.control-group.option-large(ng-controller='AutocompleteCtrl')
|
2013-11-13 04:04:37 +00:00
|
|
|
textarea.chat-textarea.option-content(style='height:6em;', ui-keypress='{13:"postChat(group,message.content)"}', ng-model='message.content', updateinterval='250', flag='@', at-user, auto-complete)
|
2013-11-12 15:41:26 +00:00
|
|
|
span.user-list(ng-show='!isAtListHidden')
|
2013-11-12 06:32:52 +00:00
|
|
|
ul.list-at-user
|
2014-01-07 07:37:42 +00:00
|
|
|
li(bindonce='response', ng-repeat='user in response | filter:query.text | limitTo: 5', ng-click='autoComplete(user)')
|
2013-11-23 17:26:39 +00:00
|
|
|
span.username.label(class='label-contributor-{{user.contributor.level}}', ng-class='{"label-npc": user.backer.npc}') {{user.user}}
|
2013-09-09 22:28:46 +00:00
|
|
|
table.pull-right
|
|
|
|
|
tr
|
|
|
|
|
td
|
2014-01-23 08:33:41 +00:00
|
|
|
input.btn.chat-btn(type='submit', value=env.t('sendChat'), ng-class='{disabled: _sending == true}')
|
2013-09-09 22:28:46 +00:00
|
|
|
td
|
2014-01-23 08:33:41 +00:00
|
|
|
button.btn(type="button", ng-click='sync(group)', tooltip=env.t('toolTipMsg'))
|
2014-02-04 19:18:27 +00:00
|
|
|
span.glyphicon.glyphicon-refresh.pull-right
|