Sha256: 66f646a7ae7e13fddc6ca427a869b3271cf20d24b5ac911adf06a19354290164

Contents?: true

Size: 893 Bytes

Versions: 11

Compression:

Stored size: 893 Bytes

Contents

<!-- Adapted from jquery-flot examples https://github.com/flot/flot/blob/master/examples/visitors/index.html -->
<script>
//<![CDATA[

  var hyrax_item_stats = <%= raw json_escape @stats.to_flot.to_json %>;

//]]>
</script>

<%= content_tag :h1, @file_set, class: "lower" %>

<div class="row">
  <div class="col-sm-12">
    <%= content_tag :h2, "File Analytics" %>
    <div class="alert alert-info">
      <span class="fa fa-signal large-icon"></span>
      <%= content_tag :strong, @stats.total_pageviews %> views and <%= content_tag :strong, @stats.total_downloads %> downloads since <%= @stats.created.strftime("%B %-d, %Y") %>
    </div>
    <div class="stats-container">
        <div id="usage-stats" class="stats-placeholder"></div>
    </div>
    <div class="stats-container" style="height:150px;">
        <div id="overview" class="stats-placeholder"></div>
    </div>
  </div>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/views/hyrax/stats/file.html.erb
hyrax-5.0.0 app/views/hyrax/stats/file.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/stats/file.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/stats/file.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/stats/file.html.erb
hyrax-4.0.0 app/views/hyrax/stats/file.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/stats/file.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/stats/file.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/stats/file.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/stats/file.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/stats/file.html.erb