Sha256: 17f6a8364ab3b5caba0dff4b03e53cf44ff7c5173a478f0c1de667e572c2a1bf

Contents?: true

Size: 1.78 KB

Versions: 6

Compression:

Stored size: 1.78 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <title><%=Rails.application.class.parent_name%> Diagnostic</title>
    <style type="text/css">
      body { margin: auto;
       margin-bottom: 50px;
       border: 0;
       background-color: #fff;
       color: #333333;
       font-family: Arial, Helvetica, Verdana, sans-serif;
       font-weight: normal;
       font-size: 9pt; }
      table { border: none;
        border-collapse: collapse;
        display: inline-block;
        margin: 0px 5px 0px 5px;
        text-align: left;
      }
      th { padding: 9px;
           border: none;
           background-color: #d6d6d6 }
      td { text-align: left;
           padding: 9px;
         }
      tr { text-align: center;}
      tr.passed { background-color: #d0e9c6 }
      td.passed { background-color: #d0e9c6 }
      td.error  { background-color: #ff5555;
            color: #ffffff;}
      th.error  { background-color: #ff5555;}
      td.desc { font-size: 10pt; }
      p  { white-space: pre-line;}
      h1 { display: block;
           margin: 0px auto 40px auto;
           padding: 8px;
           background-color: #1aaa55;
           font-size: 18pt;
           color: #ffffff;
           line-height: 1.5em; }
      h1.error {background-color: #ff5555;}
      h2 {text-align: center;}
      h3.error {color: red;}
      h3 {text-align: center;}
      td.overflow { max-width: 350px;
              overflow: auto; }
      .wrapper {
          overflow-x: auto;
          white-space: nowrap;
          display: block;}
    </style>
  </head>
  <body>
    <div style="text-align:center">
      <h1 class="<%= 'error' if @result.to_s.include?('error') %>">
        <%=Rails.application.class.parent_name%> Diagnostic
      </h1>
      <h3><i><%= DateTime.now %></i></h3>
      <%== @result %>
    </div>
  </body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
marty-1.1.5 app/views/marty/diagnostic/op.html.erb
marty-1.1.4 app/views/marty/diagnostic/op.html.erb
marty-1.1.3 app/views/marty/diagnostic/op.html.erb
marty-1.1.2 app/views/marty/diagnostic/op.html.erb
marty-1.1.1 app/views/marty/diagnostic/op.html.erb
marty-1.0.54 app/views/marty/diagnostic/op.html.erb