<h2>Sorry, that map wasn't found!</h2>
% else:
-<div class="row">
- <div class="span12">
- <h2>${gmap.name}</h2>
-
- <h3>Recent Games</h3>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Game #</th>
- <th>Type</th>
- <th>Time</th>
- <th>Winner</th>
- </tr>
- </thead>
- <tbody>
- % for (game, srv, map, pgstat) in recent_games:
- % if game != '-':
- <tr>
- <td><a href="${request.route_url('game_info', id=game.game_id)}" title="View detailed information about this game">${game.game_id}</a></td>
- <td class="gt_icon"><img title="${game.game_type_cd}" src="/static/images/icons/24x24/${game.game_type_cd}.png" alt="${game.game_type_cd}" /></td>
- <td>${game.start_dt.strftime('%m/%d/%Y %H:%M')}</td>
- <td>
- % if pgstat.player_id > 2:
- <a href="${request.route_url('player_info', id=pgstat.player_id)}" title="Go to the player info page for this player">${pgstat.nick_html_colors()|n}</a>
- </td>
- % else:
- ${pgstat.nick_html_colors()|n}
- </td>
- % endif
- </tr>
- % else:
- <tr>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- </tr>
- % endif
- % endfor
- </tbody>
- </table>
- </div>
-</div>
-
-
+<h2>${gmap.name}</h2>
+<p>
+ Added on ${gmap.create_dt.strftime('%m/%d/%Y at %H:%M')}
+</p>
<div class="row">
<div class="span4">
<h3>Top Scoring Players</h3>
</tbody>
</table>
</div>
-
</div> <!-- /row -->
+
+<div class="row">
+ <div class="span12">
+ <h3>Recent Games</h3>
+ <table class="table table-bordered table-condensed">
+ <thead>
+ <tr>
+ <th></th>
+ <th>Type</th>
+ <th>Time</th>
+ <th>Winner</th>
+ </tr>
+ </thead>
+ <tbody>
+ % for (game, srv, map, pgstat) in recent_games:
+ % if game != '-':
+ <tr>
+ <td><a class="btn btn-primary btn-small" href="${request.route_url('game_info', id=game.game_id)}" title="View detailed information about this game">View</a></td>
+ <td class="gt_icon"><img title="${game.game_type_cd}" src="/static/images/icons/24x24/${game.game_type_cd}.png" alt="${game.game_type_cd}" /></td>
+ <td>${game.start_dt.strftime('%m/%d/%Y %H:%M')}</td>
+ <td>
+ % if pgstat.player_id > 2:
+ <a href="${request.route_url('player_info', id=pgstat.player_id)}" title="Go to the player info page for this player">${pgstat.nick_html_colors()|n}</a>
+ </td>
+ % else:
+ ${pgstat.nick_html_colors()|n}
+ </td>
+ % endif
+ </tr>
+ % else:
+ <tr>
+ <td>-</td>
+ <td>-</td>
+ <td>-</td>
+ <td>-</td>
+ </tr>
+ % endif
+ % endfor
+ </tbody>
+ </table>
+ </div>
+</div>
+
+
% endif
% if result_type == "game":
<table>
<tr>
- <th>Game ID</th>
+ <th></th>
<th>Map</th>
<th>Server</th>
<th>Played On</th>
</tr>
% for (game, server, gmap) in results:
<tr>
- <td><a href="${request.route_url("game_info", id=game.game_id)}" name="Game info page for game #${game.game_id}">${game.game_id}</a></td>
+ <td><a class="btn btn-primary btn-small" href="${request.route_url("game_info", id=game.game_id)}" name="Game info page for game #${game.game_id}">View</a></td>
<td><a href="${request.route_url("map_info", id=gmap.map_id)}" name="Map info page for map #${gmap.map_id}">${gmap.name}</a></td>
<td><a href="${request.route_url("server_info", id=server.server_id)}" name="Server info page for server #${server.server_id}">${server.name}</a></td>
<td>${game.create_dt.strftime('%m/%d/%Y at %I:%M %p')}</td>
<p>
IP Address: ${server.ip_addr} <br />
Revision: ${server.revision} <br />
- Created: ${server.create_dt.strftime('%m/%d/%Y at %I:%M %p')} <br />
+ Added on ${server.create_dt.strftime('%m/%d/%Y at %I:%M %p')} <br />
</p>
</div>
</div>
-<div class="row">
- <div class="span12">
- <h3>Recent Games</h2>
- <table class="table table-bordered table-condensed">
- <thead>
- <tr>
- <th>Game #</th>
- <th>Type</th>
- <th>Map</th>
- <th>Time</th>
- <th>Winner</th>
- </tr>
- </thead>
- <tbody>
- % for (game, srv, map, pgstat) in recent_games:
- % if game != '-':
- <tr>
- <td><a href="${request.route_url('game_info', id=game.game_id)}" title="View detailed information about this game">${game.game_id}</a></td>
- <td class="gt_icon"><img title="${game.game_type_cd}" src="/static/images/icons/24x24/${game.game_type_cd}.png" alt="${game.game_type_cd}" /></td>
- <td><a href="${request.route_url('map_info', id=map.map_id)}" title="Go to the map detail page for this map">${map.name}</a></td>
- <td>${game.start_dt.strftime('%m/%d/%Y %H:%M')}</td>
- <td>
- % if pgstat.player_id > 2:
- <a href="${request.route_url('player_info', id=pgstat.player_id)}" title="Go to the player info page for this player">${pgstat.nick_html_colors()|n}</a>
- </td>
- % else:
- ${pgstat.nick_html_colors()|n}
- </td>
- % endif
- </tr>
- % else:
- <tr>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- </tr>
- % endif
- % endfor
- </tbody>
- </table>
- </div>
-</div>
-
-
<div class="row">
<div class="span4">
<h3>Top Scoring Players</h3>
</div> <!-- /row -->
+
+
+<div class="row">
+ <div class="span12">
+ <h3>Recent Games</h2>
+ <table class="table table-bordered table-condensed">
+ <thead>
+ <tr>
+ <th></th>
+ <th>Type</th>
+ <th>Map</th>
+ <th>Time</th>
+ <th>Winner</th>
+ </tr>
+ </thead>
+ <tbody>
+ % for (game, srv, map, pgstat) in recent_games:
+ % if game != '-':
+ <tr>
+ <td><a class="btn btn-primary btn-small" href="${request.route_url('game_info', id=game.game_id)}" title="View detailed information about this game">View</a></td>
+ <td class="gt_icon"><img title="${game.game_type_cd}" src="/static/images/icons/24x24/${game.game_type_cd}.png" alt="${game.game_type_cd}" /></td>
+ <td><a href="${request.route_url('map_info', id=map.map_id)}" title="Go to the map detail page for this map">${map.name}</a></td>
+ <td>${game.start_dt.strftime('%m/%d/%Y %H:%M')}</td>
+ <td>
+ % if pgstat.player_id > 2:
+ <a href="${request.route_url('player_info', id=pgstat.player_id)}" title="Go to the player info page for this player">${pgstat.nick_html_colors()|n}</a>
+ </td>
+ % else:
+ ${pgstat.nick_html_colors()|n}
+ </td>
+ % endif
+ </tr>
+ % else:
+ <tr>
+ <td>-</td>
+ <td>-</td>
+ <td>-</td>
+ <td>-</td>
+ <td>-</td>
+ </tr>
+ % endif
+ % endfor
+ </tbody>
+ </table>
+ </div>
+</div>
+
+
% endif