Sha256: ff0faa0f7fe06f4a4864acd9cc1dec4a3d63ed74f28d3297b472c831d4b3f6a2
Contents?: true
Size: 607 Bytes
Versions: 21
Compression:
Stored size: 607 Bytes
Contents
-# coding: utf-8 - groups = {pool: "pool", targethost: "target"} %h2 Transfer rates - groups.each do |group_by, group_title| - rates_by_status = RestFtpDaemon::JobQueue.instance.rate_by(group_by) %table.table.table-striped.table-hover.table-condensed %thead %tr %th= "by #{group_title}" %th.text-right bitrate %tbody - rates_by_status.each do |group, rate| - next if group.nil? - trclass = (rate.nil? ? "" : "info") %tr{class: trclass} %td = group %td.text-right = format_bytes(rate, "bps")
Version data entries
21 entries across 21 versions & 1 rubygems