 
     on_new_click: (event) =>
         new NewEnvView(envs: @envs).show()
+
+    on_env_activate: (data) =>
+        # TODO
 
 class ModalView extends Backbone.View
     initialize: (options) ->

    g = m/1024
    return sprintf('%.2f GB', g)

class Env extends Backbone.Model
    defaults: -> {}


    submit_text: () -> "Create"

    doit: (new_name) ->
        api("envs/new/#{new_name}", {}, @on_env_new)

    on_env_new: (data) =>
        # TODO

class SearchView extends Backbone.View
    initialize: (options) ->
