Add a daily statline to the home page.
authorAnt Zucaro <azucaro@gmail.com>
Fri, 4 Apr 2014 21:58:45 +0000 (17:58 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Fri, 4 Apr 2014 21:58:45 +0000 (17:58 -0400)
commit84afc66f897de1d4e470ee0a315fd72754f7da86
tree2e8dfb0bd497b0ff74619c147bbe429b14f15c39
parenta0703fefbbaf8f91e3e45414294a9344abb96a85
Add a daily statline to the home page.

Gets the following aggregate statistics about the past 24 hours:
    - the number of active players (day_active_players)
    - the number of games (day_games)
    - the total number of dm games (day_dm_games)
    - the total number of duel games (day_duel_games)
    - the total number of ctf games (day_ctf_games)

Cached by the hour, although it is not a terribly expensive query..
xonstat/templates/main_index.mako
xonstat/views/main.py