Sha256: 604249c5be70993bd446b85834e1a3a5ebac03145d7281077ff1bffb69282428
Contents?: true
Size: 945 Bytes
Versions: 21
Compression:
Stored size: 945 Bytes
Contents
<table class="table is-fullwidth is-hoverable is-narrow is-size-7"> <tbody> <% @data.each do |e| %> <tr> <% if e["group"] == 'db' %> <td class="nowrap has-text-right <%= duraction_alert_class(e['duration']) %>"> <%= e["duration"] %> ms </td> <td> <%= e["sql"] %> </td> <% elsif e["group"] == 'view' %> <td class="nowrap has-text-right <%= duraction_alert_class(extract_duration(e['message'])) %>"> <%= extract_duration(e["message"]) %> </td> <td> <%= e["message"] %> </td> <% end %> </tr> <% end %> <% if @data.empty? %> <tr> <td>Nothing to show here. Perphaps details about the requests already expired. Setting "slow_requests_time_window" should be equal to "duration".</td> </td> <% end %> </tbody> </table>
Version data entries
21 entries across 21 versions & 1 rubygems