X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cf7e30873ef4b92cc8ec099b2bb344391a070e93..2369ce76e5c4d7797da2845f0574b56fc7709033:/apps/workbench/app/views/users/activity.html.erb diff --git a/apps/workbench/app/views/users/activity.html.erb b/apps/workbench/app/views/users/activity.html.erb index 4517b7d57c..9fd93ff8e2 100644 --- a/apps/workbench/app/views/users/activity.html.erb +++ b/apps/workbench/app/views/users/activity.html.erb @@ -2,8 +2,12 @@ table#users-activity-table th { overflow-x: hidden; } +table#users-activity-table .cell-for-span-This-month, +table#users-activity-table .cell-for-span-Last-month { + background: #eee; +} <% end %> - +
@@ -18,7 +22,7 @@ table#users-activity-table th { <% @spans.each do |span, start_at, end_at| %> - <% @spans.each do |span, _| %> - - - + + + <% end %> @@ -39,15 +43,19 @@ table#users-activity-table th { <% @spans.each do |span, _| %> <% ['logins', 'jobs', 'pipeline_instances'].each do |type| %> - <% end %> @@ -58,7 +66,7 @@ table#users-activity-table th { <% content_for :footer_js do %> $('#users-activity-table td small').each(function(){ - if ($(this).html().trim() == '0') - $(this).css('opacity', '0.3'); + if ($(this).html().trim() == '0') + $(this).css('opacity', '0.3'); }); <% end %>
User + <%= span %>
<%= start_at.strftime('%b %-d') %> @@ -29,9 +33,9 @@ table#users-activity-table th {
LoginsJobsPipelinesLoginsJobsPipelines
- <%= link_to_if_arvados_object user, friendly_name: true %> + <% if user.uuid %> + <%= link_to_if_arvados_object user, friendly_name: true %> + <% else %> + Total + <% end %> + - <%= @user_activity[user.uuid][span + " " + type].to_s %> + <%= @user_activity[user.uuid][span + " " + type].to_s %>