]> git.xonotic.org Git - xonotic/xonstat.git/commit
Add pagination and fuzzy date to the player_index.
authorAnt Zucaro <azucaro@gmail.com>
Wed, 7 Dec 2011 17:52:32 +0000 (12:52 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 7 Dec 2011 17:52:32 +0000 (12:52 -0500)
commitff5bb884f8c8aa96ad512f613a8d4b133d8b172a
treec2e14323b45a51823967e1044360f3d72c24d74b
parent3b2821d9d8093ba92ca6cd45b8b55cd98ba9eba0
Add pagination and fuzzy date to the player_index.

Pagination should be <first page> <previous page> <curr+1>-<curr+4>
<next page> <last page> (page <curr> of <last_page>). The pretty date is
using the same one from util.py, so we get something like "a few days
ago".
xonstat/models.py
xonstat/static/css/style.css
xonstat/templates/player_index.mako
xonstat/views/player.py