fvtt-crucible-rpg/templates/partial-actor-status.html

40 lines
1.7 KiB
HTML
Raw Normal View History

2022-07-19 23:16:03 +02:00
<ul class="status-block">
2022-08-03 09:34:33 +02:00
<li class="item flexrow list-item" data-attr-key="hp">
<span class="ability-label " name="hp">
<h4 class="ability-text-white ability-margin">HP</h4>
</span>
2022-09-13 16:10:16 +02:00
<span class="ability-label ability-margin">
<input class="input-numeric-short" name="system.secondary.hp.value" value="{{data.secondary.hp.value}}"></span>
{{#if (eq type "character")}}
<span class="ability-label ability-margin"> / {{data.secondary.hp.max}}</span>
{{else}}
<span class="ability-label ability-margin">/<input class="input-numeric-short" name="system.secondary.hp.max" value="{{data.secondary.hp.max}}"></span>
{{/if}}
2022-08-03 09:34:33 +02:00
</li>
<li class="item flexrow list-item" data-attr-key="hp">
<span class="ability-label " name="hp">
<h4 class="ability-text-white ability-margin">Effort</h4>
</span>
2022-09-13 16:10:16 +02:00
<span class="ability-label ability-margin">
<input class="input-numeric-short" name="system.secondary.effort.value" value="{{data.secondary.effort.value}}"></span>
{{#if (eq type "character")}}
2022-08-03 09:34:33 +02:00
<span class="ability-label ability-margin"> / {{data.secondary.effort.max}}</span>
2022-09-13 16:10:16 +02:00
{{else}}
<span class="ability-label ability-margin">/<input class="input-numeric-short" name="system.secondary.effort.max" value="{{data.secondary.effort.max}}"></span>
{{/if}}
2022-08-03 09:34:33 +02:00
</li>
2022-07-19 23:16:03 +02:00
2022-08-03 09:34:33 +02:00
<li>&nbsp;</li>
{{#each saveRolls as |save key|}}
<li class="item flexrow list-item" data-attr-key="{{key}}">
2022-08-04 10:25:40 +02:00
<img class="sheet-competence-img" src="{{save.img}}" />
<span class="ability-label" name="{{key}}">
<h4 class="ability-text-white ability-margin">
<a class="roll-save ability-margin" data-save-key="{{key}}">{{save.label}} {{save.value}}</a></h4>
2022-08-03 09:34:33 +02:00
</span>
</li>
{{/each}}
<ul>
2022-07-19 23:16:03 +02:00