From ae92866b21e5b85fc8c0439a5be6f7d777fd9647 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sat, 7 Dec 2019 15:25:14 -0600 Subject: Clean up routing, add misc --- src/html/admin.html | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) (limited to 'src/html/admin.html') diff --git a/src/html/admin.html b/src/html/admin.html index a97af06..363f5c0 100644 --- a/src/html/admin.html +++ b/src/html/admin.html @@ -14,13 +14,17 @@ el: '#stats', data: { stats: { session: [], url: [] }, + emails: [], showSessionTable: false, showUrlTable: false, showLogData: false, + showEmailData: false, }, created() { fetch(new Request('/admin/stats')).then(response => response.json()) .then(response => this.stats = response); + fetch(new Request('/admin/emails')).then(response => response.json()) + .then(response => this.emails = response); } }); } @@ -57,12 +61,27 @@ +
+ Chess +

Stats

+
+ + +
+
+ + +
+
+ + +
{{stats.total}} total sessions @@ -76,10 +95,6 @@
-
- - -
@@ -92,10 +107,6 @@
Method{{item.c}}
-
- - -
@@ -111,6 +122,16 @@
Date{{item.c}}
+ + + + + + + + + +
NameAddress
{{item.name}}{{item.address}}
-- cgit v1.2.3