Sha256: 9edf5bde9a11e3ec18b9a190fceb230d2b7c4597d84da241cb4776d397e65a3e

Contents?: true

Size: 1.15 KB

Versions: 35

Compression:

Stored size: 1.15 KB

Contents

<div class="card-pf">
  <div class="card-pf-body">
    <div class="progress-description" title="<%= disk['header'] %>">
      <%= disk['header'] %>
    </div>

    <%- if disk['used'] >= 0 && disk['total'] >= 0 -%>
    <div class="progress progress-label-top-right">
      <div class="progress-bar progress-bar-<%= disk['size_status'] %>" role="progressbar" aria-valuenow="<%= disk['percentage'] %>" aria-valuemin="0" aria-valuemax="100" style="width: <%= disk['percentage'] %>%;" data-toggle="tooltip" title="<%= _('%s Used') % humanize_bytes(disk['used']) %>">
        <span><strong><%= _('%{used} of %{total}') % {:used => humanize_bytes(disk['used']),:total => humanize_bytes(disk['total'])} %></strong> Used</span>
      </div>

      <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="<%= disk['available_percent'] %>" aria-valuemin="0" aria-valuemax="100" style="width: <%= disk['available_percent'] %>%;" data-toggle="tooltip" title="<%= _('%s Available') % humanize_bytes(disk['free']) %>">
        <span class="sr-only"><%= _('%s Available') % humanize_bytes(disk['free']) %></span>
      </div>
    </div>
    <%- end -%>
  </div>
</div>

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
katello-4.16.0 app/views/smart_proxies/_disk_usage.html.erb
katello-4.15.1 app/views/smart_proxies/_disk_usage.html.erb
katello-4.16.0.rc2 app/views/smart_proxies/_disk_usage.html.erb
katello-4.16.0.rc1 app/views/smart_proxies/_disk_usage.html.erb
katello-4.14.3 app/views/smart_proxies/_disk_usage.html.erb
katello-4.14.2 app/views/smart_proxies/_disk_usage.html.erb
katello-4.15.0 app/views/smart_proxies/_disk_usage.html.erb
katello-4.15.0.rc2 app/views/smart_proxies/_disk_usage.html.erb
katello-4.15.0.rc1 app/views/smart_proxies/_disk_usage.html.erb
katello-4.14.1 app/views/smart_proxies/_disk_usage.html.erb
katello-4.14.0 app/views/smart_proxies/_disk_usage.html.erb
katello-4.14.0.rc3 app/views/smart_proxies/_disk_usage.html.erb
katello-4.14.0.rc2 app/views/smart_proxies/_disk_usage.html.erb
katello-4.14.0.rc1.1 app/views/smart_proxies/_disk_usage.html.erb
katello-4.14.0.rc1 app/views/smart_proxies/_disk_usage.html.erb
katello-4.13.1 app/views/smart_proxies/_disk_usage.html.erb
katello-4.13.0 app/views/smart_proxies/_disk_usage.html.erb
katello-4.12.1 app/views/smart_proxies/_disk_usage.html.erb
katello-4.13.0.rc1 app/views/smart_proxies/_disk_usage.html.erb
katello-4.12.0 app/views/smart_proxies/_disk_usage.html.erb