%inherit file="base.mako"/>
<%namespace name="nav" file="nav.mako" />
<%block name="navigation">
${nav.nav('servers')}
%block>
<%block name="title">
% if server:
Server Information
% endif
%block>
<%def name="empty_rows(list, max_empty_rows)">
% for i in range(max_empty_rows - len(list)):
- |
- |
- |
% endfor
%def>
% 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
# |
Nick |
Score |
% for ts in top_scorers:
${ts.rank} |
${ts.nick|n} |
${ts.total_score} |
% endfor
${empty_rows(top_scorers, 10)}
Most Active Players
# |
Nick |
Time |
% for tp in top_players:
${tp.rank} |
${tp.nick|n} |
${tp.alivetime} |
% endfor
${empty_rows(top_players, 10)}
Most Active Maps
# |
Map |
Games |
% for tm in top_maps:
${tm.rank} |
${tm.name} |
${tm.times_played} |
% endfor
${empty_rows(top_maps, 10)}
*Most active stats are from the past ${lifetime} days
% if len(recent_games) > 0:
% endif
% endif