Sha256: f3b48c5fa90f773db60bea2f535e0516b75c2ea2572b8c419dbfbb2475f63fcf

Contents?: true

Size: 727 Bytes

Versions: 2

Compression:

Stored size: 727 Bytes

Contents

%table.table
  %thead
    %tr
      %th{ colspan: 3 } Hcheck Status Page
  %tbody
    - @status.each do |s|
      %tr
        %td
          #{s[:name]}
        %td
          #{s[:desc]}
        %td
          - case s[:status]
            - when 'ok'
              %span{style: 'color: green'} Ok
            - when 'bad'
              %span{style: 'color: red'} Bad
            - else
              %span{style: 'color: orange'}= s[:status]

:css
  body {
    background: #fefefe;
    font-family: sans-serif;
  }
  .table {
    width: 1024px;
    margin: 0 auto;
  }
  .table td, .table th {
    padding: 12px;
    text-transform: capitalize;
    font-weight: 200;
  }
  .table th {
    font-size: 2em;
    padding: 20px;
  }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hcheck-0.1.1 lib/hcheck/application/views/index.haml
hcheck-0.1.0 lib/hcheck/application/views/index.haml