1 <%inherit file="base.mako"/>
2 <%namespace name="nav" file="nav.mako" />
3 <%namespace file="navlinks.mako" import="navlinks" />
7 <link href="/static/css/sprites.css" rel="stylesheet">
10 <%block name="navigation">
21 ${game_type_descr.lower()}
24 <a href="${request.route_url('player_info', id=player.player_id)}">${player.nick_html_colors()|n}</a>. Get playing!
27 <p><a href="${player_url}">Back to player info page</a></p>
31 <div class="small-12 columns">
37 <a href="${request.route_url('player_info', id=player.player_id)}">
38 ${player.nick_html_colors()|n}
45 <div class="small-12 columns">
47 % for game in games_played:
48 % if not game.game_type_cd in ['cq']:
49 <li class="text-center tab-title
50 % if game.game_type_cd == game_type_cd or (game.game_type_cd == 'overall' and game_type_cd is None):
55 % if game.game_type_cd == 'overall':
56 <a href="${request.route_url("player_game_index", player_id=player.player_id)}" alt="${game.game_type_cd}" title="" data-toggle="none">
58 <a href="${request.route_url("player_game_index", player_id=player.player_id, _query={'type':game.game_type_cd})}" alt="${game.game_type_cd}" title="" data-toggle="none">
60 <span class="sprite sprite-${game.game_type_cd}"> </span><br />
61 ${game.game_type_cd} <br />
72 <div class="small-12 columns">
73 <table class="table-hover table-condensed">
76 <th class="small-1 text-center"></th>
77 <th class="small-1">Type</th>
78 <th class="show-for-medium-up small-3">Server</th>
79 <th class="show-for-medium-up small-3">Map</th>
80 <th class="show-for-large-up small-1">Result</th>
81 <th class="show-for-large-up small-2">Played</th>
82 <th class="show-for-large-up small-1">Elo</th>
86 % for rg in games.items:
88 <td class="text-center"><a class="button tiny" href="${request.route_url('game_info', id=rg.game_id)}" title="View detailed information about this game">view</a></td>
89 <td class="text-center"><img title="${rg.game_type_cd}" src="/static/images/icons/24x24/${rg.game_type_cd}.png" alt="${rg.game_type_cd}" /></td>
90 <td><a href="${request.route_url("server_info", id=rg.server_id)}" name="Server info page for ${rg.server_name}">${rg.server_name}</a></td>
91 <td><a href="${request.route_url("map_info", id=rg.map_id)}" name="Map info page for ${rg.map_name}">${rg.map_name}</a></td>
94 % if rg.team == rg.winner:
107 <td><span class="abstime" data-epoch="${rg.epoch}" title="${rg.start_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${rg.fuzzy_date}</span></td>
108 <td class="text-center">
109 <a href="${request.route_url('game_info', id=rg.game_id, _query={'show_elo':1})}" title="View detailed information about this game">
110 % if rg.elo_delta is not None:
111 % if round(rg.elo_delta,2) > 0:
112 <span class="eloup">+${round(rg.elo_delta,2)}</span>
113 % elif round(rg.elo_delta,2) < 0:
114 <span class="elodown">${round(rg.elo_delta,2)}</span>
116 <span class="eloneutral"><i class="fa fa-minus"></i></span>
119 <span class="eloneutral"><i class="fa fa-minus"></i></span>
131 <!-- navigation links -->
132 ${navlinks("player_game_index", games.page, games.last_page, player_id=player_id, search_query=request.GET)}