Browse Source

Show bandwidth graph on node page

pm2
Luke Childs 8 years ago
parent
commit
84d12b1368
  1. 10
      assets/style.css
  2. 7
      views/node.html

10
assets/style.css

@ -212,6 +212,16 @@ dd.flag i {
opacity: 0.3;
}
.bandwidth small {
color: rgba(255, 255, 255, 0.75);
}
pre {
background: rgba(255, 255, 255, 0.1);
margin: 0;
overflow: hidden;
}
.columns {
-moz-columns: 2;
columns: 2;

7
views/node.html

@ -52,6 +52,13 @@
</section>
{% endif %}
{% if bandwidth %}
<section class="bandwidth">
<h3>Bandwidth <small>(MB/s over the last month)</small></h3>
<pre>{{ bandwidth }}</pre>
</section>
{% endif %}
<div class="columns">
{% if

Loading…
Cancel
Save