Sha256: 5bb5e62f7686304f9094956746c5004f3d8120c08e569cb2cd2853c6cbc839da

Contents?: true

Size: 1.39 KB

Versions: 4

Compression:

Stored size: 1.39 KB

Contents

<div class="mt-10">
  <h3 class="text-base font-semibold leading-6 text-gray-900">System information</h3>
  <dl class="mt-5 grid grid-cols-1 gap-5 sm:grid-cols-4">
    <div class="overflow-hidden rounded-lg bg-gradient-to-r from-orange-700 to-orange-500 px-4 py-5 shadow sm:p-6">
      <dt class="truncate text-sm font-medium text-white">Ruby version</dt>
      <dd class="mt-1 text-3xl font-semibold tracking-tight text-white"><%= @ruby_version %></dd>
    </div>
    <div class="overflow-hidden rounded-lg bg-gradient-to-r from-red-700 to-red-500 px-4 py-5 shadow sm:p-6">
      <dt class="truncate text-sm font-medium text-white">Rails version</dt>
      <dd class="mt-1 text-3xl font-semibold tracking-tight text-white"><%= @rails_version %></dd>
    </div>
  </dl>
</div>

<div class="grid grid-cols-1 gap-5 sm:grid-cols-2 mt-10">
  <turbo-frame id="slow_requests_widget" src="<%= widgets_slowest_requests_path %>">
    <div class="flex justify-center items-center h-64 w-full rounded-lg bg-white shadow-sm">
      <%= lucide_icon('loader-2', class: 'h-16 w-16 text-gray-800 animate-spin') %>
    </div>
  </turbo-frame>

  <turbo-frame id="slowest_queries_widget" src="<%= widgets_slowest_queries_path %>">
    <div class="flex justify-center items-center h-64 w-full rounded-lg bg-white shadow-sm">
      <%= lucide_icon('loader-2', class: 'h-16 w-16 text-gray-800 animate-spin') %>
    </div>
  </turbo-frame>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_live_dashboard-0.2.0 app/views/rails_live_dashboard/dashboard/show.html.erb
rails_live_dashboard-0.1.2 app/views/rails_live_dashboard/dashboard/show.html.erb
rails_live_dashboard-0.1.1 app/views/rails_live_dashboard/dashboard/show.html.erb
rails_live_dashboard-0.1.0 app/views/rails_live_dashboard/dashboard/show.html.erb