diff options
| author | Maksim A. Boyko <maksim.a.boyko@gmail.com> | 2012-06-28 16:50:58 -0400 |
|---|---|---|
| committer | Maksim A. Boyko <maksim.a.boyko@gmail.com> | 2012-06-28 16:50:58 -0400 |
| commit | d69176016b18212b03bcd18b4b42629e0816de0f (patch) | |
| tree | 8e0b943d0a3d2750d9b11c6d12f4f75d2d3c0853 /backend/templates | |
| parent | 150857d66f47a87e7cfd0bd862428528db6dc362 (diff) | |
Backend: Add stat view and stat template skeleton
Diffstat (limited to 'backend/templates')
| -rw-r--r-- | backend/templates/redirect.html | 16 | ||||
| -rw-r--r-- | backend/templates/stats.html | 32 |
2 files changed, 48 insertions, 0 deletions
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 @@ +<html> + <head> + <title>SCANNERJAMMER</title> + <meta property="og:title" content="ScannerJammer"/> + <meta property="og:type" content="website"/> + <meta property="og:url" content="http://scannerjammer.com/"/> + <meta property="og:image" content="http://scannerjammer.com/img/plant.gif"/> + <meta property="og:site_name" content="ScannerJammer"/> + <meta property="og:description" content="Youtube video chat"/> + <meta property="fb:admins" content="100001923956223,1709246"/> + <meta name="description" content="Youtube video chat" /> + </head> + <body> + <a href="http://scannerjammer.com/">SCANNERJAMMER</a> + </body> +</html> 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 @@ +<html> + <head> + <style type='text/css'>a{color: #888;}</style> + <title>STATZ</title> + <meta name="viewport" content = "width=device-width"> + </head> + <body> + <b>uptime</b> {{ uptime }}<br/> + <b>videos</b> {{ videos_total }} ({{ videos_today }} today)<br/> + <b>likes</b> {{ likes_total }} ({{ likes_today }} today)<br/> + <b>users</b> {{ users_total }} ({{ users_today }} today, {{ new_users_today }} new)<br/> + <b>rooms</b> {{ rooms_total }}<br/> + <b>in main room now</b> + {% for user in users_in_main_room %} + <a target='_blank' href='http://scannerjammer.com/profile/{{ user }}'>{{ user }}</a> + {% endfor %} + </br> + <b>main room peak</b> {{ main_room_peak }}<br/> + <br/> + <b>new today</b><br/> + {% for user in new_users_today %} + <a target='_blank' href='http://scannerjammer.com/profile/{{ user }}'>{{ user }}</a> + {% endfor %} + <br/><br/> + <b>visitors today</b><br/> + {% for user in users_today %} + <a target='_blank' href='http://scannerjammer.com/profile/{{ user }}'>{{ user }}</a> + {% endfor %} + <br/><br/> + <br/> + </body> +</html> |
