Sha256: a82db2ec7c93a6e750b123843be5b12331664b81f0a03825f42f8ad5e1dfb8f1

Contents?: true

Size: 835 Bytes

Versions: 5

Compression:

Stored size: 835 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, @stats, class: "lower" %>

<div class="row">
  <div class="col-sm-12">
    <%= content_tag :h2, "Work Analytics" %>
    <div class="alert alert-info">
      <span class="glyphicon glyphicon-signal large-icon"></span>
      <%= 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

5 entries across 5 versions & 1 rubygems

Version Path
hyrax-3.2.0 app/views/hyrax/stats/work.html.erb
hyrax-3.1.0 app/views/hyrax/stats/work.html.erb
hyrax-3.0.2 app/views/hyrax/stats/work.html.erb
hyrax-3.0.1 app/views/hyrax/stats/work.html.erb
hyrax-3.0.0 app/views/hyrax/stats/work.html.erb