From: Ant Zucaro Date: Sun, 25 Nov 2012 01:26:37 +0000 (-0500) Subject: Sprite-ify a few templates. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=942e4849a7b1a031242c952d0efe5b9880eadd81;p=xonotic%2Fxonstat.git Sprite-ify a few templates. --- diff --git a/xonstat/templates/accuracy.mako b/xonstat/templates/accuracy.mako index 46e0141..8ef282d 100644 --- a/xonstat/templates/accuracy.mako +++ b/xonstat/templates/accuracy.mako @@ -36,7 +36,7 @@ else: ## Note: the name of the image must match up with the weapon_cd ## entry of that weapon, else this won't work - + ${weapon_stat[0]} ${weapon_stat[4]} ${weapon_stat[5]} diff --git a/xonstat/templates/game_info.mako b/xonstat/templates/game_info.mako index 1c0fe39..678d612 100644 --- a/xonstat/templates/game_info.mako +++ b/xonstat/templates/game_info.mako @@ -7,8 +7,12 @@ ${nav.nav('games')} +<%block name="css"> + ${parent.css()} + + + <%block name="js"> - @@ -262,7 +267,7 @@ Player Information % for g in games_played:
  • -
    +
    ${g.game_type_cd}
    (${g.games})
    @@ -285,7 +290,7 @@ Player Information % if 'nex' in recent_weapons:
  • - +

    Nex

    @@ -295,7 +300,7 @@ Player Information % if 'rifle' in recent_weapons:
  • - +

    Rifle

    @@ -305,7 +310,7 @@ Player Information % if 'minstanex' in recent_weapons:
  • - +

    Minstanex

    @@ -315,7 +320,7 @@ Player Information % if 'uzi' in recent_weapons:
  • - +

    Uzi

    @@ -325,7 +330,7 @@ Player Information % if 'shotgun' in recent_weapons:
  • - +

    Shotgun

    @@ -351,7 +356,7 @@ Player Information % if 'rocketlauncher' in recent_weapons:
  • - +

    Rocket

    @@ -361,7 +366,7 @@ Player Information % if 'grenadelauncher' in recent_weapons:
  • - +

    Mortar

    @@ -371,7 +376,7 @@ Player Information % if 'electro' in recent_weapons:
  • - +

    Electro

    @@ -381,7 +386,7 @@ Player Information % if 'crylink' in recent_weapons:
  • - +

    Crylink

    @@ -391,7 +396,7 @@ Player Information % if 'hagar' in recent_weapons:
  • - +

    Hagar

    @@ -401,7 +406,7 @@ Player Information % if 'laser' in recent_weapons:
  • - +

    Laser

    @@ -437,7 +442,7 @@ Player Information % for (gamestat, game, server, map) in recent_games: view - ${game.game_type_cd} + ${server.name} ${map.name}