diff options
author | RĂ©mi Duraffort <remi.duraffort@linaro.org> | 2018-01-19 15:12:15 +0100 |
---|---|---|
committer | Neil Williams <neil.williams@linaro.org> | 2018-01-31 14:25:02 +0000 |
commit | acf537fb28e6f774572f6835f2335fc6aa08323c (patch) | |
tree | b64c067896b16b54b6abca7743fd184533d638e7 /lava_scheduler_app/templates/lava_scheduler_app | |
parent | b86981ad262d67679aa4bc202a4c499ba769c587 (diff) |
Improve device tables
Help the user to spot if a device is usable or not.
Change-Id: I58260c0c700de80b67fb44bc548b9b6384f2f794
Diffstat (limited to 'lava_scheduler_app/templates/lava_scheduler_app')
-rw-r--r-- | lava_scheduler_app/templates/lava_scheduler_app/_device_base.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lava_scheduler_app/templates/lava_scheduler_app/_device_base.html b/lava_scheduler_app/templates/lava_scheduler_app/_device_base.html index 6bc75172b..57cb8f248 100644 --- a/lava_scheduler_app/templates/lava_scheduler_app/_device_base.html +++ b/lava_scheduler_app/templates/lava_scheduler_app/_device_base.html @@ -68,6 +68,8 @@ {% if device.health == device.HEALTH_GOOD %} <span class="label label-success"> {% elif device.health == device.HEALTH_UNKNOWN or device.health == device.HEALTH_LOOPING %} + <span class="label label-info"> + {% elif device.health == device.HEALTH_MAINTENANCE %} <span class="label label-warning"> {% else %} <span class="label label-danger"> |