Sha256: 7c4b0cffa653e8cbc6a561addd02738c766061f02ff6bfa0ed3451a7949be40e

Contents?: true

Size: 1.4 KB

Versions: 2

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-dashbaord", 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

2 entries across 2 versions & 1 rubygems

Version Path
rest-ftp-daemon-0.434.0 lib/rest-ftp-daemon/views/dashboard_footer.haml
rest-ftp-daemon-0.433.0 lib/rest-ftp-daemon/views/dashboard_footer.haml