1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
3 <%namespace file="navlinks.mako" import="navlinks" />
5 <%block name="navigation">
14 <h2>Sorry, no games yet. Get playing!</h2>
19 <h3>Recent Games by ${player.nick_html_colors()|n}</h3>
24 <table class="table table-bordered table-condensed">
37 % for g in games.items:
39 <td class="tdcenter"><a class="btn btn-primary btn-small" href="${request.route_url('game_info', id=g.game_id)}" title="View detailed information about this game">view</a></td>
40 <td class="tdcenter"><img title="${g.game_type_cd}" src="/static/images/icons/24x24/${g.game_type_cd}.png" alt="${g.game_type_cd}" /></td>
41 <td>${g.server_name}</td>
42 <td>${g.map_name}</td>
45 % if g.team == g.winner:
58 <td><span class="abstime" data-epoch="${g.game_epoch}" title="${g.game_create_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${g.game_fuzzy}</span></td>
60 % if g.elo_delta is not None:
61 % if round(g.elo_delta,2) > 0:
62 <span title="Elo went up by ${round(g.elo_delta,2)}"><i class="icon-arrow-up icon-white"></i></span>
63 % elif round(g.elo_delta,2) < 0:
64 <span title="Elo went down by ${round(g.elo_delta,2)}"><i class="icon-arrow-down icon-white"></i></span>
66 <span title="Elo did not change"><i class="icon-minus icon-white"></i></span>
69 <span title="Elo did not change"><i class="icon-minus icon-white"></i></span>
79 <!-- navigation links -->
80 ${navlinks("player_game_index", games.page, games.last_page, player_id=player_id)}