1 <% content_for :css do %>
2 table#users-activity-table th {
6 <table class="table table-bordered table-condensed table-fixedlayout" id="users-activity-table">
10 <% @spans.each do |_| %>
13 <col width="<%= (72 / @spans.count / 3).floor %>%" />
19 <th rowspan="2">User</th>
20 <% @spans.each do |span, start_at, end_at| %>
24 <%= start_at.strftime('%b %-d') %>
26 <%= (end_at-1.second).strftime('%b %-d') %>
31 <% @spans.each do |span, _| %>
38 <% @users.each do |user| %>
42 <%= link_to_if_arvados_object user, friendly_name: true %>
46 <% @spans.each do |span, _| %>
47 <% ['logins', 'jobs', 'pipeline_instances'].each do |type| %>
50 <%= @user_activity[user.uuid][span + " " + type].to_s %>
59 <% content_for :footer_js do %>
60 $('#users-activity-table td small').each(function(){
61 if ($(this).html().trim() == '0')
62 $(this).css('opacity', '0.3');