rest-ftp-daemon 0.306.3 → 0.306.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3ba09263b0e0f9b574f05b07e686181872696be
4
- data.tar.gz: cb8d3c93c629c8fe885ae561c0a65bcfcca49115
3
+ metadata.gz: 0d15b2a4f1323d3b3ff66469ae5355fb791d650c
4
+ data.tar.gz: 21d956bad2aff427c072a155888625b3ec4d47c5
5
5
  SHA512:
6
- metadata.gz: 020c5dc65568a55a968cf2d1dffd5a85807df9ee204fda3843dd3ba837b3696da9baef16efde60914f980ef1895eb6e6b66f9e46e27b3f4fa66f394ed1e3c71f
7
- data.tar.gz: e7fbfb2d4e4fa68aa75d51d87aa631dd698ee6275222d94dcfcedf5f4b2370662f1d6a2bc478390b562ca812cdc59c8c322507510e4c25f1c1f6e03b1e4d6e22
6
+ metadata.gz: 2d5574f7d1fdab3fbba01799a82e31e40bb4ba80c50bcd5ae5b1512186559c4f0cad9344622bd6a8d8bee3a0843d528b30eaa265194c70788b394d941a52fd60
7
+ data.tar.gz: 8b1197ca349561e3d1f7c667a170360b7ec74a84d8aeaf408a1f9d088cf3cef6389862a59fc8283754e5af8d48cdc715adc8314ad653bbb611abdc60f42f561c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rest-ftp-daemon (0.306.3)
4
+ rest-ftp-daemon (0.306.4)
5
5
  activesupport (~> 4.2)
6
6
  api-auth
7
7
  bmc-daemon-lib (~> 0.3.1)
@@ -24,6 +24,13 @@ body, table tr td, .fixed {
24
24
  cursor: hand;
25
25
  }
26
26
 
27
+ .feature-enabled img {
28
+ }
29
+ .feature-disabled img {
30
+ opacity: 0.2;
31
+ filter: alpha(opacity=20);
32
+ }
33
+
27
34
  .label {
28
35
  font-size: 1em;
29
36
  padding: 2px 2px 2px 2px;
@@ -1,5 +1,7 @@
1
1
  -# coding: utf-8
2
2
  - info_procs = (Facter.value :processorcount).to_i
3
+ - newrelic_class = Conf.newrelic_enabled? ? 'feature-enabled' : 'feature-disabled'
4
+ - reload_class = Conf[:allow_reload] ? 'feature-enabled' : 'feature-disabled'
3
5
 
4
6
  .footer-signature.pull-left
5
7
 
@@ -15,6 +17,13 @@
15
17
 
16
18
  .footer-indicators.pull-right
17
19
 
20
+ .btn-group.btn-group-sm
21
+ .btn.btn-default.btn-info Features
22
+ .btn.btn-default{class: newrelic_class}
23
+ %img{src: "/images/logo_newrelic.png", height: "14", title: "NewRelic"}
24
+ .btn.btn-default{class: reload_class}
25
+ %img{src: "/images/reload.png", height: "14", title: "Configuration is hot-reloadable (allow_relaod)"}
26
+
18
27
  - if Conf.host
19
28
  .btn-group.btn-group-sm
20
29
  .btn.btn-default.btn-info Host
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |spec|
3
3
 
4
4
  # Project version
5
- spec.version = "0.306.3"
5
+ spec.version = "0.306.4"
6
6
 
7
7
  # Project description
8
8
  spec.name = "rest-ftp-daemon"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest-ftp-daemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.306.3
4
+ version: 0.306.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno MEDICI
@@ -364,6 +364,10 @@ files:
364
364
  - lib/rest-ftp-daemon/remote_sftp.rb
365
365
  - lib/rest-ftp-daemon/static/css/bootstrap.css
366
366
  - lib/rest-ftp-daemon/static/css/main.css
367
+ - lib/rest-ftp-daemon/static/images/logo_newrelic.fw.png
368
+ - lib/rest-ftp-daemon/static/images/logo_newrelic.png
369
+ - lib/rest-ftp-daemon/static/images/logo_newrelic_full.png
370
+ - lib/rest-ftp-daemon/static/images/reload.png
367
371
  - lib/rest-ftp-daemon/uri.rb
368
372
  - lib/rest-ftp-daemon/views/dashboard.haml
369
373
  - lib/rest-ftp-daemon/views/dashboard_counters.haml