From 7d0aa00e74b1ed2ea2cab9afaf8eb7b7f9280d3d Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sat, 6 Apr 2019 15:27:13 -0400 Subject: Filter sessions in admin --- src/html/admin.html | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) (limited to 'src/html') diff --git a/src/html/admin.html b/src/html/admin.html index 1087b51..01a39b4 100644 --- a/src/html/admin.html +++ b/src/html/admin.html @@ -13,7 +13,7 @@ var feed = new Vue({ el: '#stats', data: { - stats: {session: [], url: []}, + stats: { session: [], url: [] }, showSessionTable: false, showUrlTable: false, showLogData: false, @@ -33,10 +33,10 @@
- +
- Tags: + Tags:
Images: @@ -47,7 +47,7 @@ - +
@@ -59,18 +59,29 @@
- - - - - -
HostTotal Requests
{{item.session.substring(0,10)}}...{{item.c}}
+
+ {{stats.total}} total sessions + + + + + + + + + +
HostTotal Requests
{{item.session.substring(0,10)}}...{{item.c}}
+
- + + + + + @@ -82,7 +93,12 @@
MethodPathTotal Requests
MethodPathTotal Requests
{{item.method}} {{item.url.substring(0, Math.min(30, item.url.length))}}
- + + + + + + -- cgit v1.2.3
DateSessionMethodPath
DateSessionMethodPath
{{item.createdAt.substring(0,19)}} {{item.session.substring(0,10)}}...