BattleSim/client/views/battle_window.jade

14 lines
505 B
Plaintext

.window.battle_window(data-battle-id = battle.id)
.battle
- var numBackgrounds = 6
- var backgroundNumber = parseInt(battle.id.substr(0, 6), 16)
- backgroundNumber = (backgroundNumber % numBackgrounds)
.battle_container(class = 'battle_bg_' + backgroundNumber)
.battle_user_info
.battle_pane.clearfix
.battle_summary
.battle_overlays
.battle_actions.row-fluid.relative
.battle-controls
.chat.without_spectators.without_chat_input!= window.JST['chat']()