1 <% content_for :css do %>
2 table#users-storage-table th {
6 table#users-storage-table .byte-value {
10 <table class="table table-condensed arv-index" id="users-storage-table">
16 <th rowspan="2">User</th>
21 Collections Persisted Storage
23 <th rowspan="2">Measured At</th>
27 <th class="byte-value">
30 <th class="byte-value">
36 <% @users.each do |user| %>
41 <%= link_to_if_arvados_object user, friendly_name: true %>
47 <% [:read_collections_total_bytes, :read_collections_weighted_bytes, :persisted_collections_total_bytes, :persisted_collections_weighted_bytes].each do |key| %>
48 <td class="byte-value">
49 <%= human_readable_bytes_html(@user_storage[user.uuid].fetch(key,0).floor) %>
52 <% if @log_date.key?(user.uuid) %>
53 <td class="date" title="<%= @log_date[user.uuid] %>">
54 <%= @log_date[user.uuid].strftime('%F') %>
61 <% content_for :footer_js do %>
62 $('#users-storage-table td small').each(function(){
63 if ($(this).html().trim() == '0')
64 $(this).css('opacity', '0.3');