]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/main_index.mako
Add header image, statline, and border box.
[xonotic/xonstat.git] / xonstat / templates / main_index.mako
index 91640ecaa23bd0fae9cc1adbcdfe48a0d064d034..e310f8c3bd3a88d6f83a027c68c3a405a8725fe9 100644 (file)
@@ -10,14 +10,14 @@ Leaderboard
 </%block>
 
 <%block name="hero_unit">
-      <div class="hero-unit">
+    <div class="text-center">
         <img src="/static/css/img/web_background_l2.png" />
         % if summary_stats is None:
         <p id="statline">Tracking Xonotic statistics since October 2011.</p>
         % else:
         <p id="statline">Tracking <a href="${request.route_url('player_index')}">${summary_stats.total_players}</a> players, <a href="${request.route_url('game_index')}">${summary_stats.total_games}</a> games (${summary_stats.duel_games} duel, ${summary_stats.ctf_games} ctf, ${summary_stats.dm_games} dm), and <a href="${request.route_url('server_index')}">${summary_stats.total_servers}</a> servers since October 2011.</p>
         % endif
-      </div>
+    </div>
 </%block>
 
 % if len(ranks) < 3: