Browse Source

Display good packet loss in green

Baptiste Jonglez 10 years ago
parent
commit
45bd478657
2 changed files with 6 additions and 0 deletions
  1. 4 0
      static/css/style.css
  2. 2 0
      templates/results.html

+ 4 - 0
static/css/style.css

@@ -40,3 +40,7 @@ input[type=text] {
 .orange {
     color: #a00;
 }
+
+.green {
+    color: #090;
+}

+ 2 - 0
templates/results.html

@@ -20,6 +20,8 @@
   "red"
   {% elif packetloss > 0 %}
   "orange"
+  {% else %}
+  "green"
   {% endif %}
   {%- endmacro %}
   {% for r in results %}