%inherit file="base.mako"/>
<%block name="title">
Main Page - ${parent.title()}
%block>
##### TOP PLAYERS #####
Top Players |
# |
Nick |
Score |
<% i = 1 %>
% for (player_id, nick, score) in top_players:
${i} |
% if player_id != '-':
${nick|n} |
% else:
${nick} |
% endif
${score} |
<% i = i+1 %>
% endfor
##### TOP SERVERS #####
Top Servers |
# |
Server |
Games |
<% i = 1 %>
% for (server_id, name, count) in top_servers:
${i} |
% if server_id != '-':
${name} |
% else:
${name} |
% endif
${count} |
<% i = i+1 %>
% endfor
##### TOP MAPS #####
Top Maps |
# |
Map |
Times Played |
<% i = 1 %>
% for (map_id, name, count) in top_maps:
${i} |
% if map_id != '-':
${name} |
% else:
${name} |
% endif
${count} |
<% i = i+1 %>
% endfor
##### RECENT GAMES #####
Recent Games |
Game # |
Type |
Server |
Map |
Time |
Winner |
% for (game, server, map) in recent_games:
% if game != '-':
${game.game_id} |
${game.game_type_cd} |
${server.name} |
${map.name} |
${game.start_dt.strftime('%m/%d/%Y %H:%M')} |
${game.winner} |
% else:
- |
- |
- |
- |
- |
- |
% endif
% endfor