Sha256: 5f5176743c6e6b0e9b4ea6d9dba1ec0f7c325920ddd5809a667572c61fe40cb9

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

!!!
%html
  %head
    %meta{:charset => "UTF-8"}
    %title Output of rails_best_practices
    :css
      body {
        color: #333;
        background: #eee;
        padding: 0 20px;
      }
      h1 {
        color: ##4E4E4E;
      }
      table {
        background: white;
        border: 1px solid #666;
        border-collapse: collapse;
        margin: 20px 0;
        font-size: 14px;
      }
      table th, table td {
        padding: 4px;
        border: 1px solid #D0D0D0;
      }
      table th {
        background-color: #DFC;
        color: #337022;
      }
      table td.filename {
        color: #ED1556;
      }
      table tr:hover {
        background-color: #FFFFC0;
      }
  %body
    %h1 rails_best_practices output
    %h2 Please go to <a href="http://rails-bestpractices.com">http://rails-bestpractices.com</a> to see more useful Rails Best Practices.
    %h2
      - if errors.empty?
        No error found. Cool!
      - else
        Found #{errors.size} errors.
    %table
      %tr
        %th Filename
        %th Line Number
        %th Error Message
      - errors.each do |error|
        %tr
          %td.filename= error.filename
          %td.line-number= error.line_number
          %td.message= error.message

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_best_practices-0.6.5 assets/result.html.haml