Sha256: 1787fea39b8ec4cac042046d6381822be4b95cd46985386e2dd65d7c8a9c17b8

Contents?: true

Size: 829 Bytes

Versions: 30

Compression:

Stored size: 829 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">
      <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

30 entries across 30 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/stats/work.html.erb
hyrax-2.9.5 app/views/hyrax/stats/work.html.erb
hyrax-3.0.0.pre.rc4 app/views/hyrax/stats/work.html.erb
hyrax-2.9.4 app/views/hyrax/stats/work.html.erb
hyrax-3.0.0.pre.rc3 app/views/hyrax/stats/work.html.erb
hyrax-2.9.3 app/views/hyrax/stats/work.html.erb
hyrax-2.9.2 app/views/hyrax/stats/work.html.erb
hyrax-2.9.1 app/views/hyrax/stats/work.html.erb
hyrax-2.9.0 app/views/hyrax/stats/work.html.erb
hyrax-3.0.0.pre.rc2 app/views/hyrax/stats/work.html.erb
hyrax-2.8.0 app/views/hyrax/stats/work.html.erb
hyrax-2.7.2 app/views/hyrax/stats/work.html.erb
hyrax-2.7.1 app/views/hyrax/stats/work.html.erb
hyrax-2.7.0 app/views/hyrax/stats/work.html.erb
hyrax-2.6.0 app/views/hyrax/stats/work.html.erb
hyrax-3.0.0.pre.rc1 app/views/hyrax/stats/work.html.erb
hyrax-3.0.0.pre.beta3 app/views/hyrax/stats/work.html.erb
hyrax-2.5.1 app/views/hyrax/stats/work.html.erb
hyrax-2.5.0 app/views/hyrax/stats/work.html.erb
hyrax-3.0.0.pre.beta2 app/views/hyrax/stats/work.html.erb