diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-05-17 10:56:59 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-05-17 11:05:14 +0200 |
commit | d9fe4dfa41d94e6183ef4b8b31c9baf202333c40 (patch) | |
tree | 69b8bd9aac955138445cf868fa77ab15a9ab1099 | |
parent | 4c6e3a90f10e90ad888f32738a408cadedb28aa3 (diff) |
Add color legend of the client states
Add an explanatory list of the colors used to represent the different
client states.
-rw-r--r-- | ogcp/templates/macros.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index ba500b3..4da76d6 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -53,6 +53,17 @@ {% macro selected_clients() -%} <hr><h2>{{_('Selected clients')}}</h2> +<div class="card"> + <div class="card-body"> + <ul id="clients-color-legend" class="d-flex flex-wrap justify-content-center nav nav-pills"> + <li class="nav-item"><i class="nav-icon far fa-circle"></i> {{_('Apagado')}} </li> + <li class="nav-item"><i class="nav-icon fas fa-circle text-wol"></i> {{_('WoL sent')}} </li> + <li class="nav-item"><i class="nav-icon fas fa-circle text-warning"></i> ogLive </li> + <li class="nav-item"><i class="nav-icon fas fa-circle text-danger"></i> {{_('Busy')}} </li> + <li class="nav-item"><i class="nav-icon fas fa-circle text-success"></i> VDI </li> + </ul> + </div> +</div> <div id="selected-clients" class="d-flex flex-wrap justify-content-center"></div> {% endmacro %} |