Sha256: 9377c20dd6b933e6dbaa5c57e093b5f097c7de2be9d5860f22ac10716b25af4d

Contents?: true

Size: 1.4 KB

Versions: 20

Compression:

Stored size: 1.4 KB

Contents

-# coding: utf-8
- info_procs = (Facter.value :processorcount).to_i

.footer-signature.pull-left

  ©
  = "2014-#{Time.now.year}"
  %a{href: "http://bmconseil.com/?ref=rftpd-dashboard", target: TARGET_BLANK} Bruno Medici Consultant

  ·
  %a{href: "http://github.com/bmedici/rest-ftp-daemon/", target: TARGET_BLANK} GitHub

  ·
  %a{href: "http://refactorcop.com/bmedici/rest-ftp-daemon/", target: TARGET_BLANK} RefactorCop

  ·
  %a{href: MOUNT_SWAGGER_UI, target: TARGET_BLANK} API


.footer-indicators.indicators.pull-right

  .btn-group.btn-group-sm
    .btn.btn-default.btn-info.disabled Host
    .btn.btn-default.disabled= Conf.host

  .btn-group.btn-group-sm
    .btn.btn-default.btn-info.disabled  Features
    = dashboard_feature :reload, Conf[:allow_reload], "ACTIVE (config is hot-reloadable)",  "changes at startup only"
    = dashboard_feature :newrelic, Conf.feature?(:newrelic), "ACTIVE (license found)",  "disabled"
    = dashboard_feature :rollbar, Conf.feature?(:rollbar), "ACTIVE (token found)",  "disabled"

  .btn-group.btn-group-sm
    .btn.btn-default.btn-info.disabled  IP
    .btn.btn-default.disabled= Facter.value(:ipaddress)

  .btn-group.btn-group-sm
    .btn.btn-default.btn-info.disabled  Cores
    .btn.btn-default.disabled= info_procs

  .btn-group.btn-group-sm
    .btn.btn-default.btn-info.disabled  Started
    .btn.btn-default.disabled= datetime_short(Conf.app_started)

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rest-ftp-daemon-1.1.1 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.1.0 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.15 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.14 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.13 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.12 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.11 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.10 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.9 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.8 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.7 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.5 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.4 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.3 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.2 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-1.0.1 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-0.502.2 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-0.502.1 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-0.502.0 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-0.501.0 lib/rest-ftp-daemon/views/dashboard_footer.haml