sensu-dashboard 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/sensu-dashboard/assets/javascripts/handlebars_helpers.coffee +3 -0
- data/lib/sensu-dashboard/assets/javascripts/templates/events/modal.hbs +1 -1
- data/lib/sensu-dashboard/assets/javascripts/views/list.coffee +4 -1
- data/lib/sensu-dashboard/assets/stylesheets/main.sass +1 -0
- data/lib/sensu-dashboard/constants.rb +1 -1
- data/sensu-dashboard.gemspec +1 -1
- metadata +84 -82
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
A front-end dashboard for the Sensu monitoring framework.
|
4
4
|
|
5
5
|
## Documentation
|
6
|
-
Please refer to the [Sensu Wiki](https://github.com/sensu/sensu
|
6
|
+
Please refer to the [Sensu Wiki](https://github.com/sensu/sensu/wiki).
|
7
7
|
|
8
8
|
## License
|
9
9
|
Sensu is released under the [MIT license](https://raw.github.com/sensu/sensu-dashboard/master/MIT-LICENSE.txt).
|
@@ -14,7 +14,7 @@ namespace "SensuDashboard.Views", (exports) ->
|
|
14
14
|
view = new kls(model: model, name: @itemName)
|
15
15
|
|
16
16
|
initialize: ->
|
17
|
-
@listenTo(@collection, "remove", @
|
17
|
+
@listenTo(@collection, "remove", @removeItem)
|
18
18
|
@listenTo(@collection, "reset", @render)
|
19
19
|
@listenTo(@collection, "add", @render)
|
20
20
|
|
@@ -22,6 +22,9 @@ namespace "SensuDashboard.Views", (exports) ->
|
|
22
22
|
@renderItem(item)
|
23
23
|
@collection.sort()
|
24
24
|
|
25
|
+
removeItem: (item, collection = @collection) ->
|
26
|
+
@renderEmpty(collection)
|
27
|
+
|
25
28
|
renderItem: (item) ->
|
26
29
|
item_view = @itemView(item)
|
27
30
|
@$el.find(@collectionEl).append(item_view.render().el)
|
data/sensu-dashboard.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_dependency('yui-compressor')
|
22
22
|
s.add_dependency('coffee-script')
|
23
23
|
s.add_dependency('handlebars_assets')
|
24
|
-
s.add_dependency('therubyracer')
|
24
|
+
s.add_dependency('therubyracer', '0.11.4')
|
25
25
|
s.add_dependency('less')
|
26
26
|
s.add_dependency('sinatra', '1.3.5')
|
27
27
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-dashboard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 53
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 10
|
9
|
-
-
|
10
|
-
version: 0.10.
|
9
|
+
- 1
|
10
|
+
version: 0.10.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Justin Kolberg
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2013-
|
19
|
+
date: 2013-10-23 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -141,12 +141,14 @@ dependencies:
|
|
141
141
|
requirement: &id009 !ruby/object:Gem::Requirement
|
142
142
|
none: false
|
143
143
|
requirements:
|
144
|
-
- - "
|
144
|
+
- - "="
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
hash:
|
146
|
+
hash: 59
|
147
147
|
segments:
|
148
148
|
- 0
|
149
|
-
|
149
|
+
- 11
|
150
|
+
- 4
|
151
|
+
version: 0.11.4
|
150
152
|
type: :runtime
|
151
153
|
version_requirements: *id009
|
152
154
|
- !ruby/object:Gem::Dependency
|
@@ -191,116 +193,116 @@ extra_rdoc_files: []
|
|
191
193
|
|
192
194
|
files:
|
193
195
|
- bin/sensu-dashboard
|
194
|
-
- lib/sensu-dashboard/assets/stylesheets/libs/font-awesome.less
|
195
|
-
- lib/sensu-dashboard/assets/stylesheets/libs/toastr.min.css
|
196
|
-
- lib/sensu-dashboard/assets/stylesheets/libs/bootstrap.min.css
|
197
|
-
- lib/sensu-dashboard/assets/stylesheets/app.css
|
198
|
-
- lib/sensu-dashboard/assets/stylesheets/main.sass
|
199
|
-
- lib/sensu-dashboard/assets/javascripts/namespace.coffee
|
200
|
-
- lib/sensu-dashboard/assets/javascripts/matcher.coffee
|
201
|
-
- lib/sensu-dashboard/assets/javascripts/libs/toastr.min.js
|
202
|
-
- lib/sensu-dashboard/assets/javascripts/libs/retina.js
|
203
|
-
- lib/sensu-dashboard/assets/javascripts/libs/jquery-1.9.1.min.js
|
204
|
-
- lib/sensu-dashboard/assets/javascripts/libs/backbone-min.js
|
205
|
-
- lib/sensu-dashboard/assets/javascripts/libs/token.field.coffee
|
206
|
-
- lib/sensu-dashboard/assets/javascripts/libs/lodash.underscore.min.js
|
207
|
-
- lib/sensu-dashboard/assets/javascripts/libs/scroll.into.view.js
|
208
|
-
- lib/sensu-dashboard/assets/javascripts/libs/bootstrap.min.js
|
209
|
-
- lib/sensu-dashboard/assets/javascripts/libs/liquid.metal.js
|
210
196
|
- lib/sensu-dashboard/assets/javascripts/app.js
|
211
|
-
- lib/sensu-dashboard/assets/javascripts/
|
197
|
+
- lib/sensu-dashboard/assets/javascripts/application.coffee
|
198
|
+
- lib/sensu-dashboard/assets/javascripts/bootstrapper.coffee
|
212
199
|
- lib/sensu-dashboard/assets/javascripts/collections/base.coffee
|
200
|
+
- lib/sensu-dashboard/assets/javascripts/collections/checks.coffee
|
213
201
|
- lib/sensu-dashboard/assets/javascripts/collections/clients.coffee
|
214
202
|
- lib/sensu-dashboard/assets/javascripts/collections/events.coffee
|
215
203
|
- lib/sensu-dashboard/assets/javascripts/collections/stashes.coffee
|
204
|
+
- lib/sensu-dashboard/assets/javascripts/config/states.coffee
|
216
205
|
- lib/sensu-dashboard/assets/javascripts/handlebars_helpers.coffee
|
217
|
-
- lib/sensu-dashboard/assets/javascripts/
|
206
|
+
- lib/sensu-dashboard/assets/javascripts/libs/backbone-min.js
|
207
|
+
- lib/sensu-dashboard/assets/javascripts/libs/bootstrap.min.js
|
208
|
+
- lib/sensu-dashboard/assets/javascripts/libs/jquery-1.9.1.min.js
|
209
|
+
- lib/sensu-dashboard/assets/javascripts/libs/liquid.metal.js
|
210
|
+
- lib/sensu-dashboard/assets/javascripts/libs/lodash.underscore.min.js
|
211
|
+
- lib/sensu-dashboard/assets/javascripts/libs/retina.js
|
212
|
+
- lib/sensu-dashboard/assets/javascripts/libs/scroll.into.view.js
|
213
|
+
- lib/sensu-dashboard/assets/javascripts/libs/toastr.min.js
|
214
|
+
- lib/sensu-dashboard/assets/javascripts/libs/token.field.coffee
|
215
|
+
- lib/sensu-dashboard/assets/javascripts/matcher.coffee
|
216
|
+
- lib/sensu-dashboard/assets/javascripts/models/check.coffee
|
217
|
+
- lib/sensu-dashboard/assets/javascripts/models/client.coffee
|
218
|
+
- lib/sensu-dashboard/assets/javascripts/models/event.coffee
|
219
|
+
- lib/sensu-dashboard/assets/javascripts/models/info.coffee
|
220
|
+
- lib/sensu-dashboard/assets/javascripts/models/metadata/events.coffee
|
221
|
+
- lib/sensu-dashboard/assets/javascripts/models/stash.coffee
|
222
|
+
- lib/sensu-dashboard/assets/javascripts/namespace.coffee
|
223
|
+
- lib/sensu-dashboard/assets/javascripts/state.coffee
|
218
224
|
- lib/sensu-dashboard/assets/javascripts/state_manager.coffee
|
219
|
-
- lib/sensu-dashboard/assets/javascripts/
|
220
|
-
- lib/sensu-dashboard/assets/javascripts/templates/
|
221
|
-
- lib/sensu-dashboard/assets/javascripts/templates/
|
222
|
-
- lib/sensu-dashboard/assets/javascripts/templates/
|
223
|
-
- lib/sensu-dashboard/assets/javascripts/templates/
|
224
|
-
- lib/sensu-dashboard/assets/javascripts/templates/
|
225
|
-
- lib/sensu-dashboard/assets/javascripts/templates/
|
226
|
-
- lib/sensu-dashboard/assets/javascripts/templates/checks/list_item.hbs
|
225
|
+
- lib/sensu-dashboard/assets/javascripts/states/main_state.coffee
|
226
|
+
- lib/sensu-dashboard/assets/javascripts/templates/autocomplete/results_check_item.hbs
|
227
|
+
- lib/sensu-dashboard/assets/javascripts/templates/autocomplete/results_check_token.hbs
|
228
|
+
- lib/sensu-dashboard/assets/javascripts/templates/autocomplete/results_client_item.hbs
|
229
|
+
- lib/sensu-dashboard/assets/javascripts/templates/autocomplete/results_client_token.hbs
|
230
|
+
- lib/sensu-dashboard/assets/javascripts/templates/autocomplete/results_query_item.hbs
|
231
|
+
- lib/sensu-dashboard/assets/javascripts/templates/autocomplete/results_query_token.hbs
|
227
232
|
- lib/sensu-dashboard/assets/javascripts/templates/checks/index.hbs
|
228
233
|
- lib/sensu-dashboard/assets/javascripts/templates/checks/list.hbs
|
229
|
-
- lib/sensu-dashboard/assets/javascripts/templates/
|
230
|
-
- lib/sensu-dashboard/assets/javascripts/templates/clients/modal.hbs
|
234
|
+
- lib/sensu-dashboard/assets/javascripts/templates/checks/list_item.hbs
|
231
235
|
- lib/sensu-dashboard/assets/javascripts/templates/clients/counts.hbs
|
232
|
-
- lib/sensu-dashboard/assets/javascripts/templates/clients/list_item.hbs
|
233
236
|
- lib/sensu-dashboard/assets/javascripts/templates/clients/index.hbs
|
234
237
|
- lib/sensu-dashboard/assets/javascripts/templates/clients/list.hbs
|
235
|
-
- lib/sensu-dashboard/assets/javascripts/templates/
|
238
|
+
- lib/sensu-dashboard/assets/javascripts/templates/clients/list_item.hbs
|
239
|
+
- lib/sensu-dashboard/assets/javascripts/templates/clients/modal.hbs
|
240
|
+
- lib/sensu-dashboard/assets/javascripts/templates/empty_list.hbs
|
241
|
+
- lib/sensu-dashboard/assets/javascripts/templates/error.hbs
|
242
|
+
- lib/sensu-dashboard/assets/javascripts/templates/events/counts.hbs
|
243
|
+
- lib/sensu-dashboard/assets/javascripts/templates/events/index.hbs
|
244
|
+
- lib/sensu-dashboard/assets/javascripts/templates/events/list.hbs
|
245
|
+
- lib/sensu-dashboard/assets/javascripts/templates/events/list_item.hbs
|
246
|
+
- lib/sensu-dashboard/assets/javascripts/templates/events/modal.hbs
|
247
|
+
- lib/sensu-dashboard/assets/javascripts/templates/info/index.hbs
|
248
|
+
- lib/sensu-dashboard/assets/javascripts/templates/modal.hbs
|
236
249
|
- lib/sensu-dashboard/assets/javascripts/templates/stashes/counts.hbs
|
237
|
-
- lib/sensu-dashboard/assets/javascripts/templates/stashes/list_item.hbs
|
238
250
|
- lib/sensu-dashboard/assets/javascripts/templates/stashes/index.hbs
|
239
251
|
- lib/sensu-dashboard/assets/javascripts/templates/stashes/list.hbs
|
240
|
-
- lib/sensu-dashboard/assets/javascripts/templates/
|
241
|
-
- lib/sensu-dashboard/assets/javascripts/templates/
|
242
|
-
- lib/sensu-dashboard/assets/javascripts/templates/autocomplete/results_check_item.hbs
|
243
|
-
- lib/sensu-dashboard/assets/javascripts/templates/autocomplete/results_check_token.hbs
|
244
|
-
- lib/sensu-dashboard/assets/javascripts/templates/autocomplete/results_query_token.hbs
|
245
|
-
- lib/sensu-dashboard/assets/javascripts/templates/autocomplete/results_client_item.hbs
|
246
|
-
- lib/sensu-dashboard/assets/javascripts/templates/error.hbs
|
247
|
-
- lib/sensu-dashboard/assets/javascripts/templates/info/index.hbs
|
248
|
-
- lib/sensu-dashboard/assets/javascripts/models/client.coffee
|
249
|
-
- lib/sensu-dashboard/assets/javascripts/models/event.coffee
|
250
|
-
- lib/sensu-dashboard/assets/javascripts/models/info.coffee
|
251
|
-
- lib/sensu-dashboard/assets/javascripts/models/stash.coffee
|
252
|
-
- lib/sensu-dashboard/assets/javascripts/models/check.coffee
|
253
|
-
- lib/sensu-dashboard/assets/javascripts/models/metadata/events.coffee
|
254
|
-
- lib/sensu-dashboard/assets/javascripts/config/states.coffee
|
255
|
-
- lib/sensu-dashboard/assets/javascripts/views/events/counts.coffee
|
256
|
-
- lib/sensu-dashboard/assets/javascripts/views/events/modal.coffee
|
257
|
-
- lib/sensu-dashboard/assets/javascripts/views/events/list.coffee
|
258
|
-
- lib/sensu-dashboard/assets/javascripts/views/events/list_item.coffee
|
259
|
-
- lib/sensu-dashboard/assets/javascripts/views/events/index.coffee
|
260
|
-
- lib/sensu-dashboard/assets/javascripts/views/auto_complete/auto_complete_results.coffee
|
252
|
+
- lib/sensu-dashboard/assets/javascripts/templates/stashes/list_item.hbs
|
253
|
+
- lib/sensu-dashboard/assets/javascripts/templates/stashes/modal.hbs
|
261
254
|
- lib/sensu-dashboard/assets/javascripts/views/auto_complete/auto_complete_field.coffee
|
255
|
+
- lib/sensu-dashboard/assets/javascripts/views/auto_complete/auto_complete_results.coffee
|
262
256
|
- lib/sensu-dashboard/assets/javascripts/views/auto_complete/auto_complete_token.coffee
|
257
|
+
- lib/sensu-dashboard/assets/javascripts/views/base.coffee
|
258
|
+
- lib/sensu-dashboard/assets/javascripts/views/checks/index.coffee
|
263
259
|
- lib/sensu-dashboard/assets/javascripts/views/checks/list.coffee
|
264
260
|
- lib/sensu-dashboard/assets/javascripts/views/checks/list_item.coffee
|
265
|
-
- lib/sensu-dashboard/assets/javascripts/views/checks/index.coffee
|
266
|
-
- lib/sensu-dashboard/assets/javascripts/views/base.coffee
|
267
|
-
- lib/sensu-dashboard/assets/javascripts/views/modal.coffee
|
268
261
|
- lib/sensu-dashboard/assets/javascripts/views/clients/counts.coffee
|
269
|
-
- lib/sensu-dashboard/assets/javascripts/views/clients/
|
262
|
+
- lib/sensu-dashboard/assets/javascripts/views/clients/index.coffee
|
270
263
|
- lib/sensu-dashboard/assets/javascripts/views/clients/list.coffee
|
271
264
|
- lib/sensu-dashboard/assets/javascripts/views/clients/list_item.coffee
|
272
|
-
- lib/sensu-dashboard/assets/javascripts/views/clients/
|
265
|
+
- lib/sensu-dashboard/assets/javascripts/views/clients/modal.coffee
|
273
266
|
- lib/sensu-dashboard/assets/javascripts/views/error.coffee
|
267
|
+
- lib/sensu-dashboard/assets/javascripts/views/events/counts.coffee
|
268
|
+
- lib/sensu-dashboard/assets/javascripts/views/events/index.coffee
|
269
|
+
- lib/sensu-dashboard/assets/javascripts/views/events/list.coffee
|
270
|
+
- lib/sensu-dashboard/assets/javascripts/views/events/list_item.coffee
|
271
|
+
- lib/sensu-dashboard/assets/javascripts/views/events/modal.coffee
|
272
|
+
- lib/sensu-dashboard/assets/javascripts/views/info/index.coffee
|
273
|
+
- lib/sensu-dashboard/assets/javascripts/views/list.coffee
|
274
|
+
- lib/sensu-dashboard/assets/javascripts/views/list_item.coffee
|
275
|
+
- lib/sensu-dashboard/assets/javascripts/views/modal.coffee
|
274
276
|
- lib/sensu-dashboard/assets/javascripts/views/stashes/counts.coffee
|
275
|
-
- lib/sensu-dashboard/assets/javascripts/views/stashes/
|
277
|
+
- lib/sensu-dashboard/assets/javascripts/views/stashes/index.coffee
|
276
278
|
- lib/sensu-dashboard/assets/javascripts/views/stashes/list.coffee
|
277
279
|
- lib/sensu-dashboard/assets/javascripts/views/stashes/list_item.coffee
|
278
|
-
- lib/sensu-dashboard/assets/javascripts/views/stashes/
|
279
|
-
- lib/sensu-dashboard/assets/
|
280
|
-
- lib/sensu-dashboard/assets/
|
281
|
-
- lib/sensu-dashboard/assets/
|
282
|
-
- lib/sensu-dashboard/assets/
|
283
|
-
- lib/sensu-dashboard/assets/
|
280
|
+
- lib/sensu-dashboard/assets/javascripts/views/stashes/modal.coffee
|
281
|
+
- lib/sensu-dashboard/assets/stylesheets/app.css
|
282
|
+
- lib/sensu-dashboard/assets/stylesheets/libs/bootstrap.min.css
|
283
|
+
- lib/sensu-dashboard/assets/stylesheets/libs/font-awesome.less
|
284
|
+
- lib/sensu-dashboard/assets/stylesheets/libs/toastr.min.css
|
285
|
+
- lib/sensu-dashboard/assets/stylesheets/main.sass
|
284
286
|
- lib/sensu-dashboard/constants.rb
|
285
|
-
- lib/sensu-dashboard/
|
286
|
-
- lib/sensu-dashboard/views/layout.slim
|
287
|
-
- lib/sensu-dashboard/views/main.slim
|
288
|
-
- lib/sensu-dashboard/public/font/fontawesome-webfont.woff
|
289
|
-
- lib/sensu-dashboard/public/font/fontawesome-webfont.ttf
|
287
|
+
- lib/sensu-dashboard/public/favicon.ico
|
290
288
|
- lib/sensu-dashboard/public/font/fontawesome-webfont.eot
|
291
289
|
- lib/sensu-dashboard/public/font/fontawesome-webfont.svg
|
290
|
+
- lib/sensu-dashboard/public/font/fontawesome-webfont.ttf
|
291
|
+
- lib/sensu-dashboard/public/font/fontawesome-webfont.woff
|
292
292
|
- lib/sensu-dashboard/public/font/FontAwesome.otf
|
293
|
-
- lib/sensu-dashboard/public/
|
293
|
+
- lib/sensu-dashboard/public/img/favicon_114.png
|
294
|
+
- lib/sensu-dashboard/public/img/favicon_144.png
|
295
|
+
- lib/sensu-dashboard/public/img/favicon_57.png
|
294
296
|
- lib/sensu-dashboard/public/img/favicon_64.png
|
295
|
-
- lib/sensu-dashboard/public/img/loading.gif
|
296
297
|
- lib/sensu-dashboard/public/img/favicon_72.png
|
297
|
-
- lib/sensu-dashboard/public/img/logo@2x.png
|
298
|
-
- lib/sensu-dashboard/public/img/favicon_144.png
|
299
298
|
- lib/sensu-dashboard/public/img/glyphicons-halflings-white.png
|
300
|
-
- lib/sensu-dashboard/public/img/favicon_114.png
|
301
|
-
- lib/sensu-dashboard/public/img/favicon_57.png
|
302
299
|
- lib/sensu-dashboard/public/img/glyphicons-halflings.png
|
300
|
+
- lib/sensu-dashboard/public/img/loading.gif
|
303
301
|
- lib/sensu-dashboard/public/img/logo.png
|
302
|
+
- lib/sensu-dashboard/public/img/logo@2x.png
|
303
|
+
- lib/sensu-dashboard/server.rb
|
304
|
+
- lib/sensu-dashboard/views/layout.slim
|
305
|
+
- lib/sensu-dashboard/views/main.slim
|
304
306
|
- lib/sensu-dashboard.rb
|
305
307
|
- sensu-dashboard.gemspec
|
306
308
|
- README.md
|