<%inherit file="base.mako"/> <%namespace name="nav" file="nav.mako" /> <%block name="navigation"> ${nav.nav('servers')} <%block name="title"> % if server: Server Information % endif <%block name="css"> ${parent.css()} % 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
<% i = 1 %> % for (score_player_id, score_nick, score_value) in top_scorers: % if score_player_id != '-': % else: % endif <% i = i+1 %> % endfor
# Nick Score
${i}${score_nick|n}${score_nick}${score_value}
Most Active Players
<% i = 1 %> % for (player_id, nick, alivetime) in top_players: % if player_id != '-': % else: % endif <% i = i+1 %> % endfor
# Nick Play Time
${i}${nick|n}${nick}${alivetime}
Most Active Maps
<% i = 1 %> % for (map_id, name, count) in top_maps: % if map_id != '-': % else: % endif <% i = i+1 %> % endfor
# Map # Games
${i}${name}${name}${count}
*Most active stats are from the past 7 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

More...

% endif % endif