Sha256: e7d152abc9723c44b832064eba410ea6f86f064381f1307733a82eacd852a3ef

Contents?: true

Size: 1.42 KB

Versions: 4

Compression:

Stored size: 1.42 KB

Contents

<title>Recent Requests</title>

<div class="card">
  <div class="card-content">
    <div class="columns">
      <div class="column">
        <h2 class="subtitle">Recent Requests (last <%= RailsPerformance.recent_requests_time_window / 60 %> minutes)<h2>
      </div>
      <div class="column right-text is-size-5 has-text-right">
        <label id="autoupdate_label">
          <input id="autoupdate" type="checkbox"/>
          Auto-update
        </label>
      </div>
    </div>

    <table id="recent" class="table is-fullwidth is-hoverable is-narrow">
      <thead>
        <tr>
          <th data-sort="string"></th>
          <th data-sort="string">Datetime</th>
          <th data-sort="string">Controller#action</th>
          <th data-sort="string">Method</th>
          <th data-sort="string">Format</th>
          <th data-sort="string">Path</th>
          <th data-sort="string">Status</th>
          <th data-sort="float">Duration</th>
          <th data-sort="float">Views</th>
          <th data-sort="float">DB</th>
          <th></th>
        </tr>
      </thead>
      <tbody>
        <% if @data.empty? %>
          <tr>
            <td colspan="10">Nothing to show here. Try to make a few requests in the main app.</td>
          </tr>
        <% end %>
        <% @data.each do |e| %>
          <%= render 'recent_row', e: e %>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_performance-1.2.0.alpha3 app/views/rails_performance/rails_performance/recent.html.erb
rails_performance-1.2.0.alpha2 app/views/rails_performance/rails_performance/recent.html.erb
rails_performance-1.2.0.alpha1 app/views/rails_performance/rails_performance/recent.html.erb
rails_performance-1.1.0 app/views/rails_performance/rails_performance/recent.html.erb