summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/client_status_leyend.html
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-10 15:21:03 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-11 12:24:44 +0200
commit696a81fd1147e301dd69609558da387f17c57228 (patch)
treea11a1c47b56329af844eaa81c7b68adfec7842cf /ogcp/templates/client_status_leyend.html
parent6b33268b5c03db29cb003acb4e2042c9254402d2 (diff)
templates: add name and status to client list
Add a client name column to the client list view accessed through the Dashboard. Add status column to the client list. Move client status leyend into a separate file. Show the client status leyend in client list. Fix the 0 link speed conditional. Reuse the data returned by get_scopes() to reduce the number of requests.
Diffstat (limited to 'ogcp/templates/client_status_leyend.html')
-rw-r--r--ogcp/templates/client_status_leyend.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/ogcp/templates/client_status_leyend.html b/ogcp/templates/client_status_leyend.html
new file mode 100644
index 0000000..f43050e
--- /dev/null
+++ b/ogcp/templates/client_status_leyend.html
@@ -0,0 +1,15 @@
+<div class="card">
+ <div class="card-body">
+ <ul id="clients-color-legend" class="d-flex flex-wrap justify-content-center nav ogcp-nav nav-pills">
+ <li class="nav-item"><i class="nav-icon far fa-circle"></i> {{_('Shutdown')}} </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-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>
+</div>