codecombat/app/templates/play/level/duel-stats-view.jade

22 lines
531 B
Text

for player in view.players
div(class="player-container team-" + player.team)
.player-portrait
.thang-avatar-placeholder
.player-info
.name-and-power
if view.showsPower
.player-power
.power-icon
.power-value
if view.showsGold
.player-gold
.gold-icon
.gold-value
.player-name= player.name || 'Anoner'
.player-health
.health-icon
.health-bar-container
.health-bar
.health-value