summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/dashboard.html
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-03-24 14:32:16 +0100
committerJose M. Guisado <jguisado@soleta.eu>2021-03-24 14:32:16 +0100
commit2ad382b5ed0e927121308f83a51d8f3a89d41e50 (patch)
treeaace4bb10735a98e979780fee395c71b36d38d30 /ogcp/templates/dashboard.html
parent9ee0565ac41661a0521630fbfe1ea9e896fcec52 (diff)
Add cosmetic improvements
* Adds label for each action page. * Adds a colored state for opengnsys connected clients * Fix nav active item * Rename some actions * Adds DISK to partition and format form
Diffstat (limited to 'ogcp/templates/dashboard.html')
-rw-r--r--ogcp/templates/dashboard.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/ogcp/templates/dashboard.html b/ogcp/templates/dashboard.html
new file mode 100644
index 0000000..a9cea41
--- /dev/null
+++ b/ogcp/templates/dashboard.html
@@ -0,0 +1,12 @@
+{% extends 'base.html' %}
+
+{% block content %}
+<div class="m-4 w-25 card text-center">
+ <div class="card-header">
+ Connected clients (ogClient)
+ </div>
+ <div class="card-body">
+ <p class="card-text">{{ clients['clients'] | length }}</p>
+ </div>
+</div>
+{% endblock %}