1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-23 19:36:53 +00:00
not-gwent-online/client/templates/battle.handlebars
2015-07-04 10:44:42 +02:00

82 lines
2.6 KiB
Handlebars

{{#if isWaiting}}
<div class="col-xs-12">
<div class="waiting-for-opponent">
~~ Waiting for opponent ~~
</div>
</div>
{{/if}}
<div class="col-xs-3 left-side">
<div class="col-xs-12 game-info game-info-foe foe">
</div>
<div class="col-xs-12 field field-weather">
field
</div>
<div class="col-xs-12 game-info game-info-player player">
</div>
</div>
<div class="col-xs-6">
<div class="row">
<div class="col-xs-12 battleside battleside-foe foe">
<div class="col-xs-2 field-horn field-horn-siege">
</div>
<div class="col-xs-10 field">
<div class="col-xs-1 large-field-counter">0</div>
<div class="col-xs-11 field-siege"></div>
</div>
<div class="col-xs-2 field-horn field-horn-range">
</div>
<div class="col-xs-10 field">
<div class="col-xs-1 large-field-counter">0</div>
<div class="col-xs-11 field-range"></div>
</div>
<div class="col-xs-2 field-horn field-horn-close">
</div>
<div class="col-xs-10 field">
<div class="col-xs-1 large-field-counter">0</div>
<div class="col-xs-11 field-close"></div>
</div>
</div>
<div class="col-xs-12 mid-line"></div>
<div class="col-xs-12 battleside battleside-player player">
<div class="col-xs-2 field-horn field-horn-close">
</div>
<div class="col-xs-10 field{{#if active.close}} active{{/if}}">
<div class="col-xs-1 large-field-counter">0</div>
<div class="col-xs-11 field-close"></div>
</div>
<div class="col-xs-2 field-horn field-horn-range">
</div>
<div class="col-xs-10 field{{#if active.range}} active{{/if}}">
<div class="col-xs-1 large-field-counter">0</div>
<div class="col-xs-11 field-range"></div>
</div>
<div class="col-xs-2 field-horn field-horn-siege">
</div>
<div class="col-xs-10 field{{#if active.siege}} active{{/if}}">
<div class="col-xs-1 large-field-counter">0</div>
<div class="col-xs-11 field-siege"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 field field-hand {{#if isWaiting}}{{else}}active{{/if}}">
{{#each cards as |val key|}}
{{>card val}}
{{/each}}
</div>
</div>
</div>
<div class="col-xs-3">
<div class="col-xs-12 card-preview">
</div>
<div class="col-xs-12 right-side right-side-foe foe">
<div class="col-xs-8 field-discard field-single">
discard deck
</div>
</div>
<div class="col-xs-12 right-side right-side-player player">
<div class="col-xs-8 field-discard field-single">
discard deck
</div>
</div>
</div>