52 lines
1.9 KiB
HTML
52 lines
1.9 KiB
HTML
<div id="character-{{_id}}-attributes" class="attributes">
|
|
|
|
{{#each system.attributes as |attribute attribute_name|}}
|
|
|
|
<div id="character-{{../_id}}-attributes-{{attribute_name}}" class="attribute">
|
|
<div id="character-{{../_id}}-attributes-{{attribute_name}}-title" class="attributes-exp">
|
|
<div class="stripe">
|
|
<a class="attribute-label roll-die-attribute rollable-text" data-roll-attribute="{{attribute_name}}">{{localize (concat attribute.label 'Short')}}</a>
|
|
</div>
|
|
<div class="stripe-tooth-body">
|
|
{{#multiboxes attribute.exp}}
|
|
|
|
<label
|
|
for="{{../_id}}-{{attribute_name}}-exp-0"><i
|
|
class="fab fa-creative-commons-zero nullifier"></i></label>
|
|
<input type="radio" id="{{../_id}}-{{attribute_name}}-exp-0"
|
|
name="system.attributes.{{attribute_name}}.exp" value="0" checked="checked">
|
|
{{#times_from_1 6}}
|
|
<input type="radio" id="{{../../_id}}-{{attribute_name}}-exp-{{this}}"
|
|
name="system.attributes.{{attribute_name}}.exp" value="{{this}}">
|
|
<label for="{{../../_id}}-{{attribute_name}}-exp-{{this}}"></label>
|
|
{{/times_from_1}}
|
|
{{/multiboxes}}
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- Skills --}}
|
|
|
|
{{#each attribute.skills as |skill skill_name|}}
|
|
|
|
<div class="flex-horizontal">
|
|
<div class="attributes-container">
|
|
|
|
{{#multiboxes skill.value}}
|
|
|
|
{{#times_from_0 skill.max}}
|
|
<input type="radio" id="attributes-{{../../../_id}}-{{skill_name}}-{{this}}"
|
|
name="system.attributes.{{attribute_name}}.skills.{{skill_name}}.value" value="{{this}}">
|
|
<label for="attributes-{{../../../_id}}-{{skill_name}}-{{this}}"></label>
|
|
{{/times_from_0}}
|
|
|
|
<div class="attribute-skill-label roll-die-attribute rollable-text" data-roll-attribute="{{skill_name}}">{{localize skill.label}}</div>
|
|
{{/multiboxes}}
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
|
|
</div>
|
|
{{/each}}
|
|
|
|
|
|
</div>
|