<%inherit file="base.mako"/> <%namespace name="nav" file="nav.mako" /> <%block name="navigation"> ${nav.nav('servers')} <%block name="title"> % if server: Server Information % endif <%def name="empty_rows(list, max_empty_rows)"> % for i in range(max_empty_rows - len(list)): - - - % endfor % if server is None:

Sorry, that server wasn't found!

% else:

${server.name}

IP Address: % if server.port is not None: ${server.ip_addr}:${server.port} % else: ${server.ip_addr} % endif
Revision: ${server.revision}
Added ${server.fuzzy_date()}

Top Scoring Players
% for ts in top_scorers: % endfor ${empty_rows(top_scorers, 10)}
# Nick Score
${ts.rank} ${ts.nick|n} ${ts.total_score}
Most Active Players
% for tp in top_players: % endfor ${empty_rows(top_players, 10)}
# Nick Time
${tp.rank} ${tp.nick|n} ${tp.alivetime}
Most Active Maps
% for tm in top_maps: % endfor ${empty_rows(top_maps, 10)}
# Map Games
${tm.rank} ${tm.name} ${tm.times_played}
*Most active stats are from the past ${lifetime} days
% if len(recent_games) > 0:
Most Recent Games
% for rg in recent_games: % endfor
Type Map Time Winner
View ${rg.map_name} ${rg.fuzzy_date} % if rg.player_id > 2: ${rg.nick_html_colors|n} % else: ${rg.nick_html_colors|n} % endif
% endif % endif