]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Fix the mobile view of the map_info page.
authorAnt Zucaro <azucaro@gmail.com>
Sat, 21 Mar 2015 00:18:21 +0000 (20:18 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sat, 21 Mar 2015 00:18:21 +0000 (20:18 -0400)
xonstat/templates/map_info.mako

index 166cb86cfcb18f804872ff8e55fd879f35a473f4..7a2d1b5fa839c2ca9d040ebd2709f290ab3574ed 100644 (file)
           <tr>
             <td class="text-center"><a class="tiny button" href="${request.route_url('game_info', id=rg.game_id)}" title="View detailed information about this game">View</a></td>
             <td class="text-center"><span class="sprite sprite-${rg.game_type_cd}" alt="${rg.game_type_cd}" title="${rg.game_type_descr}"></span></td>
-            <td><a href="${request.route_url('server_info', id=rg.server_id)}" title="Go to the detail page for this server">${rg.server_name}</a></td>
-            <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>
+            <td class="show-for-medium-up"><a href="${request.route_url('server_info', id=rg.server_id)}" title="Go to the detail page for this server">${rg.server_name}</a></td>
+            <td class="show-for-large-up"><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>
             <td class="no-stretch">
               % if rg.player_id > 2:
               <a href="${request.route_url('player_info', id=rg.player_id)}" title="Go to the player info page for this player">${rg.nick_html_colors|n}</a>