Sha256: 983beefbd8cf3d91ab91db4f40798d16c2ee1426baab217bee0ba9c26a38fe80

Contents?: true

Size: 734 Bytes

Versions: 2

Compression:

Stored size: 734 Bytes

Contents

=link_to  'Add new check', new_check_path

%h3 Critical errors:
- if @criticals.blank?
  %p No criticals
- else
  %table.table
    %colgroup
      %col{ width: '10%'}
      %col{ width: '80%'}
      %col{ width: '5%'}
      %col{ width: '5%'}
      - @criticals.each do |check|
        = render partial: '/my_nagios/checks/check_row', locals: { check: check, show_group: true }

#checks{ data: :no_turbolink }
  - @group.each do |group|

    %h3=group.name

    %table.table
      %colgroup
        %col{ width: '10%'}
        %col{ width: '80%'}
        %col{ width: '5%'}
        %col{ width: '5%'}
      - group.checks.each do |check|
        = render partial: '/my_nagios/checks/check_row', locals: { check: check, run_now: true }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
my_nagios-0.0.2 app/views/my_nagios/welcome/index.haml
my_nagios-0.0.1 app/views/my_nagios/welcome/index.haml