Sha256: 31f7a7d5b0db419e8b3ceb3dbd9700c70f2de043ae7f486eed0c06f871ea8039

Contents?: true

Size: 819 Bytes

Versions: 11

Compression:

Stored size: 819 Bytes

Contents

<!-- Adapted from jquery-flot examples https://github.com/flot/flot/blob/master/examples/visitors/index.html -->
<%= javascript_tag do %>
  var sufia_item_stats = <%= @stats.to_flot.to_json.html_safe %>;
<% end %>

<%= 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

11 entries across 11 versions & 1 rubygems

Version Path
sufia-7.4.1 app/views/stats/work.html.erb
sufia-7.4.0 app/views/stats/work.html.erb
sufia-7.3.1 app/views/stats/work.html.erb
sufia-7.3.0 app/views/stats/work.html.erb
sufia-7.3.0.rc3 app/views/stats/work.html.erb
sufia-7.3.0.rc2 app/views/stats/work.html.erb
sufia-7.3.0.rc1 app/views/stats/work.html.erb
sufia-7.2.0 app/views/stats/work.html.erb
sufia-7.1.0 app/views/stats/work.html.erb
sufia-7.0.0 app/views/stats/work.html.erb
sufia-7.0.0.rc2 app/views/stats/work.html.erb