Sha256: 0c8afbd21d2ad4f2b8e6abf4e799a466f95e63bde1ca923d3a5d182d808e57f0

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

<div class="card <%= @color_scheme %>">
  <div class="card-body">
    <h5 class = "text-center"><strong>The Bounce Rate of your Application is: <u><%= @percentage_of_visits_that_were_bounced %>%</u></strong></h5>
    <div>
      <table class="table table-hover table-borderless table-sm">
        <tr class="table-dark">
          <td><strong>Total Number of Bounced Visits:</strong></td>
          <td class="text-end"><%= @total_number_of_single_event_visits %></td>
        </tr>
        <tr class="table-dark">
          <td><strong>Total Number of Visits:</strong></td>
          <td class="text-end"><%= @total_number_of_user_visits %></td>
        </tr>
      </table>
    </div>
    <div>
      <table class="table table-hover table-borderless table-sm">
        <thead class="table-dark">
          <tr>
            <th>Bounced Page</th>
            <th class="text-end">Bounce Count</th>
          </tr>
        </thead>
        <tbody class="text-dark border-dark">
          <% @most_bounced_pages.each do |controller_name_and_action, count| %>
            <tr>
              <td><%= controller_name_and_action %></td>
              <td class="text-end"><%= count %></td>
            </tr>
          <% end %>
        </tbody>
      </table>
    </div>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
matey-0.2.0 app/components/matey/bounce_rate_component.html.erb
matey-0.1.6 app/components/matey/bounce_rate_component.html.erb
matey-0.1.5 app/components/matey/bounce_rate_component.html.erb
matey-0.1.4 app/components/matey/bounce_rate_component.html.erb