mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-19 20:13:27 +02:00
Add outfit to highscores box in tibiacom template
This commit is contained in:
@@ -45,9 +45,13 @@
|
||||
<div class="top_level" style="background:url({{ template_path }}/images/themeboxes/bg_top.png)" align=" ">
|
||||
{% for player in topPlayers %}
|
||||
<div style="text-align:left"><a href="{{ getPlayerLink(player['name'], false) }} " class="topfont {% if player['online'] %}online{% else %}offline{% endif %}">
|
||||
<span style="color: #CCC"> {{ player['rank'] }} - </span>{{ player['name'] }}
|
||||
{% if config.online_outfit %}
|
||||
<img style="position:absolute;margin-top:{% if player.looktype in [75, 266, 302] %}-20px;margin-left:-0px;{% else %}-45px;margin-left:-25px;{% endif %}" src="{{ player.outfit }}" alt="player outfit"/>
|
||||
{% endif %}
|
||||
<span style="color: #CCC; margin-left: 40px">{{ player['rank'] }} - </span>
|
||||
{{ player['name'] }}
|
||||
<br>
|
||||
<small><span style="color: white"> Level: ({{ player['level'] }})</span></small>
|
||||
<small><span style="color: white; margin-left: 50px">Level: ({{ player['level'] }})</span></small>
|
||||
<br>
|
||||
</a>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user