       @a class: "#{css}", click: '', '[ Start ]'
       @a class: "#{css}", click: '', '[ Stop ]'
       @a class: "#{css}", click: '', '[ Restart ]'
+
+      @label ' Browser: '
+      @a class: "#{css}", click: 'openbrowser', '[ Open ]'
+      @a class: "#{css}", click: 'refreshbrowser', '[ Refresh ]'
 
       @span class: 'heading-status', outlet: 'icon_startserver'
       @span class: 'heading-status', outlet: 'icon_stopserver'

      else @status.addClass 'icon-dash'

  openbrowser: ->
    BrowserWindow = require('remote').require 'browser-window'
    mainWindow = new BrowserWindow({width: 800, height: 600, frame: true });
    #mainWindow.loadUrl editor.getUri()
    #mainWindow.loadUrl('http://localhost:57772/csp/sys/webterminal/index.csp')
    mainWindow.show()

    #

###

{View} = require 'atom'
BrowserWindow = require('remote').require 'browser-window'

module.exports =
class CustomScriptBuildsToolbarView extends View
  browserWindow: null

  @content: ->
    #@div class: 'overlay from-top panel', outlet: 'scriptOptionsView', => #non header
