Sha256: 5e1b55345cf9a96670d0eb0167973da0380a2138037eabb51d65345131d383d2

Contents?: true

Size: 951 Bytes

Versions: 6

Compression:

Stored size: 951 Bytes

Contents

namespace "SensuDashboard", (exports) ->

  exports.States = new exports.StateManager {

    events: class extends exports.MainState
      route: "events"
      view: (opts) ->
        new SensuDashboard.Views.Events.Index(model: SensuDashboard.EventsMetadata)

    clients: class extends exports.MainState
      route: "clients"
      view: (opts) ->
        new SensuDashboard.Views.Clients.Index(collection: SensuDashboard.Clients)

    stashes: class extends exports.MainState
      route: "stashes"
      view: (opts) ->
        new SensuDashboard.Views.Stashes.Index(collection: SensuDashboard.Stashes)

    checks: class extends exports.MainState
      route: "checks"
      view: (opts) ->
        new SensuDashboard.Views.Checks.Index(collection: SensuDashboard.Checks)

    info: class extends exports.MainState
      route: "info"
      view: (opts) ->
        new SensuDashboard.Views.Info.Index(model: SensuDashboard.Info)

  }, "events"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sensu-dashboard-0.10.4 lib/sensu-dashboard/assets/javascripts/config/states.coffee
sensu-dashboard-0.10.3 lib/sensu-dashboard/assets/javascripts/config/states.coffee
sensu-dashboard-0.10.2 lib/sensu-dashboard/assets/javascripts/config/states.coffee
sensu-dashboard-0.10.1 lib/sensu-dashboard/assets/javascripts/config/states.coffee
sensu-dashboard-0.10.0 lib/sensu-dashboard/assets/javascripts/config/states.coffee
sensu-dashboard-0.9.9 lib/sensu-dashboard/assets/javascripts/config/states.coffee