aboutsummaryrefslogtreecommitdiff
path: root/views/stats.pug
diff options
context:
space:
mode:
authorMohammad Amoush <51237606+jameshu111@users.noreply.github.com>2023-03-18 16:56:13 -0400
committerMohammad Amoush <51237606+jameshu111@users.noreply.github.com>2023-03-18 16:56:13 -0400
commitd51a57e1d0823fc08a90b73d427ab5e35b72422f (patch)
treeef9f03ab6eef595567f800747d280a033dc69980 /views/stats.pug
parent0f3f5fa7f63dddbfbf095f65b05f89cf27cbc6cf (diff)
Add operations counter
Diffstat (limited to 'views/stats.pug')
-rw-r--r--views/stats.pug22
1 files changed, 22 insertions, 0 deletions
diff --git a/views/stats.pug b/views/stats.pug
new file mode 100644
index 000000000..54c017e70
--- /dev/null
+++ b/views/stats.pug
@@ -0,0 +1,22 @@
+extends ./layout
+
+block content
+ style
+ include ./stylesheets/authentication.css
+ include ./stylesheets/statsview.css
+ .outermost
+ .stats-container
+ h1 Dash Stats
+ p(class="stats-content") Current Connections: #{numConnections}
+ div(class="stats-content stats-server-status-container")
+ p Server Status:
+ div(class="stats-server-status-item stats-server-status-" + serverTraffic)
+ p #{serverTrafficMessage}
+ div(class="stats-content stats-connected-users")
+ p Connected Users:
+ ul
+ each username in connectedUsers
+ li(class="none")= username
+
+
+ \ No newline at end of file