|
@@ -27,8 +27,8 @@
|
|
|
{% for r in results %}
|
|
|
{% set packetloss = (100 * (r.probes_sent - r.probes_received) / r.probes_sent) %}
|
|
|
<tr>
|
|
|
- <td>{% if r.avgrtt is not none() %}{{ r.avgrtt }} ms{% endif %}</td>
|
|
|
- <td>{% if r.jitter is not none() %}{{ r.jitter }} ms{% endif %}</td>
|
|
|
+ <td>{% if r.avgrtt is not none() %}{{ r.avgrtt|round(2) }} ms{% endif %}</td>
|
|
|
+ <td>{% if r.jitter is not none() %}{{ r.jitter|round(2) }} ms{% endif %}</td>
|
|
|
<td><span class={{ color(packetloss) }}>
|
|
|
{{ packetloss|round(2) }}%
|
|
|
</span>
|