Sha256: cb6c5502bb23a0ce58346a33c732ff7c1eadff51ff21232561deb10b437dcf62

Contents?: true

Size: 555 Bytes

Versions: 2

Compression:

Stored size: 555 Bytes

Contents

- run_now     ||= false
- show_group  ||= false

%tr{ id: dom_id(check) }
  - if show_group
    %td
      %strong=check.group.name
  - else
    %td=check.command

  %td
    %span.label{ class: "label-#{status_to_label(check.status)}"}= check.status
    =check.latest_state

    - if show_group
      %strong=check.command

  %td=human_time(check.latest_updated_at)

  - if run_now
    %td
      =link_to 'run now', run_now_check_path(check), class: 'check_now', method: :post, remote: true
      =image_tag 'my_nagios/chasing_arrows.gif', class: 'spinner'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
my_nagios-0.0.2 app/views/my_nagios/checks/_check_row.haml
my_nagios-0.0.1 app/views/my_nagios/checks/_check_row.haml