 
   QueueItemView: Travis.View.extend
     tagName: 'li'
+
+Travis.SidebarView.reopenClass
+  WorkersView: Em.View.extend
+    templateName: 'workers/list'
+    init: ->
+      @_super.apply this, arguments
+      @set 'controller', @get('controller').container.lookup('controller:workers')
+
+  JobsView: Em.View.extend
+    templateName: 'jobs/running'
+    elementId: 'running-jobs'
+    init: ->
+      @_super.apply this, arguments
+      @set 'controller', @get('controller').container.lookup('controller:runningJobs')
+
+    groupsBinding: 'controller.sortedGroups'
+    jobsBinding: 'controller'

      @activate('jobs')

    activate: (name) ->
      return if @get('activeTab') == name
      @set('activeTab', name)
      @connectOutlet 'pane', Travis["#{name.capitalize()}View"].create(controller: @get('controller'))

    classQueues: (->
      'active' if @get('activeTab') == 'queues'

@Travis.reopen
  SidebarView: Travis.View.extend
    templateName: 'layouts/sidebar'

