From 3d05209c9a9f1e229f8c704ee5fe06a5c97c9840 Mon Sep 17 00:00:00 2001 From: Julien Maulny Date: Wed, 2 Oct 2019 22:37:01 +0200 Subject: Add statistics section in about page --- .../instance/instance-statistics.component.html | 101 +++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 client/src/app/shared/instance/instance-statistics.component.html (limited to 'client/src/app/shared/instance/instance-statistics.component.html') diff --git a/client/src/app/shared/instance/instance-statistics.component.html b/client/src/app/shared/instance/instance-statistics.component.html new file mode 100644 index 000000000..181c57b57 --- /dev/null +++ b/client/src/app/shared/instance/instance-statistics.component.html @@ -0,0 +1,101 @@ +

Loading instance statistics...

+ +
+
Local
+ +
+
+
+
+

{{ serverStats.totalUsers }}

+

users

+
+ +
+
+ +
+
+
+

{{ serverStats.totalLocalVideos }}

+

videos

+
+ +
+
+ +
+
+
+

{{ serverStats.totalLocalVideoViews }}

+

videos views

+
+ +
+
+ +
+
+
+

{{ serverStats.totalLocalVideoComments }}

+

videos comments

+
+ +
+
+ +
+
+
+

{{ serverStats.totalLocalVideoFilesSize | bytes:1 }}

+

of hosted video

+
+ +
+
+
+ +
Federation
+ +
+
+
+
+

{{ serverStats.totalVideos }}

+

videos

+
+ +
+
+ +
+
+
+

{{ serverStats.totalVideoComments }}

+

videos comments

+
+ +
+
+ +
+
+
+

{{ serverStats.totalInstanceFollowers }}

+

followers

+
+ +
+
+ +
+
+
+

{{ serverStats.totalInstanceFollowing }}

+

following

+
+ +
+
+
+
-- cgit v1.2.3