Anton Shestakov <av6@dwimlabs.net>, Sat, 02 Apr 2016 19:21:17 +0800
sidebar: add status controls (online, away, xa)
coffee/sidebar.coffee
Permissions: -rw-r--r--
class window.Tram.SidebarApp extends Backbone.View "background: #{ @colors[show] || @colors['default'] };" $btn = $(event.currentTarget) show = $btn.attr('data-show') @model.trigger('show', show, status) @model.trigger('disconnect') @rivet = rivets.bind(@el, model: @model, view: this)