2018-06-05 09:20:59 +00:00
|
|
|
<style>
|
2018-12-27 22:43:07 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: "Radiance";
|
|
|
|
src: url("{{ url_for('static', filename='radiancedota.ttf') }}");
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2018-06-05 09:20:59 +00:00
|
|
|
</style>
|
2018-06-04 16:08:18 +00:00
|
|
|
<div class="game-panel">
|
|
|
|
<div class="game-grid dota">
|
|
|
|
<div class="player">
|
2018-06-13 21:32:26 +00:00
|
|
|
<a href="https://www.opendota.com/players/{{ record.steam.to_steam_id_3(record.steam.steam_id) }}">
|
2019-01-03 13:13:23 +00:00
|
|
|
<img src="{{ record.steam.avatar_url() }}" class="player-image" alt="">
|
2018-06-13 21:32:26 +00:00
|
|
|
<span class="player-name">{{ record.steam.persona_name }}</span>
|
2018-06-04 16:08:18 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
2018-06-05 08:34:59 +00:00
|
|
|
<div class="game-title wins">
|
2018-12-27 22:43:07 +00:00
|
|
|
VITTORIE
|
2018-06-04 16:08:18 +00:00
|
|
|
</div>
|
2018-06-05 08:34:59 +00:00
|
|
|
<div class="game-score wins">
|
2018-06-13 21:32:26 +00:00
|
|
|
<span>{{ record.wins }}</span>
|
2018-06-04 16:08:18 +00:00
|
|
|
</div>
|
|
|
|
<div class="rank">
|
2018-06-13 21:32:26 +00:00
|
|
|
{% if record.rank_tier is none %}
|
2019-01-03 13:13:23 +00:00
|
|
|
<img class="medal" src="https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png" alt="">
|
2018-06-04 16:53:25 +00:00
|
|
|
<span class="text">Non classificato</span>
|
2018-06-13 21:32:26 +00:00
|
|
|
{% elif record.rank_tier < 10 %}
|
2019-01-03 13:13:23 +00:00
|
|
|
<img class="medal" src="https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png" alt="">
|
2018-06-13 21:32:26 +00:00
|
|
|
<span class="text">{{ record.rank_tier }} piazzamenti completati</span>
|
2018-06-04 16:08:18 +00:00
|
|
|
{% else %}
|
2019-01-03 13:13:23 +00:00
|
|
|
<img class="medal" src="{{ record.get_rank_icon_url() }}" alt="">{% if record.get_rank_stars_url() %}<img class="stars" src="{{ record.get_rank_stars_url() }}" alt="">{% endif %}
|
2018-06-13 21:32:26 +00:00
|
|
|
<span class="text">{{ record.get_rank_name() }}[{{ record.get_rank_number() }}]</span>
|
2018-06-04 16:08:18 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-25 19:10:43 +00:00
|
|
|
</div>
|