]> de.git.xonotic.org Git - xonotic/xonstat.git/commit
Make pagination a GET parameter, not part of the URL.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 14 May 2012 20:55:51 +0000 (16:55 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 14 May 2012 20:55:51 +0000 (16:55 -0400)
commitd1860bce8a2558a38b1fd2c98a29a330fd60aac7
tree8813611105e7ce748079879ab7d47adceb1317d7
parente9b213f84ab181e31989888c1a14bebe5ec10fa0
Make pagination a GET parameter, not part of the URL.

It was not the best idea to add the 'page' displayed to be an actual
part of the URL. It should be a GET parameter instead, which jives
a little better with my understanding of REST-like resources. This
changes all paginated views to use a GET parameter and also limits
results returned to 10 per page for performance and viewability
reasons.
xonstat/templates/game_index.mako
xonstat/templates/map_index.mako
xonstat/templates/navlinks.mako
xonstat/templates/player_index.mako
xonstat/templates/search.mako
xonstat/templates/server_index.mako
xonstat/views/game.py
xonstat/views/map.py
xonstat/views/player.py
xonstat/views/search.py
xonstat/views/server.py