From f3d1c28dddecd89acc0a03b8b567ba6bba06577b Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Thu, 4 Jan 2018 16:53:55 -0500 Subject: [PATCH] Remove ranks from the front page. --- xonstat/templates/main_index.mako | 50 ------------------------------- 1 file changed, 50 deletions(-) diff --git a/xonstat/templates/main_index.mako b/xonstat/templates/main_index.mako index 321b8e1..fea048e 100644 --- a/xonstat/templates/main_index.mako +++ b/xonstat/templates/main_index.mako @@ -19,56 +19,6 @@ -##### RANKS ##### -% if len(ranks) < 4: -
-
-

You don't seem to have any ranks yet.

-
-
- -% else: -
- % for rs in ranks[:4]: - % if len(rs) > 0: -
- % if rs[0].game_type_cd == 'duel': -
Duel Ranks
- % elif rs[0].game_type_cd == 'ctf': -
CTF Ranks
- % elif rs[0].game_type_cd == 'dm': -
DM Ranks
- % elif rs[0].game_type_cd == 'tdm': -
TDM Ranks
- % endif - - - - - - - - - - - <% i = 1 %> - % for r in rs: - - - - - - <% i = i+1 %> - % endfor - -
#NickElo
${i}${r.nick_html_colors()|n}${int(round(r.elo))}
-
- % endif - - % endfor -
-% endif - ##### ACTIVE PLAYERS #####
-- 2.39.2