Sha256: 07815e51c643ae2d862dc7cb91d7a83f485d274d24f6edbe109f773de5e4c752

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

=link_to  'Add new check', new_check_path

= render partial: 'failures_list', locals: { criticals: @criticals, show_group: true }

#group_action.text-center.alert.alert-warning{ role: :alert }
  =form_tag group_action_path do
    Please, set action for selected checks:
    =select_tag :check_group_action, options_for_select(['Disable', 'Enable', 'Snooze for'])
    =select_tag :snooze_time_select, options_for_select(['15 min', '30 min', '60 min'])
    =hidden_field_tag :group_action_check_ids
    =submit_tag



#checks{ data: :no_turbolink }
  %table.table.check_list
    %colgroup
      %col{ width: '10%'}
      %col{ width: '78%'}
      %col{ width: '5%'}
      %col{ width: '5%'}
      %col{ width: '2%'}
    %tr
      %td
      %td
      %td
      %td
      %td
        .checkbox_holder
          =check_box_tag :select_all

    - @group.each do |group|
      %tr
        %td{ colspan: 5 }
          %h3=group.name

      - group.checks.each do |check|
        = render partial: '/my_nagios/checks/check_row', locals: { check: check, run_now: true }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
my_nagios-0.0.19 app/views/my_nagios/welcome/index.haml