35 lines
1.6 KiB
HTML
35 lines
1.6 KiB
HTML
<span class="flexrow">
|
|
<h4 class="ame-margin ame-subtitle">{{typedata.label}}</h4>
|
|
<div class="item-filler"> </div>
|
|
|
|
<select class="input-numeric-short padd-right status-small-label color-class-common" type="text" name="system.amestype.{{typeame}}.malus" value="{{typedata.malus}}" data-dtype="Number">
|
|
{{#select typedata.malus}}
|
|
<option value="0">0</option>
|
|
<option value="-1">-1</option>
|
|
<option value="-2">-2</option>
|
|
<option value="-3">-3</option>
|
|
{{/select}}
|
|
</select>
|
|
|
|
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
|
|
name="system.amestype.{{typeame}}.cohesion" value="{{typedata.cohesion}}" data-dtype="Number" {{#unless
|
|
@root.editScore}}disabled{{/unless}} /> /
|
|
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
|
|
name="system.amestype.{{typeame}}.cohesionmax" value="{{typedata.cohesionmax}}" data-dtype="Number" {{#unless
|
|
@root.editScore}}disabled{{/unless}}>
|
|
</span>
|
|
|
|
<ul class="ame-margin">
|
|
{{#each system.ames as |ame key|}}
|
|
{{#if (eq ame.type ../typeame)}}
|
|
<li class="ame-padding item stat flexrow item-ame-roll" data-ame-key="{{key}}">
|
|
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
|
|
name="system.ames.{{key}}.value" value="{{ame.value}}" data-dtype="Number" {{#unless
|
|
@root.editScore}}disabled{{/unless}} />
|
|
<span class="ame-label ame-margin" name="{{key}}">
|
|
<a class="roll-ame" data-ame-key="{{key}}">{{ame.label}}</a>
|
|
</span>
|
|
</li>
|
|
{{/if}}
|
|
{{/each}}
|
|
</ul> |