       options.cssClass = kd.utils.curry 'solid compact light-gray nav', name
       options.title = name.capitalize()
       @views.button options
+
 
     navCancelButton: (options) =>
       options.cssClass = 'solid compact light-gray nav cancel'

_                               = require 'lodash'
kd                              = require 'kd'
hljs                            = require 'highlight.js'
globals                         = require 'globals'
remote                          = require('app/remote').getInstance()
dateFormat                      = require 'dateformat'
CustomViews                     = require 'app/commonviews/customviews'
CredentialListItem              = require './credentiallistitem'
ComputeController_UI            = require 'app/providers/computecontroller.ui'
AccountCredentialList           = require 'account/accountcredentiallist'

      return container


    editorView: (options) =>

      kd.singletons.appManager.require 'IDE'

      {content} = options

      content   = Encoder.htmlDecode content
      file      = FSHelper.createFileInstance path: 'localfile:/stack.json'

      editorView = new IDEEditorPane {
        cssClass: 'editor-view'
        file, content, delegate: this
      }

      editorView.setCss background: 'black'

      return editorView


    button: (options) ->
      options.cssClass ?= ''
      new kd.ButtonView options
