Sha256: fd4b454f6f12d16f7a341add8357f83fe26cd1e3ab7575570b651a6ec55056fb
Contents?: true
Size: 1.87 KB
Versions: 2
Compression:
Stored size: 1.87 KB
Contents
<% if @exceptions.empty? %> <p class="py-10 text-center">No exceptions for this request</p> <% else %> <div class="flow-root"> <div class="overflow-x-auto"> <div class="inline-block min-w-full align-middle"> <table class="min-w-full divide-y divide-gray-300"> <thead class="bg-gray-50"> <tr> <th scope="col" class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">Type</th> <th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900">Date</th> <th scope="col" class="relative py-3.5 pl-3 pr-4 sm:pr-6"> <span class="sr-only">Show</span> </th> </tr> </thead> <tbody class="divide-y divide-gray-200 bg-white"> <% @exceptions.each do |exception| %> <tr> <td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6"> <div class="min-w-0 flex-auto"> <p class="text-sm font-semibold leading-6 text-gray-900"> <%= exception.class_name %> </p> <p class="mt-1 truncate text-xs leading-5 text-gray-500"> <%= exception.message %> </p> </div> </td> <td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500"> <%= exception.created_at.strftime("%Y-%m-%d %H:%M:%S") %> </td> <td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-6"> <%= link_to 'Show', exception_path(exception), class: 'text-indigo-600 hover:text-indigo-900' %> </td> </tr> <% end %> </tbody> </table> </div> </div> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_live_dashboard-0.1.1 | app/views/rails_live_dashboard/requests/_exceptions.html.erb |
rails_live_dashboard-0.1.0 | app/views/rails_live_dashboard/requests/_exceptions.html.erb |