Sha256: faf06b1c2e586174db887f09b23593553ccbad5c1442d0706a0f677fc1322f5c

Contents?: true

Size: 823 Bytes

Versions: 8

Compression:

Stored size: 823 Bytes

Contents

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

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

//]]>
</script>

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

<div class="row">
  <div class="col-sm-12">
    <%= content_tag :h2, "Work Analytics" %>
    <div class="alert alert-info">
      <i class="glyphicon glyphicon-signal large-icon"></i>
      <%= content_tag :strong, @stats.total_pageviews %> views 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

8 entries across 8 versions & 1 rubygems

Version Path
hyrax-2.2.1 app/views/hyrax/stats/work.html.erb
hyrax-2.2.0 app/views/hyrax/stats/work.html.erb
hyrax-2.1.0 app/views/hyrax/stats/work.html.erb
hyrax-2.1.0.rc4 app/views/hyrax/stats/work.html.erb
hyrax-2.1.0.rc3 app/views/hyrax/stats/work.html.erb
hyrax-2.1.0.rc2 app/views/hyrax/stats/work.html.erb
hyrax-2.1.0.rc1 app/views/hyrax/stats/work.html.erb
hyrax-2.1.0.beta2 app/views/hyrax/stats/work.html.erb