                     title   : 'Close'
                     style   : 'modal-clean-gray'
                     callback: -> modal.destroy()
-              
+
               {winHeight} = @getSingleton('windowController')
               modal.$('.kdmodal-content').css 'max-height', winHeight - 200
               modal.setY (winHeight - modal.getHeight())/2
      tagName   : "a"
      domId     : "koding-logo"
      # cssClass  : "hidden"
      attributes: 
        href    : "#"
      click     : (pubInst,event)=>
        if KD.isLoggedIn()

    @sidebar = new Sidebar domId : "sidebar", delegate : @
    @emit "SidebarCreated", @sidebar
    @sidebarPanel.addSubView @sidebar

  changeHomeLayout:(isLoggedIn)->

  decorateLoginState:(isLoggedIn = no)->
