Sha256: 0f75570c4eda988f27009a60f06215cb3904cfa8fb9f77628786c60e9dcde4d7

Contents?: true

Size: 980 Bytes

Versions: 1

Compression:

Stored size: 980 Bytes

Contents

!!! 5
%html
  %head
    %title sessions - AutoResponse

    :css
      html, body {
        height: 100%;
        padding: 0;
        margin: 0;
      }
      .sessions {
        height: 100%;
      }

      .sessions .list {
        width: 50%;
        float: left;
        height: 100%;
        overflow-y: scroll;
      }

      .sessions .list table {
      }

      .sessions .list td {
        word-break: break-all;
      }

      .sessions .list tr.stt-200 { }
      .sessions .list tr.stt-500 { color: red; }

      .sessions .inspect {
        width: 50%;
        float: left;
        background: #ccc;
        height: 100%;
      }

  %body
    .sessions
      .list
        %table
          %thead
            %tr
              %th status
              %th url
          %tbody
            - @sessions.each do |req, res|
              %tr( class="stt-#{res.status}")
                %td= res.status
                %td= req.unparsed_uri
      .inspect
        detail

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
auto_response-0.1.6 lib/ar/viewer/tmpl/index.haml