Sha256: f33b7bea915f242d949981b94846f0d245f5c7199889773f73244349f9380a0f

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

<%= link_to "Extension Data", files_extension_data_path, id: "extension-data-btn", aria: { current: "page" } %>

<%= form_tag files_dashboard_path, method: :get do %>
  <%= label_tag "Show data for Directory" %>
  <%= select_tag :dir, options_for_select(Deforest.track_dirs, params[:dir]) %>
  <%= submit_tag "Submit" %>
<% end %>


<%= render partial: "percentile_table", locals: { heading: "Top #{100 - Deforest.most_used_percentile_threshold} percentile", method_stats: @top_percentile_methods } %>
<%= render partial: "percentile_table", locals: { heading: "Bottom #{100 - Deforest.most_used_percentile_threshold} percentile", method_stats: @low_percentile_methods } %>
<%#= render partial: "percentile_table", locals: { heading: "Between #{Deforest.least_used_percentile_threshold} and #{Deforest.most_used_percentile_threshold} percentile", method_stats: @medium_percentile_methods } %>

<style>
  #extension-data-btn {
    float: right;
    padding: 10px;
    background: blue;
    color: white;
    border-radius: 2px;
    text-decoration: none;
  }
  table {
    border-collapse: separate;
    border-spacing: 10px;
    margin-bottom: 50px;
  }
</style>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deforest-1.1.1 app/views/deforest/files/dashboard.html.erb
deforest-1.1.0 app/views/deforest/files/dashboard.html.erb