aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--torouterui/templates/lib.html2
2 files changed, 1 insertions, 2 deletions
diff --git a/TODO b/TODO
index be5a55c..706ad04 100644
--- a/TODO
+++ b/TODO
@@ -2,7 +2,6 @@
# Soon
- /logs/ is often a 500 server error
-- for wifi section, ENABLED should be green
- use 'platform' python module where appropriate
- switch from os.popen to subprocess
- ifup/down doesn't set link status?
diff --git a/torouterui/templates/lib.html b/torouterui/templates/lib.html
index 03a671f..801eb12 100644
--- a/torouterui/templates/lib.html
+++ b/torouterui/templates/lib.html
@@ -13,7 +13,7 @@ Network hardware not detected at all!
<tr>
<th>Status
<td><span style="font-weight: bold;" class="label
- {% if ifstatus.state == 'RUNNING' %}label-success{% elif ifstatus.state == 'up' %}label-info{% else %}label-important{% endif %}">
+ {% if ifstatus.state in ['RUNNING','ENABLED'] %}label-success{% elif ifstatus.state == 'up' %}label-info{% else %}label-important{% endif %}">
{{ ifstatus.state }}
</span>
<tr>