Sha256: a2c18481bfa90a686d2b3adc447d86da47de32d13f88d5b9f700e5c44f2f0b7c
Contents?: true
Size: 874 Bytes
Versions: 1
Compression:
Stored size: 874 Bytes
Contents
- run_now ||= false - show_group ||= false %tr{ id: dom_id(check), class: (check.enabled? ? 'enabled' : 'disabled') } - 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 #check_now =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' #actions %br =link_to 'edit', edit_check_path(check) =link_to (check.enabled? ? 'disable' : 'enable' ), toggle_check_path(check), class: 'disable_check', method: :post, data: { remote: true, confirm: 'Are you sure?' }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
my_nagios-0.0.3 | app/views/my_nagios/checks/_check_row.haml |