mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
31 lines
No EOL
1.6 KiB
Handlebars
31 lines
No EOL
1.6 KiB
Handlebars
<fieldset class="left-main-container">
|
|
<legend class="legend">{{localize "Defense"}}</legend>
|
|
|
|
<div class="defense-row">
|
|
<div class="defense-section">
|
|
<div class="defense-container">
|
|
<div class="defense-value">{{document.system.evasion}}</div>
|
|
<img src="systems/daggerheart/assets/AttributeShield.svg" />
|
|
<div class="defense-banner">{{localize "DAGGERHEART.Sheets.PC.Defense.Evasion"}}</div>
|
|
</div>
|
|
</div>
|
|
<div class="vertical-separator" style="height: 84px; align-self: baseline; margin-right: 8px;"></div>
|
|
<div class="defense-section armor">
|
|
<div class="defense-container">
|
|
<div class="defense-value">{{#if document.system.armor.system.baseScore}}{{document.system.armor.system.baseScore}}{{else}}0{{/if}}</div>
|
|
<img src="systems/daggerheart/assets/AttributeShield.svg" />
|
|
<div class="defense-banner">{{localize "DAGGERHEART.Sheets.PC.Defense.Armor"}}</div>
|
|
</div>
|
|
<div class="armor-marks">
|
|
{{#times (subtract 12 document.system.armorMarks.max)}}
|
|
<input class="mark disabled-mark" type="checkbox" disabled />
|
|
{{/times}}
|
|
{{#times document.system.armorMarks.max}}
|
|
{{#with (add this 1)}}
|
|
<input class="mark" type="checkbox" data-action="toggleMarks" data-value="{{this}}" {{ checked (gte ../../document.system.armor.system.marks.value this) }} />
|
|
{{/with}}
|
|
{{/times}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset> |