my_nagios 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74f6a424eb4c104a4d30c8d62c63750c9fa7d236
4
- data.tar.gz: 41a78f4f3c23af33791782f15739c864826f8f9b
3
+ metadata.gz: c2c794797fd9afb6c4b351d3f18f97a82f91353d
4
+ data.tar.gz: 083333d13eb6f26614edaa8810f3207f7fb0491f
5
5
  SHA512:
6
- metadata.gz: 2bb4bf4269479a807debb39721ff2229c016292bc2744183271737859b701cbf12bece5af2f0486d9061d297aed3c659b71b6c886936ef2f8f6b7420e4dab0b3
7
- data.tar.gz: 996ffe877bee2475e84ad9a2bf2a3613cdde09e83e076be05d72df0853a5582a211f322ac9800a79b570fb7a8343e792b482c3288d0f716fa95efd760f3d2fcb
6
+ metadata.gz: b87f9ad9d59c82fa234c05072a428481e6da1887cf9c26b0fdd24dfc82bf1af4cbe14f85627f66fe042ffd8944d17d0c9f8b6ed31be1cd4bafb1978eaec18669
7
+ data.tar.gz: fbad8116f69f35617a3bff242b80dc2543e0db5a768bb4d41cc85d84da5a72a38605eaed6c336ff417998c85e84d8362c9b67e45349c86633c99f3d3f91da049
@@ -25,6 +25,12 @@
25
25
  margin-top: 30px;
26
26
  }
27
27
 
28
+ td {
29
+ h4 {
30
+ margin-top: 20px;
31
+ }
32
+ }
33
+
28
34
  td.snooze_for {
29
35
  color: #e6e6e6;
30
36
  }
@@ -32,4 +32,12 @@
32
32
  color: #e6e6e6;
33
33
  }
34
34
  }
35
+
36
+ #group_action {
37
+ position: fixed;
38
+ top: 20px;
39
+ right: 60px;
40
+ left: 60px;
41
+ height: 50px;
42
+ }
35
43
  }
@@ -3,7 +3,8 @@ module MyNagios
3
3
 
4
4
  def human_time(time)
5
5
  return '-' unless time
6
- "#{((Time.now - time) / 60).to_i} minutes ago"
6
+
7
+ distance_of_time_in_words(time, Time.now) + ' ago'
7
8
  end
8
9
 
9
10
  def status_to_label(status)
@@ -31,8 +31,12 @@
31
31
 
32
32
  - @group.each do |group|
33
33
  %tr
34
- %td{ colspan: 4 }
34
+ %td{ colspan: 2 }
35
35
  %h3=group.name
36
+ %td
37
+ %h4 Last run:
38
+ %td
39
+ %h4 Actions:
36
40
  %td
37
41
  .checkbox_holder
38
42
  =check_box_tag "select_all_group_#{group.id}", nil, false, class: 'select_all_group', data: { select_all_group: group.id}
@@ -1,3 +1,3 @@
1
1
  module MyNagios
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_nagios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Omelchenko