]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/rank_index.mako
Merge branch 'master' into zykure/approved
[xonotic/xonstat.git] / xonstat / templates / rank_index.mako
index e501aa71f5a13d46a526718236b22e1da19a6c0d..809a1640c975dd8ea1dc66b9a707ec6483371238 100644 (file)
@@ -21,16 +21,16 @@ Capture The Flag Rank Index
     % else:
     <table id="rank-index-table" class="table table-hover table-condensed" border="1">
       <tr>
-        <th>Rank</th>
-        <th>Nick</th>
-        <th>Elo</th>
+        <th style="width:40px;">Rank</th>
+        <th style="width:420px;">Nick</th>
+        <th style="width:90px;">Elo</th>
       </tr>
       <% i = 1 %>
       % for rank in ranks:
       <tr>
         <td>${rank.rank}</td>
-        <td class="player-nick"><a href="${request.route_url("player_info", id=rank.player_id)}" title="Go to this player's info page">${rank.nick_html_colors()|n}</a></th>
-        <td>${round(rank.elo, 3)}</th>
+        <td class="nostretch" style="max-width:420px;"><a href="${request.route_url("player_info", id=rank.player_id)}" title="Go to this player's info page">${rank.nick_html_colors()|n}</a></th>
+        <td>${int(round(rank.elo))}</th>
       </tr>
       <% i += 1 %>
       % endfor