mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-01 19:36:57 -05:00
22 lines
531 B
Text
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
|
|
|
|
|