diff options
author | ficus <ficus@robocracy.org> | 2012-11-23 22:17:11 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-23 22:17:11 +0100 |
commit | 7bca5bd6c727fb006f0b066f9c0760c91eae921c (patch) | |
tree | 7595f31bc0e91444b6f0d1cd9f84f952ec253e8a /torouterui | |
parent | dab36ce2c66e4c11798af024295fd18da3162a4f (diff) | |
download | tui-7bca5bd6c727fb006f0b066f9c0760c91eae921c.tar.gz tui-7bca5bd6c727fb006f0b066f9c0760c91eae921c.zip |
wifi enabled is green
Diffstat (limited to 'torouterui')
-rw-r--r-- | torouterui/templates/lib.html | 2 |
1 files changed, 1 insertions, 1 deletions
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> |