dota2-radiant
Version:
Radiant: a small little library/framework for building awesome apps backed by the Dota 2 WebAPI. Utilizes Node with Express
21 lines (19 loc) • 862 B
HTML
{{#matches}}
<div class="match">
<p class="match-header">Match <a href="/match/{{match_id}}">{{match_id}}</a> | Start Time {{start_time}}</p>
<div class="radiant clearfix">
{{#radiant}}
<a href="http://dotabuff.com/heroes/{{hero.slug}}" class="player-slot player-slot-{{player_slot}}">
<img src="/images/heroes/{{hero.clean_name}}_s.png" title="{{hero.localized_name}}">
</a>
{{/radiant}}
</div>
<div class="dire clearfix">
{{#dire}}
<a href="http://dotabuff.com/heroes/{{hero.slug}}" class="player-slot player-slot-{{player_slot}}">
<img src="/images/heroes/{{hero.clean_name}}_s.png" title="{{hero.localized_name}}">
</a>
{{/dire}}
</div>
</div>
{{/matches}}