1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-12-18 07:34:20 +00:00
royalnet/templates/minis/dota.html

36 lines
1.8 KiB
HTML
Raw Normal View History

2018-06-05 09:20:59 +00:00
<style>
@font-face {
font-family: "Radiance";
src: url("http://cdn.dota2.com/apps/dota2/fonts/radiance.eot?#iefix") format("embedded-opentype"), url("http://cdn.dota2.com/apps/dota2/fonts/radiance.woff") format("woff"), url("http://cdn.dota2.com/apps/dota2/fonts/radiance.ttf") format("truetype"), url("http://cdn.dota2.com/apps/dota2/fonts/radiance.svg#ywftsvg") format("svg");
font-style: normal;
font-weight: normal;
}
</style>
2018-06-04 16:08:18 +00:00
<div class="game-panel">
<div class="game-grid dota">
<div class="player">
2018-06-05 08:34:59 +00:00
<a href="https://www.opendota.com/players/{{ dota.steam.to_steam_id_3(dota.steam.steam_id) }}">
2018-06-04 16:08:18 +00:00
<img src="{{ dota.steam.avatar_url() }}" class="player-image">
<span class="player-name">{{ dota.steam.persona_name }}</span>
</a>
</div>
2018-06-05 08:34:59 +00:00
<div class="game-title wins">
2018-06-04 16:08:18 +00:00
Vittorie
</div>
2018-06-05 08:34:59 +00:00
<div class="game-score wins">
2018-06-04 16:53:25 +00:00
<span>{{ dota.wins }}</span>
2018-06-04 16:08:18 +00:00
</div>
<div class="rank">
{% if dota.rank_tier is none %}
<img class="medal" src="https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png">
2018-06-04 16:53:25 +00:00
<span class="text">Non classificato</span>
2018-06-04 16:08:18 +00:00
{% elif dota.rank_tier < 10 %}
<img class="medal" src="https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png">
2018-06-04 16:53:25 +00:00
<span class="text">{{ dota.rank_tier }} piazzamenti completati</span>
2018-06-04 16:08:18 +00:00
{% else %}
<img class="medal" src="{{ dota.get_rank_icon_url() }}">{% if dota.get_rank_stars_url() %}<img class="stars" src="{{ dota.get_rank_stars_url() }}">{% endif %}
2018-06-04 16:53:25 +00:00
<span class="text">{{ dota.get_rank_name() }}[{{ dota.get_rank_number() }}]</span>
2018-06-04 16:08:18 +00:00
{% endif %}
</div>
</div>
</div>