X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f644e242ef37c911ad3dc25aca8135c339de349..c7cf228372bee18d84b14fc4089a758bc157fe76:/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 deleted file mode 100644 index 9df4b1fce3..0000000000 --- a/apps/workbench/app/views/users/activity.html.erb +++ /dev/null @@ -1,76 +0,0 @@ -<%# Copyright (C) The Arvados Authors. All rights reserved. - -SPDX-License-Identifier: AGPL-3.0 %> - -<% content_for :css do %> -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 %> - - - - - <% @spans.each do |_| %> - - <% 3.times do %> - - <% end %> - - <% end %> - - - - <% @spans.each do |span, start_at, end_at| %> - - <% end %> - - - <% @spans.each do |span, _| %> - - - - <% end %> - - - <% @users.each do |user| %> - - - - <% @spans.each do |span, _| %> - <% ['logins', 'jobs', 'pipeline_instances'].each do |type| %> - - <% end %> - <% end %> - - <% end %> -
User - <%= span %> -
- <%= start_at.strftime('%b %-d') %> - - - <%= (end_at-1.second).strftime('%b %-d') %> -
LoginsJobsPipelines
- - <% if user.uuid %> - <%= link_to_if_arvados_object user, friendly_name: true %> - <% else %> - Total - <% end %> - - - - <%= @user_activity[user.uuid][span + " " + type].to_s %> - -
- -<% content_for :footer_js do %> -$('#users-activity-table td small').each(function(){ - if ($(this).html().trim() == '0') - $(this).css('opacity', '0.3'); -}); -<% end %>