From d69176016b18212b03bcd18b4b42629e0816de0f Mon Sep 17 00:00:00 2001 From: "Maksim A. Boyko" Date: Thu, 28 Jun 2012 16:50:58 -0400 Subject: Backend: Add stat view and stat template skeleton --- backend/templates/redirect.html | 16 ++++++++++++++++ backend/templates/stats.html | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 backend/templates/redirect.html create mode 100644 backend/templates/stats.html (limited to 'backend/templates') diff --git a/backend/templates/redirect.html b/backend/templates/redirect.html new file mode 100644 index 0000000..d83886c --- /dev/null +++ b/backend/templates/redirect.html @@ -0,0 +1,16 @@ + + + SCANNERJAMMER + + + + + + + + + + + SCANNERJAMMER + + diff --git a/backend/templates/stats.html b/backend/templates/stats.html new file mode 100644 index 0000000..b427c67 --- /dev/null +++ b/backend/templates/stats.html @@ -0,0 +1,32 @@ + + + + STATZ + + + + uptime {{ uptime }}
+ videos {{ videos_total }} ({{ videos_today }} today)
+ likes {{ likes_total }} ({{ likes_today }} today)
+ users {{ users_total }} ({{ users_today }} today, {{ new_users_today }} new)
+ rooms {{ rooms_total }}
+ in main room now + {% for user in users_in_main_room %} +  {{ user }} + {% endfor %} +
+ main room peak {{ main_room_peak }}
+
+ new today
+ {% for user in new_users_today %} +  {{ user }} + {% endfor %} +

+ visitors today
+ {% for user in users_today %} +  {{ user }} + {% endfor %} +

+
+ + -- cgit v1.2.3-70-g09d2