data-transfer-test/views/home.erb

18 lines
723 B
Plaintext
Raw Normal View History

2021-11-04 01:35:29 +00:00
<div class="container">
2021-11-29 13:41:28 +00:00
<h1>Data Transfer Test</h1>
2021-11-04 01:35:29 +00:00
<div class="row row-cols-1 row-cols-sm-1 row-cols-md-3">
<div class="col">
<h2 class="text-center">Transfer Rate</h2>
<%= bar_chart @transfer_rate, xtitle: "Rate", ytitle: "Datetime", id: "rate_transfer-chart", height: "700px" %>
</div>
<div class="col">
<h2 class="text-center">Download Rate</h2>
<%= bar_chart @download_rate, xtitle: "Rate", ytitle: "Datetime", id: "download_rate-chart", height: "700px" %>
</div>
<div class="col">
<h2 class="text-center">Upload Rate</h2>
<%= bar_chart @upload_rate, xtitle: "Rate", ytitle: "Datetime", id: "upload_rate-chart", height: "700px" %>
</div>
</div>
2021-11-20 14:37:24 +00:00
</div>