Sha256: 47fc9d13311a59c0c543cb07caa2fe0483d052f7ff324ffc2c71cafe45b7e9c2

Contents?: true

Size: 572 Bytes

Versions: 42

Compression:

Stored size: 572 Bytes

Contents

<% ["GET", "POST", "Session", "Cookies", "SERVER VARIABLES", "Rack ENV"].each do |header|
next unless sections.has_key?(header)
%>
<h3><%=header%></h3>
<table id="request_variables">
  <thead>
    <tr>
      <th>Variable</th>
      <th>Value</th>
    </tr>
  </thead>
  <tbody>
    <% i = 1 %>
    <% sections[header].each do |key, val| %>
      <tr class="<%= i % 2 == 0 ? "even" : "odd" %>">
        <td><%=h key %></td>
        <td class="code"><div>
            <%=h val%>
        </div></td>
      </tr>
      <% i += 1 %>
    <% end %>
  </tbody>
</table>
<% end %>

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
logical-insight-0.4.1 lib/insight/views/panels/request_variables.html.erb
logical-insight-0.4.0 lib/insight/views/panels/request_variables.html.erb