summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/macros.html
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-11-02 14:09:24 +0100
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-11-17 17:36:15 +0100
commit42bf42f5801cb633e7c9817e5b5d781ee622ea36 (patch)
treef3e1dad0c19c343aa93459089a25f4241b39301e /ogcp/templates/macros.html
parent693f5255b1041b293bea3ff9f39cbe90c6c29eb9 (diff)
Add clients in Linux and Windows mode
Scopes tree shows clients booted in Linux and Windows with ogClient installed. It also shows if the user logs in.
Diffstat (limited to 'ogcp/templates/macros.html')
-rw-r--r--ogcp/templates/macros.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html
index 6ba1d38..c56e4e8 100644
--- a/ogcp/templates/macros.html
+++ b/ogcp/templates/macros.html
@@ -59,6 +59,10 @@
{% if "state" in scope %}
<i class="nav-icon fa-circle
{% if scope['state'] == 'OPG' %}fas text-warning
+ {% elif scope['state'] == 'LNX' %}fas text-linux
+ {% elif scope['state'] == 'LNX' %}fas fa-user-circle text-linux
+ {% elif scope['state'] == 'WIN' %}fas text-windows
+ {% elif scope['state'] == 'WIN' %}fas fa-user-circle text-windows
{% elif scope['state'] == 'BSY' %}fas text-danger
{% elif scope['state'] == 'VDI' %}fas text-success
{% elif scope['state'] == 'WOL_SENT' %}fas text-wol
@@ -84,6 +88,10 @@
<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-linux"></i> Linux </li>
+ <li class="nav-item"><i class="nav-icon fas fa-user-circle text-linux"></i> {{_('Linux session')}} </li>
+ <li class="nav-item"><i class="nav-icon fas fa-circle text-windows"></i> Windows </li>
+ <li class="nav-item"><i class="nav-icon fas fa-user-circle text-windows"></i> {{_('Windows session')}} </li>
<li class="nav-item"><i class="nav-icon fas fa-circle text-success"></i> VDI </li>
</ul>
</div>