Sha256: e14b0f98a608829824b23cc73603788e7014c87cd5540da614cef426a3a55c04

Contents?: true

Size: 453 Bytes

Versions: 1

Compression:

Stored size: 453 Bytes

Contents

<%
   summary = get_stats('size')[0]
   info = get_stats('top_sizes')
%>
<h3>Top 20 <small><%= "of total #{summary["dbsize"]}"  %></small></h3>
<table>
  <thead>
  <tr>
    <th>Name</th>
    <th>Kind</th>
    <th>Size</th>
  </tr>
  </thead>
  <tbody>
  <% info.each do |row| %>
    <tr>
      <td><%= row["name"] %></td>
      <td><%= t(row["kind"], scope: "db.kind") %></td>
      <td><%= row["size"] %></td>
    </tr>
  <% end %>
  </tbody>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elefant-0.0.1 web/views/size.erb